I've got a server running Postgresql 9.1 replication. I wrote a script which prints out the current replication lag (master inserts a unix timestamp every 60s, and the slave compares it to the current timestamp).
I've added
extend replag /usr/local/bin/check_lag_quietly.sh
to snmpd.conf
, and restarted the snmpd
service, but when I snmpwalk the host, either from localhost, or from another machine on the network, I can see all of the other OIDs, but not this one.
If I do SNMP-Get as
tom.oconnor@charcoal-black:~$ snmpget -v2c -cpublic dns-2 UCD-SNMP-MIB::extTable
UCD-SNMP-MIB::extTable = No Such Object available on this agent at this OID
Then it can't find the OID there either.
Net-SNMP version 5.4.2.1, Ubuntu 10.04.