cactid SNMP ERROR
Moderators: Developers, Moderators
cactid SNMP ERROR
I was usind cmd.php for a one year without problems, but last weekend i moved from cdm.php to cactid version 0.8.6d and now all snmp query`s fail with this error:
04/14/2005 05:48:20 PM - CACTID: Poller[0] DEBUG: SQLCMD: insert into poller_command (poller_id,time,action,command) values (0,NOW(),1,'59:8')
04/14/2005 05:48:20 PM - CACTID: Poller[0] ASSERT: 'SNMP ERROR
04/14/2005 05:48:20 PM - CACTID: Poller[0] Host[59] RECACHE: Processing 2 items in the auto reindex cache for '10.36.16.15'
04/14/2005 05:48:20 PM - CACTID: Poller[0] DEBUG: SQLCMD: update host set status='3',status_event_count='0', status_fail_date='2005-04-14 03:50:00',status_rec_date='0000-00-00 00:00:00',status_last_error='Host did not respond to SNMP, ICMP: Host is Alive',min_time='3.068960',max_time='999.999990',cur_time='23.371040',avg_time='118.332579',total_polls='5459',failed_polls='4',availability='99.0000' where id='59'
04/14/2005 05:48:20 PM - CACTID: Poller[0] Host[59] PING: Result ICMP: Host is Alive
04/14/2005 05:48:20 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 3
04/14/2005 05:48:20 PM - CACTID: Poller[0] DEBUG: Valid Thread to be Created
04/14/2005 05:48:20 PM - CACTID: Poller[0] MYSQL: Connecting to MySQL database 'cactidb' on 'localhost'...
04/14/2005 05:48:20 PM - CACTID: Poller[0] DEBUG: In Poller, About to Start Polling of Host
04/14/2005 05:48:20 PM - CACTID: Poller[0] Host[56] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
04/14/2005 05:48:20 PM - CACTID: Poller[0] DEBUG: SQLCMD: update poller_reindex set assert_value='SNMP ERROR' where host_id='56' and data_query_id='1' and arg1='.1.3.6.1.2.1.1.3.0'
04/14/2005 05:48:20 PM - CACTID: Poller[0] ERROR: Problem with MySQL: Duplicate entry '0-1-56:1' for key 1
04/14/2005 05:48:20 PM - CACTID: Poller[0] DEBUG: SQLCMD: insert into poller_command (poller_id,time,action,command) values (0,NOW(),1,'56:1')
04/14/2005 05:48:20 PM - CACTID: Poller[0] ASSERT: 'SNMP ERROR
04/14/2005 05:48:20 PM - CACTID: Poller[0] Host[56] RECACHE: Processing 1 items in the auto reindex cache for '10.36.14.1'
04/14/2005 05:48:20 PM - CACTID: Poller[0] DEBUG: SQLCMD: update host set status='3',status_event_count='0', status_fail_date='2005-04-14 03:50:00',status_rec_date='2005-04-05 03:36:50',status_last_error='Host did not respond to SNMP, ICMP: Host is Alive',min_time='0.261020',max_time='999.999990',cur_time='71.245980',avg_time='936.147145',total_polls='12878',failed_polls='183',availability='98.0000' where id='56'
04/14/2005 05:48:20 PM - CACTID: Poller[0] Host[56] PING: Result ICMP: Host is Alive
OBS: I can query this OID (.1.3.6.1.2.1.1.3.0) using snmpget to all hosts without problem.
Could anyone help me to solve this issue?
Thanks in advance...
04/14/2005 05:48:20 PM - CACTID: Poller[0] DEBUG: SQLCMD: insert into poller_command (poller_id,time,action,command) values (0,NOW(),1,'59:8')
04/14/2005 05:48:20 PM - CACTID: Poller[0] ASSERT: 'SNMP ERROR
04/14/2005 05:48:20 PM - CACTID: Poller[0] Host[59] RECACHE: Processing 2 items in the auto reindex cache for '10.36.16.15'
04/14/2005 05:48:20 PM - CACTID: Poller[0] DEBUG: SQLCMD: update host set status='3',status_event_count='0', status_fail_date='2005-04-14 03:50:00',status_rec_date='0000-00-00 00:00:00',status_last_error='Host did not respond to SNMP, ICMP: Host is Alive',min_time='3.068960',max_time='999.999990',cur_time='23.371040',avg_time='118.332579',total_polls='5459',failed_polls='4',availability='99.0000' where id='59'
04/14/2005 05:48:20 PM - CACTID: Poller[0] Host[59] PING: Result ICMP: Host is Alive
04/14/2005 05:48:20 PM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 3
04/14/2005 05:48:20 PM - CACTID: Poller[0] DEBUG: Valid Thread to be Created
04/14/2005 05:48:20 PM - CACTID: Poller[0] MYSQL: Connecting to MySQL database 'cactidb' on 'localhost'...
04/14/2005 05:48:20 PM - CACTID: Poller[0] DEBUG: In Poller, About to Start Polling of Host
04/14/2005 05:48:20 PM - CACTID: Poller[0] Host[56] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
04/14/2005 05:48:20 PM - CACTID: Poller[0] DEBUG: SQLCMD: update poller_reindex set assert_value='SNMP ERROR' where host_id='56' and data_query_id='1' and arg1='.1.3.6.1.2.1.1.3.0'
04/14/2005 05:48:20 PM - CACTID: Poller[0] ERROR: Problem with MySQL: Duplicate entry '0-1-56:1' for key 1
04/14/2005 05:48:20 PM - CACTID: Poller[0] DEBUG: SQLCMD: insert into poller_command (poller_id,time,action,command) values (0,NOW(),1,'56:1')
04/14/2005 05:48:20 PM - CACTID: Poller[0] ASSERT: 'SNMP ERROR
04/14/2005 05:48:20 PM - CACTID: Poller[0] Host[56] RECACHE: Processing 1 items in the auto reindex cache for '10.36.14.1'
04/14/2005 05:48:20 PM - CACTID: Poller[0] DEBUG: SQLCMD: update host set status='3',status_event_count='0', status_fail_date='2005-04-14 03:50:00',status_rec_date='2005-04-05 03:36:50',status_last_error='Host did not respond to SNMP, ICMP: Host is Alive',min_time='0.261020',max_time='999.999990',cur_time='71.245980',avg_time='936.147145',total_polls='12878',failed_polls='183',availability='98.0000' where id='56'
04/14/2005 05:48:20 PM - CACTID: Poller[0] Host[56] PING: Result ICMP: Host is Alive
OBS: I can query this OID (.1.3.6.1.2.1.1.3.0) using snmpget to all hosts without problem.
Could anyone help me to solve this issue?
Thanks in advance...
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Strange....
Run the following in my mysql client against your cacti database:
Run the following in my mysql client against your cacti database:
Code: Select all
delete from poller_output;
[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]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
What version of NET-SNMP development libaries do you have installed?
[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]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Um....
I don't know, TheWitness can answer better, but I would ask you to go back to 5.1.2 or the latest 5.1.x series, not 5.2.x.
I don't know, TheWitness can answer better, but I would ask you to go back to 5.1.2 or the latest 5.1.x series, not 5.2.x.
[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: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Good to know! We'll add it to the knowledge base.
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 0 guests