Can anyone help me, i'm trying to implement snmp_interface.mon but keep
getting the following error

failure for test1 interfaces 1048195577 192.168.1.1 Timeout, 192.168.1.1
Serial0/1 cannot find matching ifDescr, 192.168.1.1 Timeout, 192.168.1.1
Serial0/3 cannot find matching ifDescr

I can snmpwalk the interfaces without any problems;

IF-MIB::ifDescr.1 = STRING: Ethernet0/0
IF-MIB::ifDescr.2 = STRING: Serial0/0
IF-MIB::ifDescr.3 = STRING: Serial0/1
IF-MIB::ifDescr.4 = STRING: Serial0/2
IF-MIB::ifDescr.5 = STRING: Serial0/3

I've tried running snmp_interface.mon from the command line but get the same
error;

./snmp_interface.mon --host router1 ifname Serial0/0
router1 ifname cannot find matching ifDescr, router1 Serial0/0 cannot find
matching ifDescr

this is my mon.cf

# global options
#
cfbasedir   = /etc/mon
pidfile     = /var/run/mon.pid
statedir    = /var/run/mon/state.d
logdir      = /var/run/mon/log.d
dtlogging   = yes
dtlogfile   = /var/run/mon/log.d/downtime.log
alertdir    = /usr/lib/mon/alert.d
mondir      = /usr/lib/mon/mon.d
maxprocs    = 50
histlength  = 100
randstart   = 60s
authtype    = userfile
userfile    = /etc/mon/userfile

# authentication types:
#   getpwnam      standard Unix passwd, NOT for shadow passwords
#   shadow        Unix shadow passwords (not implemented)
#   userfile      "mon" user file

hostgroup cisco router1

watch cisco
    service interfaces
    description SNMP status of interfaces
    interval 5m
    monitor snmp_interface.mon --community=ropasswd --host router1 Serial0/0

Can anyone point out what I'm doing wrong, thanks.

Stephen
[EMAIL PROTECTED]


_______________________________________________
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to