pull status data periodically and issue commands to nagios

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
rajith
Posts: 2
Joined: Tue Jul 10, 2012 6:48 am

pull status data periodically and issue commands to nagios

Post by rajith »

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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: pull status data periodically and issue commands to nagi

Post by mguthrie »

I would look at mk_livestatus. This seems to be the tool of choice for larger operations.

http://mathias-kettner.de/checkmk_livestatus.html
rajith
Posts: 2
Joined: Tue Jul 10, 2012 6:48 am

Re: pull status data periodically and issue commands to nagi

Post by rajith »

Thanks M.
It seems this would do what i want.
Locked