Network Traffic
Francesc Guasch
frankie at etsetb.upc.es
Thu May 29 08:29:45 CEST 2003
Jeremy Russell wrote:
>>>APAN for network traffic/utilization. What plugins, config, etc, If
>> You can find how to do it in the apan howto.
>> http://apan.sourceforge.net/doc/howto.html#net
> Thanks, but will this work with any snmp enabled host, such as Cisco
> gear.
>
The Network Load check works for the cisco stuff also.
You only have to find out the snmp OIDs doing a
snmpwalk. Say you want to check the status of a Giga
Ethernet device in the cisco thingie:
# snmpwalk -v 1 -c public HOSTNAME | grep ifDescr | more
1.- search for the description of the interfaces:
IF-MIB::ifDescr.2 = STRING: GigabitEthernet1
2.- Now, find out the OIDs for the interfaces
for input and output data.
# snmptranslate -O n IF-MIB::ifInOctets.2
.1.3.6.1.2.1.2.2.1.10.2
# snmptranslate -O n IF-MIB::ifOutOctets.2
.1.3.6.1.2.1.2.2.1.16.2
3.- Then add to apan.cfg
HOSTNAME;gb1;/usr/lib/nagios/rrd/HOSTNAME_gb1.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;
-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
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