* PRA <nagios...@gmail.com> [2012-09-05 09:00]:
> I was configuring nagios and NSCA and found that we need to run the 
> plugins in cron and send the output to NAGIOS. So below is what I 
> plan.So I plan to develop another plugin with runs the other plugins
> 
> 1)  Another  plugin that takes service_description (the description that 
> is sent to nagios) , plugin with parameters as command line arguments.
> 2) Runs the send_nsca command with provided inputs.
> 3) A conf file which has the details(send_nsca path,pluginspath,nsca 
> server,nsca port).

Here's a trivial shell script which you could take as a starting point,
if you like:

ftp://ftp.in-berlin.de/pub/users/weiss/nagios/tools/send_nagios

The output can be piped to send_nsca.

Holger

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to