Cisco interface operational status monitor
Moderators: Developers, Moderators
RRDTool Command:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Cisco Router - Status - Se0/1:0" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="status" \
--slope-mode \
DEF:a="c\:/Inetpub/wwwroot/cacti/rra/cisco_router_int_status_391.rrd":int_status:AVERAGE \
AREA:a#FFC73B:"Current status\:" \
GPRINTLAST:"%8.2lf%s\n" \
COMMENT:"(1 = Up | 2 = Down)\n"
RRDTool Says:
OK
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Cisco Router - Status - Se0/1:0" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="status" \
--slope-mode \
DEF:a="c\:/Inetpub/wwwroot/cacti/rra/cisco_router_int_status_391.rrd":int_status:AVERAGE \
AREA:a#FFC73B:"Current status\:" \
GPRINTLAST:"%8.2lf%s\n" \
COMMENT:"(1 = Up | 2 = Down)\n"
RRDTool Says:
OK
try running USR and paste the output here or better yet get a screen shot and paste it here. also can you show me a pic of the cacti poller log same one i posted. thanks
also can you double check the attached pics with the template you have imported
also can you double check the attached pics with the template you have imported
- Attachments
-
- data query pic
- data query pic.JPG (78.13 KiB) Viewed 16375 times
-
- data template pic
- data template pic.JPG (101.13 KiB) Viewed 16375 times
-
- graph template pic
- graph template pic.JPG (95.6 KiB) Viewed 16375 times
01/08/2007 02:40:20 PM - CMDPHP: Poller[0] Host[28] DS[385] SNMP: v1: x.x.x.x, dsname: int_status, oid: .1.3.6.1.2.1.2.2.1.8.2, output: U
01/08/2007 02:40:20 PM - CMDPHP: Poller[0] Host[28] DS[385] WARNING: Result from SNMP not valid. Partial Result: up(1
01/08/2007 02:40:20 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (384, 'int_status', '2007-01-08 14:40:20', 'U')"
01/08/2007 02:40:20 PM - CMDPHP: Poller[0] Host[28] DS[384] SNMP: v1: x.x.x.x, dsname: int_status, oid: .1.3.6.1.2.1.2.2.1.8.1, output: U
01/08/2007 02:40:20 PM - CMDPHP: Poller[0] Host[28] DS[384] WARNING: Result from SNMP not valid. Partial Result: up(1
01/08/2007 02:40:20 PM - CMDPHP: Poller[0] Host[28] DS[385] WARNING: Result from SNMP not valid. Partial Result: up(1
01/08/2007 02:40:20 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (384, 'int_status', '2007-01-08 14:40:20', 'U')"
01/08/2007 02:40:20 PM - CMDPHP: Poller[0] Host[28] DS[384] SNMP: v1: x.x.x.x, dsname: int_status, oid: .1.3.6.1.2.1.2.2.1.8.1, output: U
01/08/2007 02:40:20 PM - CMDPHP: Poller[0] Host[28] DS[384] WARNING: Result from SNMP not valid. Partial Result: up(1
sorry about usr. it's called net-snmp i called it usr because it's the folder where its installed. download it here http://net-snmp.sourceforge.net/ . then run snmpget from command line. btw what equipment are you monitoring?
SNMP responds with 1 or 2 only. It's just your snmpget that is inteligent enough by understanding the MIB that translates it to up or down. Guess you might have to remove the MIB to get 1 or 2 only.schouaib wrote:I also have the same problem with interface status monitoring, but I'm sure that the snmp agent respond with : up(1) or down(2) and not 1 or 2 !!!
need help please
thanks
/Carl
thnaks for reply, I changed interfaces.xml, but i have the same problem :
That's what I see in the poller log :
02/17/2007 12:45:01 PM - CACTID: Poller[0] Host[1] DS[2971] SNMP: v1: 127.0.0.1, dsname: int_status, oid: .1.3.6.1.2.1.2.2.1.8.3, value: U
02/17/2007 12:45:01 PM - CACTID: Poller[0] Host[1] DS[2971] WARNING: Result from SNMP not valid. Partial Result: ...
What should I do ?
tnx in advance
That's what I see in the poller log :
02/17/2007 12:45:01 PM - CACTID: Poller[0] Host[1] DS[2971] SNMP: v1: 127.0.0.1, dsname: int_status, oid: .1.3.6.1.2.1.2.2.1.8.3, value: U
02/17/2007 12:45:01 PM - CACTID: Poller[0] Host[1] DS[2971] WARNING: Result from SNMP not valid. Partial Result: ...
What should I do ?
tnx in advance
-
- Posts: 45
- Joined: Wed Dec 06, 2006 12:02 am
- Location: Perth , Australia
Who is online
Users browsing this forum: No registered users and 0 guests