statusmap.cgi to indicate muliple services

Tedman Eng teng at dataway.com
Thu Jul 13 19:59:41 CEST 2006


You will need to create a check-host-alive command based on check_cluster.
Configure check_cluster to key off the 3 services you desire.  Keep in mind
doing what you want to do will break parent/child relationships and host
"availability" monitoring.

> -----Original Message-----
> From: Ben Vinger [mailto:benvinger at googlemail.com]
> Sent: Thursday, July 13, 2006 6:12 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] statusmap.cgi to indicate muliple services
> 
> 
> Hello
> 
> How can I get the statusmap to show a host as red (or critical) if one
> of the monitored services are critical?
> So if:
>    define host{
>           use                     generic-host
>           host_name          server
>           alias                   Web Server
>           address                 1.1.1.1
>           check_command           check_mysql
>           check_command           check_http
>           check_command           check_ssh
>           }
> then the host should only be shown as up by statusmap.cgi and
> status.cgi if all the check_commands return OK?
> In the example above, the host will show as up or down depending on
> the status of the last service ( check_ssh).
> Thanks
> Ben
> 
> 
> --------------------------------------------------------------
> -----------
> Using Tomcat but need to do more? Need to support web 
> services, security?
> Get stuff done quickly with pre-integrated technology to make 
> your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on 
> Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&
dat=121642
_______________________________________________
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


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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