[Nagios-devel] Host Discovery Script

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Host Discovery Script

Post by Guest »

Greetings. I have completed a majority of my work on a Perl script that has a
purpose of performing a discovery on a host to develop a set of service
definitions. It parses your cfg files to put together a set of all your
configured check commands to run against the host that you specify. I'm down
to the part where I need to get the return code value from the check command
when it executes. I want to be able to give the check command its time to run
and grab the result. If the result is OK then add this service check to the
output cfg file. I've read through the Perl documentation and couldn't find a
good bit of sample code to help with this (or didn't really understand what I
was reading). Can anyone help with this?

Thank you,
Rick Glover







This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked