NETWORK ADMINISTRATIONSsnmp

Zabbix Part 7 Configure SNMP Hosts in Zabbix

1.Install SNMP daemon
-sudo apt install snmpd
2.configure it and set the agent address
-sudo nano /etc/snmp/snmpd.conf
-agentAddress udp:161
-rocommunity zabbixcommunity default -V systemonly
-rocommunity6 zabbixcommunity default -V systemonly
-sudo service snmpd restart
3.add a firewall rule to block all
-iptables -A INPUT -p udp -s 172.17.13.50 –dport 161 -j ACCEPT
-iptables -A INPUT -p udp -s localhost –dport 161 -j ACCEPT
-iptables -A INPUT -p udp –dport 161 -j DROP
-iptables -L
4.Install SNMP daemon
-sudo apt install snmpd
5.Query Grafana Server
-snmpwalk -v 2c -c zabbixcommunity 172.17.13.50

source

by Enetwork TV Official

simple network management protocol

Leave a Reply

Your email address will not be published. Required fields are marked *