RE: disman event - monitoring scalar values (net-snmp 5.4)

This is a discussion on RE: disman event - monitoring scalar values (net-snmp 5.4) within the SNMP Coders forums, part of the Networking and Network Related category; >From: "Dave Shield" <D.T.Shield@csc.liv.ac.uk> >To: "Pete Marinec&...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-04-2006
Pete Marinec
 
Posts: n/a
Default RE: disman event - monitoring scalar values (net-snmp 5.4)

>From: "Dave Shield" <D.T.Shield@csc.liv.ac.uk>
>To: "Pete Marinec" <chiefwigms@hotmail.com>
>CC: net-snmp-coders@lists.sourceforge.net
>Subject: Re: disman event - monitoring scalar values (net-snmp 5.4)
>Date: Mon, 4 Dec 2006 09:13:20 +0000
>
>On 28/11/06, Pete Marinec <chiefwigms@hotmail.com> wrote:
>>For example
>>manager does a SET request for a BIT saying execute (an INT 1), the agent
>>receives the set, then notifies saying the BIT has completed,

>
>That is presumably in addition to the RESPONSE, sent back to say that the
>SET succeeded?
>


yes

>
>>I am having trouble implementing the TRAPS. I've looked into using the
>>DISMAN EVENT to monitor the scalars (using a boolean monitor test) to send
>>a
>>notificationEvent (with the -n option) so that the payload has all the
>>OBJECTs (per MIB file) & their respective values (from the agent), however
>>I
>>never receive any of these notifications (my snmpd.conf file seems to be
>>setup correctly) (running the snmpd with debug doesn't say anything gets
>>sent either).. does the disman event monitor scalars?

>
>It should do, yes.
>Try specifying the monitor command using the "-I" (capital i) flag,
>and giving the exact OID (i.e. including the .0 instance subidentifier)
>
>If that still doesn't work, try running the agent with the option -Ddisman,
>too give some indication what's happening.
>
>Dave


i tried with the -I, including the .0 - no change in output. With debug, no
messages are displayed..

I also tried using the "-n" option, with the notification type being
specified followed by -n, and nothing else, however i get an "Error: unable
to parse an object oid"
also i tried changing the monitor test ot a "!=OID"
and i get "Error: unable to parse oid !=bitCurrentState.0"

I tried all combinations of spacing, removing the -I and .0 etc... it still
gives those errors and no notifications...

I'm running with v5.4 (disman is built in), I can receive the coldstart
trap.. I just have no idea why its not firing

__________________________________________________ _______________
MSN Shopping has everything on your holiday list. Get expert picks by style,
age, and price. Try it!
http://shopping.msn.com/content/shp/...ode=wlmtagline


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?p...rge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:11 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0