Inverting the nagios output

Tom DE BLENDE (DHL BE) Tom.DeBlende at dhl.com
Thu Jul 17 13:58:05 CEST 2003


Use check_tcp together with negate.

pawel.siwek at sgcib.com wrote:

>                                                                            
>                                                                            
>   A little question.. Nagios is designed as I discovered to monitor        
>   whether the services are down.. Me I want to see whether the services    
>   are up. I want to see if one port is open in all machines and if it's    
>   up make nagios send me notifications.                                    
>   So for me the down status is ok, but nagios when it see that the answer  
>   is "Connection refused by host" it generates automatically critical      
>   error.                                                                   
>   I tried to add ./check_tcp -H xxx -p aaa -e Connection refused by host,  
>   but it didn't run.... Any ideas?                                         
>                                                                            
>   PAwel                                                                    
>                                                                            
>                                                                            
>                                                                            
>                                                                            
>                                                                            
>                                                                            
>                                                                            
>                                                                            
>                                                                            
>                                                                            
>
>
>
>
>
>
>
>******************************************************************
>The sender's email address has changed to 
>firstname.lastname@ sgcib.com. You may want to update your 
>personal address book. Please see http://www.sgcib.com for more 
>information.
>                               **
>This message and any attachments (the "message") are confidential
>and intended solely for the addressee(s). Any unauthorised use or
>dissemination is prohibited. E-mails are susceptible to alteration.
>Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates
>shall be liable for the message if altered, changed or falsified.
>                         ***************
>L'adresse mail  de votre correspondant a change en prenom.nom@ sgcib.com.
>Il est recommande de mettre a jour votre carnet d'addresse
>personnel.Pour plus d'informations, aller  sur http://www.sgcib.com
>                               **
>Ce message et toutes les pieces jointes (ci-apres le "message")
>sont confidentiels et etablis a l'intention exclusive de ses
>destinataires. Toute utilisation ou diffusion non autorisee est
>interdite. Tout message electronique est susceptible d'alteration.
>La SOCIETE GENERALE et ses filiales declinent toute
>responsabilite au titre de ce message s'il a ete altere, modifie
>ou falsifie.
>******************************************************************
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: VM Ware
>With VMware you can run multiple operating systems on a single machine.
>WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
>same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
>_______________________________________________
>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
>  
>



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
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