snmpget v cacti value different?

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

Moderators: Developers, Moderators

Post Reply
DwayneDibbley
Posts: 22
Joined: Tue Aug 30, 2011 12:43 pm

snmpget v cacti value different?

Post by DwayneDibbley »

Im trying to graph the following single SNMP value

cifsNOpenFiles SCALAR read-only Counter32 1.3.6.1.4.1.789.1.7.2.13.0

i have creaded a datatemplate with the above OID and data type set to COUNTER

poller gathers the data and the graph plots the values, however if i manually run a SNMPGET i get a value like Counter32: 13303 but in the RRD the values are alot larger ie 2.0342224948e+007

any hint on what im doing wrong ?

Thanks
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: snmpget v cacti value different?

Post by phalek »

Counter is calculating the difference between the value from the last poll and the current poll. e.g.:

Code: Select all

Last Poll:  1500
Current Poll: 1550
Counter Value = 1550 - 1500 = 50
The snmpget will get you the 1500 or 1550 value only.

If you want to see the 1500/1550 value you have to choose "GAUGE"
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
DwayneDibbley
Posts: 22
Joined: Tue Aug 30, 2011 12:43 pm

Re: snmpget v cacti value different?

Post by DwayneDibbley »

Changed to gauge deleted the rrd's and works a treat :)

Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests