Error in poller_output?
Moderators: Developers, Moderators
Error in poller_output?
Please see the following thread regarding an error when retrieving snmp data containing "KBytes":
http://forums.cacti.net/viewtopic.php?t=8165
It seems there are several OID's that may append a "Bytes" or "KBytes" string to the result, but it appears it's causing an error in this case.
http://forums.cacti.net/viewtopic.php?t=8165
It seems there are several OID's that may append a "Bytes" or "KBytes" string to the result, but it appears it's causing an error in this case.
In poller_output when the polling is occuring I can see this:
The output turns into a "U" by the time it's output to the rrdtool update command:mysql> select * from poller_output where rrd_name = 'meminformInstalled';
+---------------+--------------------+---------------------+----------------+
| local_data_id | rrd_name | time | output |
+---------------+--------------------+---------------------+----------------+
| 2176 | meminformInstalled | 2005-06-23 16:25:01 | 1048112 KBytes |
+---------------+--------------------+---------------------+----------------+
1 row in set (0.00 sec)
mysql>
POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/local/cacti-0.8.6e/rra/nltechsupport_meminforminstalled_2176.rrd --template meminformInstalled N:U
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Is this a script or snmp value?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Upgrade to 0.8.6e and this problem "should" go away. The "KBytes" is not a valid value and in 0.8.6e cmd.php and 0.8.6e cactid, the "KBytes" will be stripped making the end result numeric, which is Ok.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
still have the same errors
but mine newly installed with:chadw wrote:Upgrading to cactid 0.8.6e did the trick.
Thanks!
cacti 0.8.6f
cactid 0.8.6e
when poller type is cmd.php , still have the same errors
any suggestion?
thx
Last edited by soundombj on Sun Sep 04, 2005 10:15 pm, edited 1 time in total.
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Seems unusual. Please review the function named "strip_quotes" in lib/functions.php. That function should be removing all NON Numeric data from the end of the string.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 1 guest