check_command instant feedback

Matt Nelson matt at frozenatom.com
Mon Apr 6 18:43:49 CEST 2009


Hello, I'd like to be able to run a check_command from the command line and
have it return feedback immediately (versus a forced-check from the webui).
Is this possible?  The reason for this is that I'm trying to throw together
a simple web interface and when the user clicks 'recheck' a window will pop
up with the results of that particular service's check_command.

I thought about parsing the commands.cfg file for the command and then
looping through the $ARGX$ fields and plugging in the correct values - but
this seems extremely complicated (what with dealing with commands with
variable-length fields, user macros, etc.).

Any help is appreciated,

Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090406/229fa9e9/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list