Announcement

Collapse
No announcement yet.

Integration of a script to check_host_alive

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Integration of a script to check_host_alive

    Hello,

    I want to "include" to the check_host_alive script a perl script. This should look like following:

    If the <hostname> is detected as completly down from check_host_alive, it should simply call a perl script with the <hostname> as argument.
    Now the problem is, that check_ping in /usr/lib/nagios/plugins is binary.

    So how could I integrate this or does anyone know a better way and how to do?

    Thanks and regards,
    Patrick

  • #2
    create a perl script who do what you want and call check_host_alive and return the exit code of check_host_alive
    Intel(R) Xeon(TM) CPU 3.4GHz - MemTotal : 1034476 kB
    Centreon 2.4.1 - Nagios 3.2.1 - Nagios Plugins 1.4.15 - Manubulon Plugins tuné
    Fedora Core 5 - 2.6.20-1.2320

    Comment

    Working...
    X