Recent install of cacti, but cannot find input_whitelist.json file

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
chisle
Posts: 1
Joined: Fri Jan 21, 2022 1:59 pm

Recent install of cacti, but cannot find input_whitelist.json file

Post by chisle »

I need to download/locate the input validation file.

I have installed 1.2.25 on Red Hat Linux 8.8 under /var/www/html/cacti

during the configuration, these instructions are provided:
input Validation Whitelist Protection
....
It is strongly suggested that you update your config.php to enable this feature by uncommenting the $input_whitelist variable and then
....

the config.php is located at

Code: Select all

/var/www/html/cacti/include/config.php
the reference in the file is:

Code: Select all

//$input_whitelist = '/usr/local/etc/cacti/input_whitelist.json';
However, my installation is not under /usr/local/etc/cacti, so I attempt a find operation:

Code: Select all

$ find /var/www/html /usr/ -type f -name input_whitelist.json
but there are no results.

Similarly, I do not find a download link on the cacti.net web site.

Can someone please tell me where I can find the file that I need to use with cacti?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Recent install of cacti, but cannot find input_whitelist.json file

Post by TheWitness »

You have to create it. There is a CLI command to do it for you.
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?
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests