snmpd.service failed because the control process exited with error code.

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

Moderators: Developers, Moderators

Post Reply
islam
Posts: 7
Joined: Sat May 04, 2024 1:14 am

snmpd.service failed because the control process exited with error code.

Post by islam »

hello I am trying to monitor my Linux Debian VPS using cacti I installed my cacti on other VPS which run Debian also and
I installed snmpd on the server that should be monitored and still the things not cleared why cacti getting error message. However, after playing around the snmpd stop working and start to show error message the configuration file is

Code: Select all

# agentaddress: The IP address and port number that the agent will listen on.
#   By default the agent listens to any and all traffic from any
#   interface on the default SNMP port (161).  This allows you to
#   specify which address, interface, transport type and port(s) that you
#   want the agent to listen on.  Multiple definitions of this token
#   are concatenated together (using ':'s).
#   arguments: [transport:]port[@interface/address],...


agentaddress 127.0.0.1,[::1]


###########################################################################
# SECTION: Access Control Setup
#
#   This section defines who is allowed to talk to your running
#   snmp agent.

# Views
#   arguments viewname included [oid]

#  system + hrSystem groups only
#view     all       included     .1      80
view   systemonly  included   .1.3.6.1.2.1.1
view   systemonly  included   .1.3.6.1.2.1.25.1

the error message showing
https://prnt.sc/4u92d4ba1OPG

I am not sure can you tell me please where is the mistake and where is the tutorials for fixing that issue
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: snmpd.service failed because the control process exited with error code.

Post by TheWitness »

As a beginner I recommend a one-line snmpd.conf configuration file:

Code: Select all

ropassword public
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?
islam
Posts: 7
Joined: Sat May 04, 2024 1:14 am

Re: snmpd.service failed because the control process exited with error code.

Post by islam »

Sorry I don't get you
islam
Posts: 7
Joined: Sat May 04, 2024 1:14 am

Re: snmpd.service failed because the control process exited with error code.

Post by islam »

What is one line file
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: snmpd.service failed because the control process exited with error code.

Post by TheWitness »

/etc/snmp/snmpd.conf
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 1 guest