Apan - check warning/critical bandwidth utilization

Marco Avvisano m.avvisano at mail.regione.toscana.it
Wed Sep 3 18:21:06 CEST 2003


Hi all

I'm new to nagios and apan
I'm tryng to colletc the bandwidth utilization for my router using Apan
(Net-usage), and check the warning and critical treshold
I collect the traffic but i don't know how to set the warn/critical check

My apan.cfg is

router;Net-usage;/usr/nagios/rrd/router_Net-usage.rrd;public:.1.3.6.1.2.1.2.
2.1.10.2|public:.1.3.6.1.2.1.2.2.1.16.2;IN:LINE2 OUT:LINE2;Network
throughput;Bytes/sek;

(It's correct for bandwidth utilization ?)

My services.cfg  is



define service {
       host_name                       router1
       service_description            Net-usage
       is_volatile                     0
       check_period                    24x7
       max_check_attempts              2
       normal_check_interval           2
       retry_check_interval            1
       contact_groups                  router-admins
       notification_interval           120
       notification_period             24x7
       notification_options            w,c,r
       check_command                  apan!snmpget!15!25
       use                            generic-service
}

15 and 25 are the warning/critical treshold ? must be a % value? these
treshold are for input and output?

How to make a correlation between  RTT and the network traffic (ex.
bandwidth utilization < 75% and rtt > 3 sec. send me a notification)?
My dependencies.cfg is
define servicedependency{
       host_name                         router1
       service_description             Ping
       dependent_host_name        router1
       dependent_service_description   Net-usage
       execution_failure_criteria      w
       notification_failure_criteria   w,c
       }



thanks for your help


Marco












-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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