RE: More questions on exec/extend

"Lambert, Eric" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <FA5C3DE5A5443C4EBD3C5935484222BB010EDD01@CHMAIL03.citadelgroup.com>
Thanks again Dave.  I added the following line to snmpd.conf, but get
the error below when I restart snmpd:

monitor -r 10 -u citadelInternal
NET-SNMP-EXTEND-MIB::nsExtendResult."swap_percent" = 0


Apr 25 15:19:44 lx-chtdell2950 snmpd[14938]: trigger OID: =
Apr 25 15:19:44 lx-chtdell2950 snmpd[14938]: /etc/snmp/snmpd.conf: line
99: Error: unknown monitor OID
Apr 25 15:19:44 lx-chtdell2950 snmpd[14938]: net-snmp: 1 error(s) in
config file(s)

-Eric

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dave Shield
Sent: Wednesday, April 25, 2007 3:14 PM
To: Lambert, Eric
Cc: [email protected]
Subject: Re: More questions on exec/extend

On 25/04/07, Lambert, Eric <[email protected]> wrote:
> From a quick read of the NET-SNMP-EXTEND-MIB file am I correct in
> assuming that the NET-SNMP-EXTEND-MIB::nsExtendResult."swap_percent"
> line is the integer result of the command I want to use as the
argument
> in my "monitor" statement?

That's the "exit $PCT" value from your script.
Because it's an integer value, it can indeed be used as the target
of a "monitor" statement.


Dave
-------------------------------------------------------------------------------------------------
-------------------------

CONFIDENTIALITY AND SECURITY NOTICE 

The contents of this message and any attachments may be privileged, confidential and proprietary and also may be covered by the Electronic Communications Privacy Act.  If you are not an intended recipient, please inform the sender of the transmission error and delete this message immediately without reading, disseminating, distributing or copying the contents.  Citadel makes no assurances that this e-mail and any attachments are free of viruses and other harmful code. 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.