plugin_monitor
plugin_monitor copied to clipboard
Cacti Sending Device Reboot Notification After upgrade
I am facing issue of Cacti continuously sending device reboot notification. Earlier I had Cacti 1.2.19 version and it was recommended to upgrade to 1.2.21 to resolve this issue. Issue resolved in one the Cacti setup but another one is still sending notifications even after upgrade. Below are the logs that I am getting:
02-Jul-2022 02:48:36 - AUTOM8 ERROR: Device[device-name], GT[], DQ[SNMP - Interface Statistics], Index[8], Rule[Traffic 64 bit Server] Graph not added due to whitelist failure. 02-Jul-2022 02:48:36 - AUTOM8 Attempting to Create Graph from Non-Template 02-Jul-2022 02:48:36 - AUTOM8 ERROR: Device[device-name], GT[], DQ[SNMP - Interface Statistics], Index[7], Rule[Traffic 64 bit Server] Graph not added due to whitelist failure. 02-Jul-2022 02:48:36 - AUTOM8 Attempting to Create Graph from Non-Template 02-Jul-2022 02:48:36 - AUTOM8 ERROR: Device[device-name], GT[], DQ[SNMP - Interface Statistics], Index[10], Rule[Traffic 64 bit Server] Graph not added due to whitelist failure.
Cacti Version:1.2.21 Spine Version: 1.2.21
Just truncate the poller_reindex table:
TRUNCATE TABLE poller_reindex;
You might also want to force a system wide re-index afterwards. This is the CLI script poller_reindex_hosts.php
.
That 'white-list' error, you should update your whitelist definitions. Looks like you are on Ubuntu.
[root@vmhost3 cli]# php -q input_whitelist.php --help
Cacti Data Input Whitelist Utility, Version 1.2.22 (DB: 1.2.22), Copyright (C) 2004-2022 The Cacti Group
usage: input_whitelist.php [--audit | --update [--push]]
A utility audit and update the Data Input whitelist status and
Data Input protection file.
Optional:
--audit Audit but do not update the whitelist file.
--update Update the whitelist file with latest information.
--push If any input strings are being updated to new values,
push out the Data Input Methods with new input strings.
Run an --audit
followed by an --update
.
Hi, I truncated the index table and also did a force re-index but still getting reboot notifications continuously. Whitelist failure logs also not stopped even after updating whitelist definitions.
Upload your cacti.log
Also, I'm curious why the GT[] is empty.
Do you need anything else? Regarding GT[]?
Well, on the automation, I would double check you don't have a corrupted graph automation rule.
On the reboots, I would run spine at -V 5 for only the one host, in read only mode and review the output.
I have the same issue but only 2 Cisco Devices (1 Switch and 1 Router) are affected.
Just saw the Cacti Log and this is definitely a Monitor issue. So, I'm going to move to the Monitor issue tracker. I'll be getting to Monitor issues later this fall.
Edit your Automation Rules. They are broken. Maybe an upgrade issue.
Which automation rules do you mean? What should I check there?
Please add a link to device in that report.