Monitoring traffic on switch port viaNagios/Nagiosgrapher
Rachel Steffen
Steffen.Rachel at bartec.de
Fri Jun 26 14:13:45 CEST 2009
Hi,
>> How can you distinguish between the different ports?
With the switch -r you have to give the exact port Name (just use a
mibbrowser).
E.g with the switch:
define command{
command_name check_snmp_netint_load
command_line $USER1$/check_snmp_netint.pl -H $HOSTADDRESS$ -C
public -n $ARG1$ -f -r -Y -M -k -d 70 -w $ARG2$ -c $ARG3$
}
define service{
host_name Swith 1
service_description Port 1
use check_net
check_command check_snmp_netint_load!"RMON Port 01 on
unit 1"!750000000,750000000!900000000,900000000
}
You have to configure the exact Port name.
E.g without the switch:
define command{
command_name check_snmp_netint_load_2
command_line $USER1$/check_snmp_netint.pl -H $HOSTADDRESS$ -C
public -n $ARG1$ -f -Y -M -k -d 70 -w $ARG2$ -c $ARG3$
}
define service{
host_name Swith 1
service_description Port 1
use check_net
check_command check_snmp_netint_load!"RMON
Port"!750000000,750000000!900000000,900000000
}
Now you will get all results from ports who contain "REMON Port" in the
Portname.
>> What kind of switch(es) do you monitor (manufacturer/model)?
3Com Switch, Watchguard Firewall, HP Server, Dell Server etc...
You can monitor everything that collect ethernet traffic with SNMP
Regards
Steffen
------------------------------------------------------------------------------
_______________________________________________
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