Changeset 11015 in hybrid


Ignore:
Timestamp:
May 27, 2012, 10:54:08 AM (12 years ago)
Author:
richardvm
Message:

extra info needed for monitoring the node's status.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-9.0/nanobsd/files/usr/local/etc/snmp/snmpd.conf

    r10417 r11015  
    8989extend .1.3.6.1.4.1.2021.85 wl-date /bin/sh -c "cat /tools/wl-release.txt | awk '/Changed\ Date/ {print $4,$5 }'"
    9090
     91extend .1.3.6.1.4.1.2021.90 uptime /bin/sh -c "uptime"
     92extend .1.3.6.1.4.1.2021.91 vmstat /bin/sh -c "vmstat 1 2"
     93extend .1.3.6.1.4.1.2021.92 uptime /bin/sh -c "uptime \| awk '{ split($5,a,\":\"); print ($3*60*24+a[1]*60+a[2]) }'"
     94extend .1.3.6.1.4.1.2021.93 soa /bin/sh -c "dig +short soa wleiden.net @localhost \| awk '{ print $3 }' \| tail -1"
     95extend .1.3.6.1.4.1.2021.94 physmem /bin/sh -c "sysctl -n hw.physmem"
Note: See TracChangeset for help on using the changeset viewer.