check_command instant feedback
Matt Nelson
matt at frozenatom.com
Thu Apr 2 16:21:12 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/20090402/15111688/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
-------------- 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