AW: [Nagiosplug-help] check_iftraffic 13 out of bounds problem

Masopust Christian christian.masopust at
Fri May 13 00:25:16 CEST 2005

hi johny,

funny, i had the same problem this morning when adding a new switch to
nagios   ;-))

the problem is, that you run check_traffic first as root (i asume) and after
nagios is not able to open the /tmp/traffic_if... - files.
simply change permissions of /tmp/traffic_if... files or remove them so that
will recreate them.

best regards,


-----Ursprüngliche Nachricht-----
Von: nagiosplug-help-admin at
[mailto:nagiosplug-help-admin at] Im Auftrag von Johny
Gesendet: Freitag, 13. Mai 2005 02:46
An: nagiosplug-help at
Betreff: [Nagiosplug-help] check_iftraffic 13 out of bounds problem

Hi list

When i use this command for test the plugin check_iftraffic:

/usr/lib/nagios/plugins/check_iftraffic -H -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

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!

        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 Hazin (jhazin)


The mailing list archive is found here:


This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
Nagiosplug-help mailing list
Nagiosplug-help at
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Help mailing list