[Resolved] Retrieve informations stored as string in MIBs

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please pay attention to use a GAUGE data source type in your case. If you've got it wrong, please change the Data Template AND change all existing data sources using rrdtool tune (old data will NOT be corrected)
Reinhard
mimiche
Posts: 15
Joined: Mon Jun 02, 2008 7:13 am

Post by mimiche »

gandalf wrote:Please pay attention to use a GAUGE data source type in your case. If you've got it wrong, please change the Data Template AND change all existing data sources using rrdtool tune (old data will NOT be corrected)
Reinhard
I've done the correction. Short Integer seems to be retrieved and stored correctly but it seems not to be the case for long ones.
Example :
07/22/2008 02:15:06 PM - SPINE: Poller[0] Host[63] DS[1534] SNMP: v1: 192.168.0.90, dsname: vsxCountersRejected, oid: .1.3.6.1.4.1.2620.1.16.23.1.1.8.4.0, value: 0
07/22/2008 02:15:06 PM - SPINE: Poller[0] Host[63] DS[1534] SNMP: v1: 192.168.0.90, dsname: vsxCountersDropped, oid: .1.3.6.1.4.1.2620.1.16.23.1.1.6.4.0, value: 0
07/22/2008 02:15:06 PM - SPINE: Poller[0] Host[63] DS[1534] SNMP: v1: 192.168.0.90, dsname: vsxCounterPackets, oid: .1.3.6.1.4.1.2620.1.16.23.1.1.5.4.0, value: 0
07/22/2008 02:15:06 PM - SPINE: Poller[0] Host[63] DS[1534] SNMP: v1: 192.168.0.90, dsname: vsxCountersAccepted, oid: .1.3.6.1.4.1.2620.1.16.23.1.1.7.4.0, value: 0
07/22/2008 02:15:06 PM - SPINE: Poller[0] Host[63] DS[1533] SNMP: v1: 192.168.0.90, dsname: vsxCountersDropped, oid: .1.3.6.1.4.1.2620.1.16.23.1.1.6.1.0, value: 78
07/22/2008 02:15:06 PM - SPINE: Poller[0] Host[63] DS[1533] SNMP: v1: 192.168.0.90, dsname: vsxCounterPackets, oid: .1.3.6.1.4.1.2620.1.16.23.1.1.5.1.0, value: 5699684563
07/22/2008 02:15:06 PM - SPINE: Poller[0] Host[63] DS[1533] SNMP: v1: 192.168.0.90, dsname: vsxCountersRejected, oid: .1.3.6.1.4.1.2620.1.16.23.1.1.8.1.0, value: 0
07/22/2008 02:15:06 PM - SPINE: Poller[0] Host[63] DS[1533] SNMP: v1: 192.168.0.90, dsname: vsxCountersAccepted, oid: .1.3.6.1.4.1.2620.1.16.23.1.1.7.1.0, value: 5699684485
07/22/2008 02:15:06 PM - SPINE: Poller[0] Host[63] DS[1532] SNMP: v1: 192.168.0.90, dsname: vsxCountersAccepted, oid: .1.3.6.1.4.1.2620.1.16.23.1.1.7.2.0, value: 0
07/22/2008 02:15:06 PM - SPINE: Poller[0] Host[63] DS[1532] SNMP: v1: 192.168.0.90, dsname: vsxCountersRejected, oid: .1.3.6.1.4.1.2620.1.16.23.1.1.8.2.0, value: 0
07/22/2008 02:15:05 PM - SPINE: Poller[0] Host[63] DS[1532] SNMP: v1: 192.168.0.90, dsname: vsxCountersDropped, oid: .1.3.6.1.4.1.2620.1.16.23.1.1.6.2.0, value: 0
07/22/2008 02:15:05 PM - SPINE: Poller[0] Host[63] DS[1532] SNMP: v1: 192.168.0.90, dsname: vsxCounterPackets, oid: .1.3.6.1.4.1.2620.1.16.23.1.1.5.2.0, value: 0
07/22/2008 02:15:05 PM - SPINE: Poller[0] Host[63] DS[1531] SNMP: v1: 192.168.0.90, dsname: vsxCountersAccepted, oid: .1.3.6.1.4.1.2620.1.16.23.1.1.7.2.0, value: 0
07/22/2008 02:15:05 PM - SPINE: Poller[0] Host[63] DS[1531] SNMP: v1: 192.168.0.90, dsname: vsxCounterPackets, oid: .1.3.6.1.4.1.2620.1.16.23.1.1.5.2.0, value: 0
07/22/2008 02:15:05 PM - SPINE: Poller[0] Host[63] DS[1531] SNMP: v1: 192.168.0.90, dsname: vsxCountersDropped, oid: .1.3.6.1.4.1.2620.1.16.23.1.1.6.2.0, value: 0
07/22/2008 02:15:05 PM - SPINE: Poller[0] Host[63] DS[1531] SNMP: v1: 192.168.0.90, dsname: vsxCountersRejected, oid: .1.3.6.1.4.1.2620.1.16.23.1.1.8.2.0, value: 0

For the data sources 1531,1532,1534 everything is at 0 and it's OK. For the data source 1533, the only value which is correctly displayed is 78.
What do you think about that?
Attachments
graph.JPG
graph.JPG (31.26 KiB) Viewed 648 times
mimiche
Posts: 15
Joined: Mon Jun 02, 2008 7:13 am

Post by mimiche »

mimiche wrote:Is it the storage in the rrd which may cause a problem? If it's not, I have no other idea. :-?
I've found the problem. The maximum value allowed in the data template was too low.
Thanks for your help!!!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest