Need help in SNMP V3 configuration

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

Moderators: Developers, Moderators

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

Re: Need help in SNMP V3 configuration

Post by TheWitness »

Uninstall php-snmp and restart both apache and php-fpm.
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?
arnab2510
Posts: 13
Joined: Thu Oct 27, 2022 8:48 am

Re: Need help in SNMP V3 configuration

Post by arnab2510 »

We uninstalled php-snmp and restarted both apache and php-fpm.

1>Now, For V3 devices, the error has changed in the "Device" configuration page as below. Device status are Down.

SNMP Information
Host SNMP error
2> A V2 Device is configured and status is showing UP but Server is not plotting the graph


Logs:
03/18/2024 15:40:59 - SYSTEM STATS: Time:0.4358 Method:cmd.php Processes:1 Threads:1 Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:0
03/18/2024 15:40:59 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:40:59 - POLLER: Poller[Main Poller] PID[399082] Maximum runtime of 298 seconds exceeded. Exiting.
03/18/2024 15:39:59 - SYSTEM STATS: Time:0.2855 Method:cmd.php Processes:1 Threads:1 Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:0
03/18/2024 15:39:59 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:39:59 - POLLER: Poller[Main Poller] PID[399082] Maximum runtime of 298 seconds exceeded. Exiting.
03/18/2024 15:39:59 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:39:59 - SYSTEM STATS: Time:297.6408 Method:cmd.php Processes:1 Threads:1 Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:0
03/18/2024 15:39:59 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:39:59 - POLLER: Poller[Main Poller] PID[399082] Maximum runtime of 298 seconds exceeded. Exiting.
03/18/2024 15:38:02 - SYSTEM MAINT STATS: Time:0.12
03/18/2024 15:38:00 - SYSTEM STATS: Time:0.2776 Method:cmd.php Processes:1 Threads:1 Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:0
03/18/2024 15:38:00 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:38:00 - POLLER: Poller[Main Poller] PID[398712] Maximum runtime of 298 seconds exceeded. Exiting.
03/18/2024 15:37:00 - SYSTEM STATS: Time:0.3091 Method:cmd.php Processes:1 Threads:1 Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:0
03/18/2024 15:37:00 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:37:00 - POLLER: Poller[Main Poller] PID[398712] Maximum runtime of 298 seconds exceeded. Exiting.
03/18/2024 15:36:00 - SYSTEM STATS: Time:0.3096 Method:cmd.php Processes:1 Threads:1 Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:0
03/18/2024 15:36:00 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:36:00 - POLLER: Poller[Main Poller] PID[398712] Maximum runtime of 298 seconds exceeded. Exiting.
03/18/2024 15:35:00 - SYSTEM STATS: Time:0.2943 Method:cmd.php Processes:1 Threads:1 Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:0
03/18/2024 15:35:00 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:35:00 - POLLER: Poller[Main Poller] PID[398712] Maximum runtime of 298 seconds exceeded. Exiting.
03/18/2024 15:35:00 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:34:59 - SYSTEM STATS: Time:298.7596 Method:cmd.php Processes:1 Threads:1 Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:0
03/18/2024 15:34:59 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:34:59 - POLLER: Poller[Main Poller] PID[398712] Maximum runtime of 298 seconds exceeded. Exiting.
03/18/2024 15:33:02 - SYSTEM MAINT STATS: Time:0.12
03/18/2024 15:33:00 - SYSTEM STATS: Time:0.2788 Method:cmd.php Processes:1 Threads:1 Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:0
03/18/2024 15:33:00 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:33:00 - POLLER: Poller[Main Poller] PID[398024] Maximum runtime of 298 seconds exceeded. Exiting.
03/18/2024 15:32:00 - SYSTEM STATS: Time:0.3016 Method:cmd.php Processes:1 Threads:1 Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:0
03/18/2024 15:32:00 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:32:00 - POLLER: Poller[Main Poller] PID[398024] Maximum runtime of 298 seconds exceeded. Exiting.
03/18/2024 15:31:00 - SYSTEM STATS: Time:0.3025 Method:cmd.php Processes:1 Threads:1 Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:0
03/18/2024 15:31:00 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:31:00 - POLLER: Poller[Main Poller] PID[398024] Maximum runtime of 298 seconds exceeded. Exiting.
03/18/2024 15:30:00 - SYSTEM STATS: Time:0.2772 Method:cmd.php Processes:1 Threads:1 Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:0
03/18/2024 15:30:00 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:30:00 - POLLER: Poller[Main Poller] PID[398024] Maximum runtime of 298 seconds exceeded. Exiting.
03/18/2024 15:30:00 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:29:59 - SYSTEM STATS: Time:298.6388 Method:cmd.php Processes:1 Threads:1 Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:0
03/18/2024 15:29:59 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:29:59 - POLLER: Poller[Main Poller] PID[398024] Maximum runtime of 298 seconds exceeded. Exiting.
03/18/2024 15:28:02 - SYSTEM MAINT STATS: Time:0.11
03/18/2024 15:28:00 - SYSTEM STATS: Time:0.2935 Method:cmd.php Processes:1 Threads:1 Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:0
03/18/2024 15:28:00 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:28:00 - POLLER: Poller[Main Poller] PID[397257] Maximum runtime of 298 seconds exceeded. Exiting.
03/18/2024 15:27:00 - SYSTEM STATS: Time:0.2783 Method:cmd.php Processes:1 Threads:1 Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:0
03/18/2024 15:27:00 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:27:00 - POLLER: Poller[Main Poller] PID[397257] Maximum runtime of 298 seconds exceeded. Exiting.
03/18/2024 15:26:00 - SYSTEM STATS: Time:0.2872 Method:cmd.php Processes:1 Threads:1 Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:0
03/18/2024 15:26:00 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:26:00 - POLLER: Poller[Main Poller] PID[397257] Maximum runtime of 298 seconds exceeded. Exiting.
03/18/2024 15:25:00 - SYSTEM STATS: Time:0.2870 Method:cmd.php Processes:1 Threads:1 Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:0
03/18/2024 15:25:00 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:25:00 - POLLER: Poller[Main Poller] PID[397257] Maximum runtime of 298 seconds exceeded. Exiting.
03/18/2024 15:24:59 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:24:59 - SYSTEM STATS: Time:298.7162 Method:cmd.php Processes:1 Threads:1 Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:0
03/18/2024 15:24:59 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:24:59 - POLLER: Poller[Main Poller] PID[397257] Maximum runtime of 298 seconds exceeded. Exiting.
03/18/2024 15:23:02 - SYSTEM MAINT STATS: Time:0.13
03/18/2024 15:23:00 - SYSTEM STATS: Time:0.2940 Method:cmd.php Processes:1 Threads:1 Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:0
03/18/2024 15:23:00 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:23:00 - POLLER: Poller[Main Poller] PID[396890] Maximum runtime of 298 seconds exceeded. Exiting.
03/18/2024 15:22:00 - SYSTEM STATS: Time:0.2852 Method:cmd.php Processes:1 Threads:1 Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:0
03/18/2024 15:22:00 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:22:00 - POLLER: Poller[Main Poller] PID[396890] Maximum runtime of 298 seconds exceeded. Exiting.
03/18/2024 15:21:00 - SYSTEM STATS: Time:0.2860 Method:cmd.php Processes:1 Threads:1 Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:0
03/18/2024 15:21:00 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:21:00 - POLLER: Poller[Main Poller] PID[396890] Maximum runtime of 298 seconds exceeded. Exiting.
03/18/2024 15:20:00 - SYSTEM STATS: Time:0.2692 Method:cmd.php Processes:1 Threads:1 Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:0
03/18/2024 15:20:00 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
03/18/2024 15:20:00 - POLLER: Poller[Main Poller] PID[396890] Maximum runtime of 298 seconds exceeded. Exiting.
03/18/2024 15:19:59 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
Attachments
Capture.JPG
Capture.JPG (36.32 KiB) Viewed 185 times
arnab2510
Posts: 13
Joined: Thu Oct 27, 2022 8:48 am

Re: Need help in SNMP V3 configuration

Post by arnab2510 »

Sir, We have been trying to install the application for a long time and our organization is suffering a lot. we shall remain ever grateful if we could have your expert advice to complete the deployment as early as possible.
Also, Kindly advise if there is any document that can help me in installing the SNMP V3, SHA 256, and AES 256 configuration.
Thanks in advance.
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Need help in SNMP V3 configuration

Post by Osiris »

If it's v2, then keep it that way. Also, don't use cmd.php for production. Use spine.
Before history, there was a paradise, now dust.
arnab2510
Posts: 13
Joined: Thu Oct 27, 2022 8:48 am

Re: Need help in SNMP V3 configuration

Post by arnab2510 »

Sir, V2 device has been configured for test purposes in this setup. we already have V2 servers on production.
Now, Due to security reasons, V3 is made mandatory. Kindly suggest the required changes in this current setup.
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Need help in SNMP V3 configuration

Post by TheWitness »

Well, test using snmpget and snmpwalk. Make sure you are using spine and not cmd.php. Once you get those two commands working from the command line, post the syntax you have to use obfuscating the passphrase's and hostnames of course.
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?
arnab2510
Posts: 13
Joined: Thu Oct 27, 2022 8:48 am

Re: Need help in SNMP V3 configuration

Post by arnab2510 »

Is there any specific version of Spine that needs to be installed or any version will do?
Also, any other module & version that is required? Kindly suggest.
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Need help in SNMP V3 configuration

Post by TheWitness »

Post the snmpwalk and snmpget first, and then we can talk more.
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 0 guests