Pls Guys i need help to on the CACTI IM VERY NEW

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

olayemi2020
Posts: 13
Joined: Tue Nov 08, 2022 7:17 am

Pls Guys i need help to on the CACTI IM VERY NEW

Post by olayemi2020 »

Log File [Total Lines: 500 - All Items Shown]
11/08/2022 01:31:31 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
11/08/2022 01:30:55 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'145', SQL:"SELECT COUNT(*) FROM poller_command"
11/08/2022 01:30:55 PM - SYSTEM STATS: Time:292.2922 Method:spine Processes:1 Threads:1 Hosts:261 HostsPerProcess:261 DataSources:423 RRDsProcessed:115
11/08/2022 01:30:55 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
11/08/2022 01:30:50 PM - POLLER: Poller[0] WARNING: There are '1' detected as overrunning a polling process, please investigate
11/08/2022 01:26:14 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
11/08/2022 01:26:02 PM - POLLER: Poller[0] WARNING: There are '1' detected as overrunning a polling process, please investigate
11/08/2022 01:25:56 PM - POLLER: Poller[0] WARNING: Scheduled Task is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Scheduled Task, but 311 seconds have passed since the last poll!
11/08/2022 01:25:44 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'145', SQL:"SELECT COUNT(*) FROM poller_command"
11/08/2022 01:25:44 PM - SYSTEM STATS: Time:293.4804 Method:spine Processes:1 Threads:1 Hosts:261 HostsPerProcess:261 DataSources:423 RRDsProcessed:115
11/08/2022 01:25:44 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
11/08/2022 01:21:17 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
11/08/2022 01:21:10 PM - SPINE: Poller[0] Host[15] Hostname[172.16.2.27] ERROR: HOST EVENT: Host is DOWN Message: Host did not respond to SNMP
11/08/2022 01:20:50 PM - POLLER: Poller[0] WARNING: There are '1' detected as overrunning a polling process, please investigate
11/08/2022 01:20:48 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'145', SQL:"SELECT COUNT(*) FROM poller_command"
11/08/2022 01:20:48 PM - SYSTEM STATS: Time:297.4184 Method:spine Processes:1 Threads:1 Hosts:261 HostsPerProcess:261 DataSources:423 RRDsProcessed:115
11/08/2022 01:20:48 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
11/08/2022 01:19:59 PM - SPINE: Poller[0] Host[183] Hostname[192.168.14.59] ERROR: HOST EVENT: Host is DOWN Message: Host did not respond to SNMP
11/08/2022 01:19:51 PM - SPINE: Poller[0] Host[180] Hostname[192.168.14.253] ERROR: HOST EVENT: Host is DOWN Message: Host did not respond to SNMP
11/08/2022 01:16:13 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
11/08/2022 01:15:50 PM - POLLER: Poller[0] WARNING: There are '1' detected as overrunning a polling process, please investigate
11/08/2022 01:15:45 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'145', SQL:"SELECT COUNT(*) FROM poller_command"
11/08/2022 01:15:45 PM - SYSTEM STATS: Time:294.1255 Method:spine Processes:1 Threads:1 Hosts:261 HostsPerProcess:261 DataSources:423 RRDsProcessed:116
11/08/2022 01:15:45 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
Attachments
help2222.PNG
help2222.PNG (133.48 KiB) Viewed 3180 times
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Pls Guys i need help to on the CACTI IM VERY NEW

Post by Osiris »

What version of cacti? If not 1.x, that is an unsupported version. You have one or more crashed tables. MySQL/MariaDB both have a way to auto-repair, but I suggest you just move to 1.x.
Before history, there was a paradise, now dust.
olayemi2020
Posts: 13
Joined: Tue Nov 08, 2022 7:17 am

Re: Pls Guys i need help to on the CACTI IM VERY NEW

Post by olayemi2020 »

0.8.8a Version is what is currently running on the cacti.
olayemi2020
Posts: 13
Joined: Tue Nov 08, 2022 7:17 am

Re: Pls Guys i need help to on the CACTI IM VERY NEW

Post by olayemi2020 »

Thanks for ur quite response.
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Pls Guys i need help to on the CACTI IM VERY NEW

Post by Osiris »

If you just started, I recommend starting over with 1.2.16 or 1.2.22 but if you do 1.2.22 there are other files. 1.2.23 will be released in a month.
Before history, there was a paradise, now dust.
olayemi2020
Posts: 13
Joined: Tue Nov 08, 2022 7:17 am

Re: Pls Guys i need help to on the CACTI IM VERY NEW

Post by olayemi2020 »

Thanks Boss.
Apart from the upgrade what else is needed of me.
Pls can you share your contact with me?
Like phone number.
Thanks
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Pls Guys i need help to on the CACTI IM VERY NEW

Post by cigamit »

Another thing is to increase your spine processes to equal to the amount of CPUs in the server, and the threads to ~10 or so. You are trying to monitor 261 servers with 1 thread, and it seems you have some down hosts which are creating a choke point.
11/08/2022 01:25:44 PM - SYSTEM STATS: Time:293.4804 Method:spine Processes:1 Threads:1 Hosts:261 HostsPerProcess:261 DataSources:423 RRDsProcessed:115
11/08/2022 01:25:44 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
olayemi2020
Posts: 13
Joined: Tue Nov 08, 2022 7:17 am

Re: Pls Guys i need help to on the CACTI IM VERY NEW

Post by olayemi2020 »

Ok.
Pls can you share your contact email with me?
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Pls Guys i need help to on the CACTI IM VERY NEW

Post by cigamit »

Nope. You can ask for support in this forum, we don't give out personal contact information for security reasons.
olayemi2020
Posts: 13
Joined: Tue Nov 08, 2022 7:17 am

Re: Pls Guys i need help to on the CACTI IM VERY NEW

Post by olayemi2020 »

after change thread from 1-30 below is the result.

11/10/2022 07:41:17 AM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'145', SQL:"SELECT COUNT(*) FROM poller_command"
11/10/2022 07:41:17 AM - SYSTEM STATS: Time:76.5718 Method:spine Processes:30 Threads:1 Hosts:263 HostsPerProcess:9 DataSources:431 RRDsProcessed:140
11/10/2022 07:40:39 AM - SPINE: Poller[0] ERROR: SQL Failed! Error:'145', Message:'Table '.\cacti\poller_command' is marked as crashed and should be repaired', SQL Fragment:'REPLACE INTO poller_command (poller_id, time, action, command) values (0, NOW(), 1, '235:1')'
11/10/2022 07:40:33 AM - SPINE: Poller[0] ERROR: SQL Failed! Error:'145', Message:'Table '.\cacti\poller_command' is marked as crashed and should be repaired', SQL Fragment:'REPLACE INTO poller_command (poller_id, time, action, command) values (0, NOW(), 1, '226:1')'
11/10/2022 07:40:15 AM - SPINE: Poller[0] Host[92] Hostname[172.16.22.43] NOTICE: HOST EVENT: Host Returned from DOWN State
11/10/2022 07:40:09 AM - SPINE: Poller[0] Host[71] Hostname[172.16.26.11] NOTICE: HOST EVENT: Host Returned from DOWN State
11/10/2022 07:36:15 AM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'145', SQL:"SELECT COUNT(*) FROM poller_command"
11/10/2022 07:36:15 AM - SYSTEM STATS: Time:74.4702 Method:spine Processes:30 Threads:1 Hosts:263 HostsPerProcess:9 DataSources:431 RRDsProcessed:138
11/10/2022 07:31:15 AM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'145', SQL:"SELECT COUNT(*) FROM poller_command"
11/10/2022 07:31:15 AM - SYSTEM STATS: Time:74.6672 Method:spine Processes:30 Threads:1 Hosts:263 HostsPerProcess:9 DataSources:431 RRDsProcessed:138
11/10/2022 07:31:13 AM - SPINE: Poller[0] ERROR: SQL Failed! Error:'145', Message:'Table '.\cacti\poller_command' is marked as crashed and should be repaired', SQL Fragment:'REPLACE INTO poller_command (poller_id, time, action, command) values (0, NOW(), 1, '294:1')'
11/10/2022 07:30:15 AM - SPINE: Poller[0] ERROR: SQL Failed! Error:'145', Message:'Table '.\cacti\poller_command' is marked as crashed and should be repaired', SQL Fragment:'REPLACE INTO poller_command (poller_id, time, action, command) values (0, NOW(), 1, '92:1')'
11/10/2022 07:30:09 AM - SPINE: Poller[0] ERROR: SQL Failed! Error:'145', Message:'Table '.\cacti\poller_command' is marked as crashed and should be repaired', SQL Fragment:'REPLACE INTO poller_command (poller_id, time, action, command) values (0, NOW(), 1, '71:1')'
11/10/2022 07:26:16 AM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'145', SQL:"SELECT COUNT(*) FROM poller_command"
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Pls Guys i need help to on the CACTI IM VERY NEW

Post by cigamit »

11/10/2022 07:40:39 AM - SPINE: Poller[0] ERROR: SQL Failed! Error:'145', Message:'Table '.\cacti\poller_command' is marked as crashed and should be repaired', SQL Fragment:'REPLACE INTO poller_command (poller_id, time, action, command) values (0, NOW(), 1, '235:1')'
As TheWitness said, one of your database tables has crashed and needs to be repaired. Specifically the "poller_command" table.

You can try running this command from the command line
mysqlcheck -A --auto-repair

You may have to look up the credentials for the DB user and pass those, but you google that.

Also, you set processes for the poller to 30. I assume you don't have 30 physical processors in the box. So instead set Processes to 4, and set threads to 12.
olayemi2020
Posts: 13
Joined: Tue Nov 08, 2022 7:17 am

Re: Pls Guys i need help to on the CACTI IM VERY NEW

Post by olayemi2020 »

Dear Guy's,
Thanks for your support after changing the threads to 30.
poller started graphing .
olayemi2020
Posts: 13
Joined: Tue Nov 08, 2022 7:17 am

Re: Pls Guys i need help to on the CACTI IM VERY NEW

Post by olayemi2020 »

pls assist with the error on my cacti server
Attachments
errrr.JPG
errrr.JPG (103.15 KiB) Viewed 2822 times
olayemi2020
Posts: 13
Joined: Tue Nov 08, 2022 7:17 am

Re: Pls Guys i need help to on the CACTI IM VERY NEW

Post by olayemi2020 »

CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'145', SQL:"SELECT COUNT(*) FROM poller_command"
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Pls Guys i need help to on the CACTI IM VERY NEW

Post by Osiris »

Why aren't you listening? As root:

Code: Select all

mysql -A cacti
repair table poller_command;
repair table poller_item;
repair table piller_outout;
Before history, there was a paradise, now dust.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest