plugin_monitor icon indicating copy to clipboard operation
plugin_monitor copied to clipboard

Cacti Sending Device Reboot Notification After upgrade

Open tamanullah opened this issue 2 years ago • 15 comments

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

tamanullah avatar Jul 02 '22 09:07 tamanullah

Just truncate the poller_reindex table:

TRUNCATE TABLE poller_reindex;

TheWitness avatar Jul 02 '22 14:07 TheWitness

You might also want to force a system wide re-index afterwards. This is the CLI script poller_reindex_hosts.php.

TheWitness avatar Jul 02 '22 14:07 TheWitness

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.

TheWitness avatar Jul 02 '22 14:07 TheWitness

Run an --audit followed by an --update.

TheWitness avatar Jul 02 '22 14:07 TheWitness

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.

tamanullah avatar Jul 03 '22 05:07 tamanullah

Upload your cacti.log

TheWitness avatar Jul 04 '22 22:07 TheWitness

Also, I'm curious why the GT[] is empty.

TheWitness avatar Jul 04 '22 22:07 TheWitness

cacti.log

tamanullah avatar Jul 06 '22 09:07 tamanullah

Do you need anything else? Regarding GT[]?

tamanullah avatar Jul 06 '22 09:07 tamanullah

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.

TheWitness avatar Jul 06 '22 10:07 TheWitness

I have the same issue but only 2 Cisco Devices (1 Switch and 1 Router) are affected.

chrisch80 avatar Jul 25 '22 08:07 chrisch80

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.

TheWitness avatar Aug 09 '22 23:08 TheWitness

Edit your Automation Rules. They are broken. Maybe an upgrade issue.

TheWitness avatar Aug 10 '22 03:08 TheWitness

Which automation rules do you mean? What should I check there?

chrisch80 avatar Aug 17 '22 17:08 chrisch80

Please add a link to device in that report.

interduo avatar Mar 14 '24 08:03 interduo