Welcome to Pandora FMS Community!

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

  • return codes

    Posted by francisco-lima on February 4, 2009 at 08:56

    Hello,
    What are the return codes (numericals) for the monitors (OK,BAD,etc)? They must being returned using “echo” or “exit” in plugins?

    thanks,
    Francisco

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

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

    They have to be 0 (bad) or 1(OK) in case you want them to be proc-monitors (proc are boolean modules, 0 or 1).
    They can return any number if they mean something to you (generic_data in this case)