cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stats -

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat

Post by macan »

create db backup
run again with --repair
Let the Cacti grow!
ivansaez
Posts: 23
Joined: Wed May 29, 2024 2:45 am

Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat

Post by ivansaez »

did stop the htppd service, created a dump and did the repair:
Repair Completed! All 43 Alters succeeded!
I did again a report and there were 7 new error. I did repair that too and started cacti
But the messages:

Sorry, we could not process your last action.
Save Failed due to field input errors (Check red fields).

are still there.

regards,

Ivan
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat

Post by macan »

show part of cacti log after "Save Failed due to field input errors" problem
Let the Cacti grow!
ivansaez
Posts: 23
Joined: Wed May 29, 2024 2:45 am

Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat

Post by ivansaez »

Macan,

The only thing I see is the admin login:

04-06-2024 07:34:02 - AUTH LOGIN: User 'admin' authenticated

So no other errors/warnings.

regards,

Ivan
ivansaez
Posts: 23
Joined: Wed May 29, 2024 2:45 am

Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat

Post by ivansaez »

Macan,

I see a warning which may be relevant:
SNMPAGENT WARNING: No notification receivers configured for event: cactiNotifyDeviceFailedPoll (CACTI-MIB), severity: medium

regards,

Ivan
ivansaez
Posts: 23
Joined: Wed May 29, 2024 2:45 am

Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat

Post by ivansaez »

macan,

I did copy the script from the old server to the new one and in the old server the path_webroot in the settings is tables is
/usr/share/cacti/site
So I created that folder, site, and copied all the files to that folder. So old an new server have the same tree.
But I did enable binlogging and can see that on the new server this is executed in the database:
REPLACE INTO settings SET name = 'path_webroot', value = '/usr/share/cacti'
So I think php on the new server is possible not able to find some scripts it needs.
How can i define the path_webroot?

regards,

Ivan
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat

Post by macan »

ivansaez wrote: Tue Jun 04, 2024 1:28 am Macan,

I see a warning which may be relevant:
SNMPAGENT WARNING: No notification receivers configured for event: cactiNotifyDeviceFailedPoll (CACTI-MIB), severity: medium

regards,

Ivan
It isn't important. You can disable snmpagent in settings
Let the Cacti grow!
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat

Post by macan »

ivansaez wrote: Tue Jun 04, 2024 5:26 am macan,

I did copy the script from the old server to the new one and in the old server the path_webroot in the settings is tables is
/usr/share/cacti/site
So I created that folder, site, and copied all the files to that folder. So old an new server have the same tree.
But I did enable binlogging and can see that on the new server this is executed in the database:
REPLACE INTO settings SET name = 'path_webroot', value = '/usr/share/cacti'
So I think php on the new server is possible not able to find some scripts it needs.
How can i define the path_webroot?

regards,

Ivan
you can do mysqldump, replace old_path to new_path in dump file and import back
Let the Cacti grow!
ivansaez
Posts: 23
Joined: Wed May 29, 2024 2:45 am

Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat

Post by ivansaez »

macan,

I did sopped httpd, a dump, replaced /usr/share/cacti/site with /usr/share/cacti in dump-file and imported it back but I've still the

Sorry, we could not process your last action.
Save Failed due to field input errors (Check red fields).

messages. Is there an option to enable more debugging?

regards,

Ivan
ivansaez
Posts: 23
Joined: Wed May 29, 2024 2:45 am

Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat

Post by ivansaez »

macan,

I've the idea that cacti is caching some values. I noticed that in table settings the value for settings_smtp_username was 'admin' but we don't use a smtp user. And I checked the old database and these are the smtp values:
select name,value from settings where lower(name) like '%smtp%';
+------------------------+----------------+
| name | value |
+------------------------+----------------+
| settings_smtp_host | smtp.gemehv.nl |
| settings_smtp_port | 25 |
| settings_smtp_secure | none |
| settings_smtp_timeout | 10 |
| settings_smtp_username | |
+------------------------+----------------+

On the new db settings_smtp_username was set to 'admin' so I did make it empty with an update statement. But now if I go to Configuration -> Settings -> Mail/Reporting/DNS I still see admin after SMTP Username.
Where does this come from?
regards,

Ivan
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat

Post by macan »

go to Configuration -> Settings -> Mail/Reporting/DNS
delete username
save
Let the Cacti grow!
ivansaez
Posts: 23
Joined: Wed May 29, 2024 2:45 am

Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat

Post by ivansaez »

macan,

I did that but i resets every time 'SMTP Username' to admin. And If I leave the Mail/Reporting/DNS page it reports:

Unsaved Changes Detected
You have unsaved changes on this form. If you press 'Continue' these changes will be discarded. Press 'Cancel' to continue editing the form.


I noticed PHP-FPM is active. I did read about a clean fpm cache and did execute it but the issue keeps returning. It is driving my crazy.

regards,

Ivan
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat

Post by macan »

try to update to 1.2.27
howto is here
http://docs.cacti.net/Upgrading-Cacti.md
Let the Cacti grow!
ivansaez
Posts: 23
Joined: Wed May 29, 2024 2:45 am

Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat

Post by ivansaez »

Macan,

I started from scratch with 1.27.2 and now it's working. So far I've not see any issues so I think it's good now.
Thanks for your help!

regards,

Ivan
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat

Post by TheWitness »

Glad the packager is keeping up.
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 3 guests