statusmap.cgi to indicate muliple services

Guillaume silencer at free-4ever.net
Thu Jul 13 15:17:41 CEST 2006


Ben Vinger a écrit :
> 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

Hi,

I'm not sure we can add more than one check command on a host.
So, maybe, it take the last one...

Regards
Guillaume


-- 
Guillaume
E-mail: silencer_<at>_free-4ever_<dot>_net
Blog: http://guillaume.free-4ever.net
----
Site: http://www.free-4ever.net


-------------------------------------------------------------------------
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