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

Holger Weiß <[email protected]>
Newsgroups gmane.network.nagios.plugins.devel,gmane.network.nagios.user
Organization Freie Universität Berlin
Message-ID <[email protected]>
* PRA <[email protected]> [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@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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.