Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cacti Sending Device Reboot Notification After upgrade #151

Open
tamanullah opened this issue Jul 2, 2022 · 15 comments
Open

Cacti Sending Device Reboot Notification After upgrade #151

tamanullah opened this issue Jul 2, 2022 · 15 comments

Comments

@tamanullah
Copy link

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

@TheWitness
Copy link
Member

Just truncate the poller_reindex table:

TRUNCATE TABLE poller_reindex;

@TheWitness
Copy link
Member

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

@TheWitness
Copy link
Member

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
Copy link
Member

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

@tamanullah
Copy link
Author

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.

@TheWitness
Copy link
Member

Upload your cacti.log

@TheWitness
Copy link
Member

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

@tamanullah
Copy link
Author

cacti.log

@tamanullah
Copy link
Author

Do you need anything else? Regarding GT[]?

@TheWitness
Copy link
Member

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.

@chrisch80
Copy link

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

@TheWitness
Copy link
Member

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 TheWitness transferred this issue from Cacti/cacti Aug 9, 2022
@TheWitness
Copy link
Member

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

@chrisch80
Copy link

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

@interduo
Copy link

Please add a link to device in that report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants