how to make logical "and" of services?

Rasmus Plewe rplewe at hpce.nec.com
Wed Mar 5 23:53:23 CET 2003


On Wed, Mar 05, 2003 at 10:54:58PM +0100, Stanis3aw Szczygie3 wrote:
> Hello,
> 
> please help me... How to define service, which is true (in OK state) if a
> group of other few services are OK?
> 
> I have to observe system, which consist of group of processes. I defined
> group of services, where each service test presence of each process - but
> how to define process which can be logical "and" of all these services? I've
> tried to use dependencies, but it didnt work well...

Write your own plugin (or wrapper to existing plugins). A logical
"and" is trivial in every programming language that comes to my mind
(not too many, I admit). 


Rasmus


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
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