Add Linux With SNMP Error
Posted: Wed Sep 20, 2017 3:33 am
Hi Support,
i add the LInux OS on Nagios XI but the OID is not available
please assist me
i add the LInux OS on Nagios XI but the OID is not available
please assist me
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
yum install net-snmpCode: Select all
sudo apt-get install snmpd libsnmp-devHi dwasswa,dwasswa wrote:Hi @tsabit,
Before you can monitor a Linux machine using SNMP, you'll need to install and configure it on your linux machine.
On RHEL / CentOS systems use the following command:On Debian / Ubuntu based systems use the following command:Code: Select all
yum install net-snmpPlease follow this guide...https://assets.nagios.com/downloads/nag ... 1493223405 and then when you complete all the steps you may now use the wizard.Code: Select all
sudo apt-get install snmpd libsnmp-dev
Code: Select all
snmpwalk -v 2c -c tmli 192.168.1.84Code: Select all
systemctl start snmpd.serviceCode: Select all
systemctl status snmpd.serviceCode: Select all
snmpd.service - Simple Network Management Protocol (SNMP) Daemon.
Loaded: loaded (/usr/lib/systemd/system/snmpd.service; disabled; vendor preset: disabled)
Active: active (running) since Wed 2017-09-27 11:52:40 CDT; 32s ago
Main PID: 20304 (snmpd)
CGroup: /system.slice/snmpd.service
└─20304 /usr/sbin/snmpd -LS0-6d -f
Code: Select all
161Code: Select all
162Code: Select all
firewall-cmd --list-all Code: Select all
public (active)
target: default
icmp-block-inversion: no
interfaces: ens160
sources:
services: dhcpv6-client ssh
ports: 5666/tcp 161/tcp 80/tcp 5667/tcp 12489/tcp
protocols:
masquerade: no
forward-ports:
sourceports:
icmp-blocks:
rich rules:
Code: Select all
firewall-cmd --zone=public --add-port=<161>/tcp --permanentCode: Select all
firewall-cmd --reloadCode: Select all
firewall-cmd --list-all