Is is possible to setup an 'aggregate service'?

Andreas Ericsson ae at op5.se
Thu Jan 20 07:49:50 CET 2005


Jason Dinsdale wrote:
> Jason Dinsdale <jasondinsdale <at> gmail.com> writes:
> 
> Gents,
> 
> Thanks for the quick responses, and Harper you were right on the money - the 
> check_cluster2 is pretty much what I need, the boolean logic part not 
> withstanding.  I even took a look at the source, and Andreas you will be 
> pleased to know that even I can read code ... who knows I might even write a 
> few enhancements myself!    I havent got my head around event handlers just 
> yet (too busy with Net-SNMP and MIBs) but James you can be sure I will 
> investigate.  
> 
> The only athetic problem I have with check_cluster2 is that the service 
> command ends up being horrendously long ... 250 chars or more with 10 cluster 
> services ... does Nagios support multi-line statements in the object config 
> files out of the box?
> 

No. You would have to type it all in one line, or create a wrapper 
script. The latter is probably preferrable, as it lets you edit the 
check on the fly without reloading nagios.

> Jason
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> 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
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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