[Nagiosplug-help] Re: check_iftraffic 13 out of bounds

Johny Hazin jhazin at yahoo.com
Thu May 12 20:41:06 CEST 2005


--- Johny Hazin <jhazin at yahoo.com> escribió:
> Hi list
> 
> Hi list
> 
> When i use this command for test the plugin
> check_iftraffic:
> 
> /usr/lib/nagios/plugins/check_iftraffic -H
> 200.62.42.65 -C public -i if_descr -b 256 -u k -w 80
> -c 90
> 
> the exit looks fine:
> 
> Total RX Bytes: 76.98 MB, Total TX Bytes: 35.94 MB
> <br>Average Traffic: 5.32 kB/s (16.6%) in, 3.98 kB/s
> (12.5%) out| inUsage=16.6,80,90 outUsage=12.5,80,90
> 
> But when i put this from Nagios, appears this
> message in the nagios.log:
> 
> Warning: Return code of 13 for check of service
> 'BandWidth' on host 'CLIENT' was out of bounds.
> 
> The solution of the nagios faq is:
> 
> The plugin you're using to perform the host or
> service check is not returning the proper return
> code when it exits.
> 
> My services.cfg file is:
> 
> define  service {
>         host_name                       CLIENT
>         service_description             BandWidth
>         is_volatile                     0
>         check_command                
> check_iftraffic!public!if_decr!256!k!80!98
>         max_check_attempts              5
>         normal_check_interval           1
>         retry_check_interval            2
>         active_checks_enabled           1
>         passive_checks_enabled          1
>         check_period                    24x7
>         parallelize_check               0
>         obsess_over_service             1
>         check_freshness                 0
>         event_handler_enabled           0
>         flap_detection_enabled          0
>         process_perf_data               1
>         retain_status_information       1
>         retain_nonstatus_information    1
>         contact_groups                 
> Administrators
>         notification_interval           10
>         notification_period             24x7
>         notification_options            c
>         notifications_enabled           0
>         register                        1
>         }
> 
> Any Ideas?...Thanks
> 
> Johny 
> 
> 
> - Johny Hazin (jhazin)
> 
> -----------------------
> The mailing list archive is found here:
>
http://www.nagiosexchange.org/nagiosplug-help.32.0.html
> 				
> 


		
______________________________________________ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es




More information about the Help mailing list