Ignore:
Timestamp:
Sep 14, 2014, 10:08:55 AM (10 years ago)
Author:
huub
Message:

drill vervangt dig in snmpd.conf

File:
1 edited

Legend:

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

    r12895 r12910  
    9292extend .1.3.6.1.4.1.2021.91 vmstat /bin/sh -c "vmstat 1 2"
    9393extend .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]) }'"
    94 extend .1.3.6.1.4.1.2021.93 soa /bin/sh -c "dig +short soa wleiden.net @localhost \| awk '{ print $3 }' \| tail -1"
     94extend .1.3.6.1.4.1.2021.93 soa /bin/sh -c "drill +short soa wleiden.net @localhost \| awk '{ print $3 }' \| tail -1"
    9595extend .1.3.6.1.4.1.2021.94 physmem /bin/sh -c "sysctl -n hw.physmem"
    9696extend .1.3.6.1.4.1.2021.95 internet-status /bin/sh -c "awk  '/internet/ {print}' /tmp/network.status"
Note: See TracChangeset for help on using the changeset viewer.