Suchen

Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

24.6.2. Running the Net-SNMP Daemon

download PDF
The net-snmp package contains snmpd, the SNMP Agent Daemon. This section provides information on how to start, stop, and restart the snmpd service, and shows how to enable it in a particular runlevel. For more information on the concept of runlevels and how to manage system services in Red Hat Enterprise Linux in general, see Chapter 12, Services and Daemons.

24.6.2.1. Starting the Service

To run the snmpd service in the current session, type the following at a shell prompt as root:
service snmpd start
To configure the service to be automatically started at boot time, use the following command:
chkconfig snmpd on
This will enable the service in runlevel 2, 3, 4, and 5. Alternatively, you can use the Service Configuration utility as described in Section 12.2.1.1, “Enabling and Disabling a Service”.

24.6.2.2. Stopping the Service

To stop the running snmpd service, type the following at a shell prompt as root:
service snmpd stop
To disable starting the service at boot time, use the following command:
chkconfig snmpd off
This will disable the service in all runlevels. Alternatively, you can use the Service Configuration utility as described in Section 12.2.1.1, “Enabling and Disabling a Service”.

24.6.2.3. Restarting the Service

To restart the running snmpd service, type the following at a shell prompt:
service snmpd restart
This will stop the service and start it again in quick succession. To only reload the configuration without stopping the service, run the following command instead:
service snmpd reload
This will cause the running snmpd service to reload the configuration.
Alternatively, you can use the Service Configuration utility as described in Section 12.2.1.2, “Starting, Restarting, and Stopping a Service”.
Red Hat logoGithubRedditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

© 2024 Red Hat, Inc.