cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stats -
Moderators: Developers, Moderators
Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat
create db backup
run again with --repair
run again with --repair
Let the Cacti grow!
Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat
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
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
Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat
show part of cacti log after "Save Failed due to field input errors" problem
Let the Cacti grow!
Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat
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
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
Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat
Macan,
I see a warning which may be relevant:
SNMPAGENT WARNING: No notification receivers configured for event: cactiNotifyDeviceFailedPoll (CACTI-MIB), severity: medium
regards,
Ivan
I see a warning which may be relevant:
SNMPAGENT WARNING: No notification receivers configured for event: cactiNotifyDeviceFailedPoll (CACTI-MIB), severity: medium
regards,
Ivan
Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat
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
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
Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat
It isn't important. You can disable snmpagent in settings
Let the Cacti grow!
Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat
you can do mysqldump, replace old_path to new_path in dump file and import backivansaez 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
Let the Cacti grow!
Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat
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
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
Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat
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
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
Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat
go to Configuration -> Settings -> Mail/Reporting/DNS
delete username
save
delete username
save
Let the Cacti grow!
Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat
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
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
Re: cacti_user_stats.php PINE: Poller[Main Poller] Device[System Device] DS[Cacti Stats - User Stats] Graphs[Cacti Stat
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
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
- 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
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?
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?
Who is online
Users browsing this forum: No registered users and 0 guests