pull status data periodically and issue commands to nagios
Posted: Tue Jul 10, 2012 7:29 am
Hi all,
i have been working with nagios core for few weeks and i need to get status data (preferred in XML format) for another tool. i have came across few ways of doing that
1. Using Nagios XML engine and pulling status.dat and communication (but it seems to be not efficient pulling a such a large file and nxe seems to be outdated, as i noticed it is lack of documentation also)
2. Using nagios to write perfdata.log and pushing those data by executing a command given to nagios command.cfg.
above ways are seem to be not sufficient for my requirement.
the suggested tool is we are going to use is basically for provide status data and perfomance data in timely manner
(like Nagiosgraph http://nagiosgraph.sourceforge.net/ ).
so i need to
1. pull the status data from nagios core
2. and give commands to nagios core (like rescheduling service checks).
so can you suggest away for add this layer between nagios core and my 3rd party tool.
thanks in advance.
Rajith
i have been working with nagios core for few weeks and i need to get status data (preferred in XML format) for another tool. i have came across few ways of doing that
1. Using Nagios XML engine and pulling status.dat and communication (but it seems to be not efficient pulling a such a large file and nxe seems to be outdated, as i noticed it is lack of documentation also)
2. Using nagios to write perfdata.log and pushing those data by executing a command given to nagios command.cfg.
above ways are seem to be not sufficient for my requirement.
the suggested tool is we are going to use is basically for provide status data and perfomance data in timely manner
(like Nagiosgraph http://nagiosgraph.sourceforge.net/ ).
so i need to
1. pull the status data from nagios core
2. and give commands to nagios core (like rescheduling service checks).
so can you suggest away for add this layer between nagios core and my 3rd party tool.
thanks in advance.
Rajith