Changeset 12895 in hybrid for branches/releng-10/nanobsd


Ignore:
Timestamp:
Sep 7, 2014, 11:24:15 AM (10 years ago)
Author:
huub
Message:

network-status OIDs toegevoegd aan snmpd

File:
1 edited

Legend:

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

    r12889 r12895  
    8181extend .1.3.6.1.4.1.2021.72 arp-users /bin/sh -c "cat /var/db/connect.gone \| awk '{ print $1,$2,$3,$4,$5 }'"
    8282extend .1.3.6.1.4.1.2012.73 proxy-users bin/sh -c "cat /var/log/tinyproxy.log \| grep -v 2cnode \| awk '/.wleiden.net/ { print $2,$3,$11 }' \| tr -d '[]' \| sort \| uniq "
    83 extend .1.3.6.1.4.1.2012.74 inet-alive bin/sh -c "cat /tmp/network.status"
    8483
    8584extend .1.3.6.1.4.1.2021.80 etc-checksum /bin/sh -c "cat `find /etc` \| md5"
     
    8786extend .1.3.6.1.4.1.2021.82 build-box /bin/sh -c "uname -v \| awk '{ print $10 }' \| cut -d \\: -f 1"
    8887extend .1.3.6.1.4.1.2021.83 freebsd-ver /bin/sh -c "uname -r"
    89 extend .1.3.6.1.4.1.2021.84 wl-ver /bin/sh -c "cat /tools/wl-release.txt \| awk '/Revision/ {print $2 }' "
     88extend .1.3.6.1.4.1.2021.84 wl-ver /bin/sh -c "cat /tools/wl-release.txt | awk '/Revision/ {print $2 }' "
    9089extend .1.3.6.1.4.1.2021.85 wl-date /bin/sh -c "cat /tools/wl-release.txt | awk '/Changed\ Date/ {print $4,$5 }'"
    9190
     
    9594extend .1.3.6.1.4.1.2021.93 soa /bin/sh -c "dig +short soa wleiden.net @localhost \| awk '{ print $3 }' \| tail -1"
    9695extend .1.3.6.1.4.1.2021.94 physmem /bin/sh -c "sysctl -n hw.physmem"
     96extend .1.3.6.1.4.1.2021.95 internet-status /bin/sh -c "awk  '/internet/ {print}' /tmp/network.status"
     97extend .1.3.6.1.4.1.2021.96 proxy-status /bin/sh -c "awk  '/proxy/ {print}' /tmp/network.status"
     98
Note: See TracChangeset for help on using the changeset viewer.