Writing to Nagios.cmd

Wheeler, MG MG at ev3.net
Fri Jul 16 22:10:47 CEST 2004


What would be the correct format to add Host Comments??

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jason
Martin
Sent: Friday, July 16, 2004 11:45 AM
To: Nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Writing to Nagios.cmd


On Fri, Jul 16, 2004 at 12:15:19PM -0400, Radcliffe, Jerome (ISS
Southfield) wrote:
> echo "ADD_SVC_COMMENT;hostname1;Warnings;1;admin;Comment_Test" >>

It is perfectly acceptable for scripts to write to the nagios.cmd.
Nagios 
will honor your commands assuming they are in the correct format
and Nagios is configured to accept external commands.

-Jason Martin
-- 
Multitasking = 3 PCs and a chair with wheels!
This message is PGP/MIME signed.

_____________________________________________________________________
This message has been checked for all known viruses


-------------------------------------------------------
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