Changeset 10247 in hybrid for branches/releng-9.0/nanobsd


Ignore:
Timestamp:
Mar 19, 2012, 3:00:13 PM (13 years ago)
Author:
richardvm
Message:

allows me to get a list of the clients which used this proxy

File:
1 edited

Legend:

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

    r10228 r10247  
    8787extend .1.3.6.1.4.1.2021.71 portal-users /bin/sh -c "cat /var/db/clients \| awk '{ print $1,$2,$3 }'"
    8888extend .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 }'"
     89extend .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 "
    8990
    9091extend .1.3.6.1.4.1.2021.80 etc-checksum /bin/sh -c "cat `find /etc` \| md5"
Note: See TracChangeset for help on using the changeset viewer.