[Nagios-users] A plugin to run the existing plugins for NSCA

Holger Weiß holger-AydDEG7bod3EuQgbuN4uyA at public.gmane.org
Wed Sep 5 09:40:23 CEST 2012


* PRA <nagiospra-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> [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 Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins 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