Writing to Nagios.cmd

Radcliffe, Jerome (ISS Southfield) JRadcliffe at iss.net
Fri Jul 16 18:15:19 CEST 2004


Hello, 

I am trying to have a shell script insert service comments and was
wondering if anyone has done this type of thing before. 

Something like : 
echo "ADD_SVC_COMMENT;hostname1;Warnings;1;admin;Comment_Test" >>
nagios.cmd

Would that work or is it more complicated then that. 

Thanks, 
Jerome



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
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