Snmp
Simple network management protocol. Install snmpd and run it. Now query your host with snmpwalk for the keys.
udp port
To test if snmp is listening, a simple nmap is not enough since that only lists TCP ports. Use this command instead
It lists (only) udp ports
snmpwalk
| dump the snmp tree |
|---|
| snmpwalk -v 1 -c public 192.168.50.26
|
Ok that is a lot : here are some snippets from the output :
| output filtered |
|---|
| IP-MIB::ipForwarding.0 = INTEGER: notForwarding(2)
SNMPv2-MIB::sysDescr.0 = STRING: Linux generic-1 2.6.32-504.el6.x86_64 #1 SMP Wed Oct 15 04:27:16 UTC 2014 x86_64
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (149350) 0:24:53.50
IF-MIB::ifDescr.2 = STRING: eth0
IP-MIB::ipAdEntAddr.192.168.50.26 = IpAddress: 192.168.50.26
TCP-MIB::tcpConnectionState.ipv4."192.168.50.26".22.ipv4."192.168.50.254".62598 = INTEGER: established(5)
HOST-RESOURCES-MIB::hrPartitionLabel.393232.1 = STRING: "/dev/sda1"
HOST-RESOURCES-MIB::hrSWRunName.5419 = STRING: "dhclient"
HOST-RESOURCES-MIB::hrSWRunName.5623 = STRING: "ntpd"
HOST-RESOURCES-MIB::hrSWInstalledName.23 = STRING: "srvadmin-rac-components-8.1.0-4.4.7.el6"
|
Really a LOT, you can query these by figuring out the MIB number ... PENDING Also note : this will probably not work from your workstations. It does for the repo servers, but it does not for the jira servers for instance. Login to the machine itself and run it on localhost. Then log in to http://10.11.15.224 and look if opsview can connect.