The first and fourth traps are the standard DisMan Event MIB trap
mteTriggerFired (again with two copies, becuase you've got two
trap*sink directives).
So, anytime when I use DisMan for generating a trap, I get
mteTriggerFired trap too? Is it possible to somehow suppress that?
Now I'm not
2009/5/28 Filka Michal michal.fi...@sitronicsts.com:
So, anytime when I use DisMan for generating a trap, I get
mteTriggerFired trap too? Is it possible to somehow suppress that?
It shouldn't work that way.
What version of the agent are you using?
~# snmpd --version
NET-SNMP version:
2009/5/27 Radhika Srivatsa radsr...@gmail.com:
One more question though --- to run the smilint, we would have to load
all the other MIBs that are listed in the IMPORTS section though,
right?
Just go to the web address mentioned in the FAQ.
There's a form where you can upload the MIB file and
2009/5/28 Richard Gipps richa...@triodatacom.com:
Did you mean monitor -I rather than -i?
Sorry - yes.
I mis-read the man page.
when I apply this to the monitor expressions none of the traps
fire (even when they are supposed to).
Did you remember to adjust the OID to add the instance
2009/5/28 Richard Gipps richa...@triodatacom.com:
I have added am object to my MIB with read-write access, but when
I run mib2c with the following parameters it does not generate any
code for setting variables.
mib2c -c mib2c.scalar.conf trioDatacom
mib2c should generate a SET processing
Hi Dave,
Is this the only way to do it? Are there any alternatives other than changing
the read_mib function?
Regards,
Sowmya
-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Tuesday, May 26, 2009 5:19 PM
To: Sowmya
2009/5/28 Sowmya P Venkatesh svenkat...@ixiacom.com:
Is this the only way to do it? Are there any alternatives other than changing
the read_mib function?
I can't think of anything.
You've asked for functionality that isn't provided by the current code,
so you're going to have to change it.
And
Hi Dave,
Actually I may have spoken a bit too early! While this fix has remedied
the problem I was having I have just realized that now, when a trap is sent the
value of the object in the payload is noSuchInstance whereas without the -I,
the correct value appeared. Is there something
Hi Dave,
I checked the instance of the file and the object definitely
has read-write access. I have attached the mib file.
Regards,
Richard.
-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Thursday,
2009/5/28 Richard Gipps richa...@triodatacom.com:
I checked the instance of the file and the object definitely has read-write
access.
I have attached the mib file.
Is there any reason why you're using the obsolete SMIv1 format?
I've checked, and if you re-write the MIB in SMIv2, then mib2c
Ah - that might possibly be relevant,
There was a complete re-write of the Event-MIB support
introduced with the 5.3.x line. The 5.2.x version is
relatively untested (and no longer actively supported).
I would strongly suggest you try with a more recent version
of the agent.
... I
Thanks Dave.
I just came across a function snmp_get_token. This takes a file as a pointer
and sets the token. Is this token the mib name?
Regards,
sowmya
-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Thursday,
2009/5/28 Sowmya P Venkatesh svenkat...@ixiacom.com:
I just came across a function snmp_get_token. This takes a file as a pointer
and sets the token. Is this token the mib name?
No.
This routine will be called repeatedly when parsing the MIB file,
and will return the next token from the file.
I have spent a lot of time trying to get snmp_log() output from the
net-snmp code, specifically the snmp_log() msgs that are sent from
snmp_agent.cpp
The only one I am able to get is:
Received SNMP packet(s) from UDP: [10.11.12.116]:3739
GETBULK message, non-rep=0, max_rep=10
--
2009/5/28 Joan Landry joan.lan...@overturenetworks.com:
Does anyone know what the trick is to getting all the msgs to a logfile?
Have you tried -Lf /tmp/snmp.log ?
Dave
--
Register Now for Creativity and Technology
Thanks - that works as far as putting the messages to a logfile.
I realize now what I really want is the msgs generated via
DEBUGMSGTL
Do you know how I an get that output also?
Thanks so much for your help!
-Original Message-
From: dave.shi...@googlemail.com
2009/5/28 Joan Landry joan.lan...@overturenetworks.com:
This is my snmpd input line
OPTIONS=-Lf /tmp/snmp.log -Dhandler:inject -Ddebug -Dwarning -Dinfo
-Derror -DAll -p /var/run/snmpd.pid -V ..
Try starting the agent with '-f -Le' plus the same list of -D tokens.
What do you see logged?
This is my snmpd input line
OPTIONS=-Lf /tmp/snmp.log -Dhandler:inject -Ddebug -Dwarning -Dinfo
-Derror -DAll -p /var/run/snmpd.pid -V ..
When registering my mib I call the function
netsnmp_tdata_register(reg, ovnNGSysIpTable_data, table_info);
which calls netsnmp_tdata_register
2009/5/28 Joan Landry joan.lan...@overturenetworks.com:
Thanks - that works as far as putting the messages to a logfile.
I realize now what I really want is the msgs generated via
DEBUGMSGTL
They should be logged to the same place as any other message.
So if you turn on a particular debug
-f -Le -Dhandler:inject -Ddebug or
-f /tmp/snmp.log -Le -Dhandler:inject -Ddebug or
-Lo -Dhandler:inject -Ddebug
yeilded no log file - all msgs went to screen but only had the output from
snmp_log msgs - none from the DEBUG handler:inject
-Original Message-
From:
2009/5/28 Joan Landry joan.lan...@overturenetworks.com:
-f -Le -Dhandler:inject -Ddebug or
-f /tmp/snmp.log -Le -Dhandler:inject -Ddebug or
-Lo -Dhandler:inject -Ddebug
yeilded no log file
which is as expected
(Note that the second invocation is invalid - please re-read
the meaning of
Dave,
I was not sure what token you were referring to in the mib module so to make
things really simple I decided to see if I could get a debug msg out of the
agent_trap.c file from the function netsnmp_send_traps function - which has at
the very top of the function:
DEBUGMSGTL(( trap,
Hi!
To write a value, we need to assign a function to write_method. The
function will be called several time with a different action each time
(RESERVE1, RESERVE2, ACTION, COMMIT, UNDO, FREE). The function will also
have access to OID to be written and to the value from GET.
Looking at
Hi all,
I am pretty new to SNMP but I successfully used snmpset, snmpget and snmpwalk
with some of our devices in the network. However, with all of these commands I
need to have a host name (IP address) of the device I would like to read or
write values of. Because I simply cannot know all the
Is Gauge64 defined in the snmp standard?
I googled but did not find its definition, so I assume it is not defined, isn't
it?
__
Looking for the perfect gift? Give the gift of Flickr!
http://www.flickr.com/gift/
Hi!
I have read a bit NetSNMP sources and I think I have found some
interesting bits to answer myself.
BTW, why is there a lookup before each action? I mean, the workflow is:
var_atEntry lookups the entry and sets write_method.
write_arp is called with action == RESERVE1
From: Vincent Bernat [mailto:ber...@luffy.cx]
Sent: Thursday, May 28, 2009 2:51 PM
OoO En ce début de soirée du jeudi 28 mai 2009, vers 21:23,
PoWah Wong
wong_po...@yahoo.ca disait :
Is Gauge64 defined in the snmp standard?
It is not part of SMIv2. You can use
27 matches
Mail list logo