I want to create a graph for a specified OID, which is in a enterprise
MIB. When I run
$ php poller.php
return:
Error in packet.
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .0.1
04/25/2007 03:32:55 PM - SYSTEM STATS: Time:1.0713 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:8 RRDsProcessed:6
OK u:0.00 s:0.00 r:0.02
OK u:0.00 s:0.00 r:0.02
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
When i use snmpget to get the OID, it can get the value
$ snmpget -v 2c -c public A.B.C.D:PORT 1.3.6.1.4.1.791.2.9.4.5.2.2.2
SNMPv2-SMI::enterprises.791.2.9.4.5.2.2.2.0 = INTEGER: 9
What is the object .0.1 ? Cacti use it to get the system information?
If the MIB doesn't contain the object .0.1, can i use cacti to create the graph? Or i have to modify the php source? Which module should i modify?
Help: Create a graph for a specified OID
Moderators: Developers, Moderators
-
- Posts: 3
- Joined: Thu Apr 26, 2007 3:14 am
-
- Posts: 3
- Joined: Thu Apr 26, 2007 3:14 am
Who is online
Users browsing this forum: No registered users and 1 guest