I was trying to use the monitor/proc facility that's built into snmpd,
but it turns out the processes I need to monitor are not providing
a unique enough name in hrSWRunName (which is used by 'proc')
[A useful name is available in hrSWRunPath instead, but 'proc' doesn't
use that field.]
So I thought I'd learn and see if the generic dismanExpression mechanism
could 'do my job'.
The first thing I think I need to do is create an entry in
the expExpressionTable. The MIB says I need to do is:
"New expressions can be created using expExpressionRowStatus.
To create an expression first create the named entry in this table."
a) the MIB doesn't have a expExpressionRowStatus but it does have
a expExpressionEntryStatus (so I assume this is a typo thats never
been fixed).
b) so I try to write a 'create and wait' value to a new entry
to cause it to create the row. But that fails with:
Reason: notWritable (That object does not support modification)
I assume:
a) I need to use V3 to accomplish this.
b) the expExpressionOwner must match the -u username
I tried:
snmpset -v3 -u fulkow -a MD5 -A mypassword -l authPriv -x DES \
-X mypassword -n "" localhost 1.3.6.1.2.1.90.1.2.1.1.9."fulkow"."test" i 5
[FYI: Yes, I have been able to prove that I can write to the sysContact
using v3. So I think I'm past any basic problems, and am now
only having dismanExpression problems.]
Searching the internet, so far, I haven't been able to find any
examples of using this MIB.
Any help or pointers would be appreciated.
Fulko
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users