Writing to Nagios.cmd

Jason Martin jhmartin at toger.us
Fri Jul 16 18:45:26 CEST 2004


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 211 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040716/8a3d8e6b/attachment.sig>


More information about the Users mailing list