Welcome to Pandora FMS Community!

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

  • Alerts & Plugins

    Posted by Mumble on February 20, 2009 at 09:14

    Hello,

    I keep reading the online manuals over and over again and I’m still not getting anywhere. I’ve configured Pandora and set up remote_tcp_proc’s to monitor services for all of my systems and it’s working great. The part I’m having trouble with is configuring the alert system to send me an e-mail when one of those services fails. I’ve created a new alert which sends through my pandora systems sendmail perfectly; but every time I create a simple alert and assign it to one of the remote_tcp_proc modules it starts sending the alerts without the modules actually going down. How do you setup an alert to send an email when the remote_tcp_proc returns 0 instead of 1?

    Also, I was writing some plugins to use following the online manuals and even using the plugins that came with the initial install of pandora. I used the udp_nmap_plugin.sh and configured it exactly as shown in the online reference and it doesn’t seem to work, it just lists that module as “Module not Init”. I was wondering if there was a place I’m missing that goes more thoroughly over creating plugins.

    Thanks!

    daniels replied 16 years ago 2 Members · 1 Reply
  • 1 Reply
  • daniels

    Member
    February 20, 2009 at 12:59
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi Mumble,

    To get the alert working, just set the min and max value to 1. This way, when the value drops to 0, it will be below the minimum configured and will fire the alert. Remember that the tcp checks are made from the server. So, you need to wait until a refresh or force it clicking in the green button.

    I’m not using plugins to help you with this, but make sure that the plugin server is started and configured in the manage agent. (I’m assuming you are using the last 2.0 pandora FMS version).

    Regards