OSSP CVS Repository |
|
_ ___ ____ ____ ____ _ |_|_ _ / _ \/ ___/ ___|| _ \ ___ _ __ _ __ ___ _ __ __| |_ __ _|_||_| | | | \___ \___ \| |_) | / __| '_ \| '_ ` _ \| '_ \ / _` \ \/ / |_||_|_| | |_| |___) |__) | __/ \__ \ | | | | | | | | |_) | (_| |> < |_|_|_| \___/|____/____/|_| |___/_| |_|_| |_| |_| .__/ \__,_/_/\_\ |_| OSSP snmpdx - SNMP Daemon Extension BRAINSTORM ========== * 1.3 - ISO Identified Organization * 1.3.6 - US Department of Defense * 1.3.6.1 - OID assignments from 1.3.6.1 - Internet * 1.3.6.1.4 - Internet Private * 1.3.6.1.4.1 - IANA-registered Private Enterprises * 1.3.6.1.4.1.4007 - Cable & Wireless Plc Cable & Wireless Communications plc Brian Norris <brian.norris@cwcom.co.uk> Brian Morris <brian.morris@uk.ibm.com> http://www.iana.org/assignments/enterprise-numbers http://www.iana.org/cgi-bin/enterprise.pl http://www.alvestrand.no/objectid/top.html ----------------------------------------------------------------------- pass .1.3.6.1.4.1.2021.255 /path/to/probe $ /path/to/probe -g .1.3.6.1.4.1.2021.255 .1.3.6.1.4.1.2021.255 integer 42 pass_persist .1.3.6.1.4.1.2021.255 /path/to/probe > PING < PONG > GET > .1.3.6.1.4.1.2021.255 < .1.3.6.1.4.1.2021.255 < integer < 42 > GET > .1.2.3 < NONE /cw/bin/snmpget -cpublic -v2c -mALL 127.0.0.1 .1.3.6.1.4.1.4007.42.1 /cw/bin/snmpwalk -cpublic -v2c -mALL 127.0.0.1 .1.3.6.1.4.1.4007.42.1 /cw/bin/snmpwalk -M /u/rse/prj/snmp/snmpdx.d -cpublic -v2c -mALL 127.0.0.1 .1.3.6.1.4.1.4007.42 ----------------------------------------------------------------------- o hardware o CPU - number of - speed (mhz) - temperature o RAM - available - used - bank status (ok) o Disk o Logical - number of (parts) - available (space) - used - status o Physical - number of (parts) - available (space) - used - status - temperature o Power - number of (parts) - temperature - operating/shutdown o Chassis - open/closed - temperature o software o Operating System - uptime - load average (5/10/15) - processes - logged in users - virtual memory - swap space (available/used) - RAM space (available/used) o Packages (installed) - Vendor - name, version - status (verified ok) - OpenPKG (multiple instances!) - name, version - status (verified ok) o Processes (running) - running