Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

  • email with [RECOVERED]

    Posted by yduma on junio 23, 2008 at 18:20

    I create some alert.
    Everything was good but few days ago I received letters with [RECOVERED ] in subject and [ALERT CEASED – RECOVERED] in text. But I don’t create this alert’s.

    How can I delete them?

    Jorge replied 1 year, 5 months ago 5 Members · 26 Replies
  • 26 Replies
  • Sancho

    Administrator
    junio 24, 2008 at 01:32
    2229 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    I create some alert.
    Everything was good but few days ago I received letters with [RECOVERED ] in subject and [ALERT CEASED – RECOVERED] in text. But I don’t create this alert’s.

    How can I delete them?

    That alerts are generated when an alert condicion are “freed”. You can disable it globaly in pandora_server.conf, take a look to file.

  • yduma

    Member
    julio 14, 2008 at 04:41
    2 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    In new pandora server I create some alert’s and put condicion in pansora_server.conf
    So in pandora Web-console I see, that event Alert ceased – Recovered was… but I don’t receive any letter.
    can you tell me what problem is in Pandora?
    Thank’s

  • manu

    Member
    julio 14, 2008 at 05:16
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    You have to enable the “Alert Recovery” in each created alert in the webconsole.

  • yduma

    Member
    julio 14, 2008 at 10:27
    2 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I don’t see this field in Alert?
    Where I can find it?

  • manu

    Member
    julio 17, 2008 at 09:16
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    It’s in the development 2.0 version, not in the 1.3.1 one, so if you’re using 1.3.1 you don’t have it.

  • yduma

    Member
    julio 18, 2008 at 03:35
    2 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    But
    I have two Pandora server’s v. 1.3.1
    On first it work’s very good ( I receive letter when down and up), on second – I see in event tab that Alert ceased – Recovered but don’t receive any letter.

  • raul

    Member
    julio 18, 2008 at 04:11
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Review configuration, if it works on the first one has no sense not to work on the second one.

  • yduma

    Member
    julio 24, 2008 at 08:20
    2 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I copy pandora_server.conf from first server to second… and the same…
    Please HELP!!!!

  • raul

    Member
    julio 24, 2008 at 08:26
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    It should not be a pandora_server.conf issue. YOU MUST review the complete configuration in the console (information is stored in the database, not in a file), if we don’t have more details about the configuration (as screenshots) I don’t know what to do, YOU have access to your configuration and databases, so YOU should review anything related with the alert configuration.

    Regards,
    Raul

  • yduma

    Member
    julio 24, 2008 at 10:01
    2 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Configuration of what? of some alert?
    In database – where is information stored about – RECOVERED ?
    thank you VERY MUCH!

  • Sancho

    Administrator
    julio 24, 2008 at 10:51
    2229 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Seems to be a problem with SMTP relay. Try to send a normal email alert first. Could be a weird character in some of the mail fields ?

  • yduma

    Member
    julio 24, 2008 at 12:23
    2 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I receive emeil like – some module is down…. Every time that it happens….
    I try to send letter using some bash scripts like

    #!/bin/bash
    FIELD3=”Letter text”
    FIELD2=”RECOVERED – MONITOR is DOWN”
    FIELD1=”[email protected]

    echo $FIELD3 | mail $FIELD2 $FIELD1

    and I receive letter (but I think mail don’t like when subject is more than 1 word).
    so – with sending letter I think everythink is good.

    I also change alert_recovery to “0” in pandora_server.conf ….restart pandora, chenge alert_recovery to “1” and also restart pandora ( server, recon, network, snmpconsole).

    Can it be that pandora takes alert_recovery value not only from pandora_server.conf???
    Or there is some problem in mail service (because I see that pandora make event – alert -caused – RECOVED)?
    maybe if I change server log verbosity to max (10) it will gives me sone news?
    Thank you!

  • Sancho

    Administrator
    julio 24, 2008 at 13:23
    2229 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Seems to be a problem on SMTP because it actually generate event. You have two servers, and in the first server everything works OK but in the second, recovery dont work.

    In the second server do you have exactly the same setup that in first server ?

    The software configuration (OS, packages, versions) are the same in the two server ?

    Both servers has the same name ?

    Have you changed the alert definition for email ?

    Second server send mails for first step of alert (XXX is down) but don’t send you the second mail (Recovered XXX) ?

  • yduma

    Member
    julio 25, 2008 at 01:41
    2 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    The same OS.
    I think pandora v.1.3.1 – on second, and pandora v1.3 on first.
    Both servers have different names.
    Alert definition is the same (echo _field3_ _timestamp_ | mail -s _field2_ _field1_)
    YES! I send me only when XXX down… but don’t send RECOVERED.

    I receive first email…. but don’t receive second.
    And In postfix_log I see that first email was send… and nothing about second.

  • Sancho

    Administrator
    julio 26, 2008 at 14:20
    2229 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    That’s it. Pandora FMS 1.3 don’t have the 1.3.1 option to send mails on recovery. You need to upgrade to 1.3.1

  • yduma

    Member
    julio 28, 2008 at 01:43
    2 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Where I can see pandora version?
    I think on that server, that don’t send me emeil when alert recovered I install last stable version (1.3.1).

  • Sancho

    Administrator
    julio 28, 2008 at 04:43
    2229 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    You can see in the server view, under operation menu,

  • yduma

    Member
    julio 28, 2008 at 06:46
    2 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    The same is in both pandora server’s
    Pandora FMS v1.3 Build PC071012
    is a Free Software Project, licensed under GPL terms

  • Sancho

    Administrator
    julio 28, 2008 at 14:43
    2229 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Are you sure that you’re running a 1.3 version. This version DONT have alert recovery notification!.

  • yduma

    Member
    julio 29, 2008 at 02:59
    2 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Yes…. Finally I find that I use pandora v1.3 on server…
    I try to upgrate – doing next – install PandoraFMS_server-1.3.1-SLE10.rpm and PandoraFMS_Console-1.3.1-SLE10.rpm , export my sql database….. run http://localhost/install.php install pandora ( create new database…. add pass for mysql…) and after import that database… but the version is the same – did I miss something or made some mistakes?

Page 1 of 2