I presume then that there is no register_enum. Correct?
BR,
Nikos
- Original Message -
From: "Wes Hardaker"
To: "Nikos Balkanas"
Cc: "Wes Hardaker" ;
Sent: Wednesday, December 31, 2008 8:28 PM
Subject: Re: enum registration
>> On Wed, 31 Dec 2008 20:26:52 +0200, "Nikos Balkanas"
> On Wed, 31 Dec 2008 20:26:52 +0200, "Nikos Balkanas"
> said:
NB> net-snmp automatically does type checking according to the
NB> MIB. I.e. it will reject strings if the mib says integer.
The manager code in net-snmp automatically dose type checking (unless
you turn it off). The agent
Hi,
net-snmp automatically does type checking according to the MIB. I.e. it will
reject strings if the mib says integer.
Is it for certain that it doesn't constraint enums (through some strange MIB
setting or other configuration)?
Thanx,
Nikos
- Original Message -
From: "Wes Hardaker"
> On Sun, 28 Dec 2008 13:47:47 +0200, "Nikos Balkanas"
> said:
NB> I am registering an enum scalar, but I don't know how to restrict
NB> snmpset just to the enum values:
You'll need to implement a subhandler and pass that into your
registration function instead of the NULL. And then in
> On Mon, 22 Dec 2008 13:58:09 -0800, "Alex Koifman"
> said:
AK> snmpd -Dd
AK> I use DEBUGMSGTL to log message and I do not see anything in the log.
AK> Why?
Did you use DEBUGMSGTL(("d", ...)) or something else? The above -Dd
option tills it to log anything with a token starting with
> On Mon, 29 Dec 2008 15:37:29 -0800, Pete Kelly said:
PK> We are using the tools to collect traps from telephone network
PK> equipment, think cabinet along the highway, where there are lots (could
PK> be hundreds or thousands) of devices, none of which have a reverse DNS
PK> lookup entry.
> On Tue, 30 Dec 2008 22:23:01 +0200, "Tanya Brudner"
> said:
TB> I have a problem with Get-request on a single mib: SysUpTime.
TB> On a snmpget -v3 . system.sysUpTime.0, it returns
TB> ""DISMAN-EVENT-MIB::sysUpTimeInstance = No such Object available on this
TB> agent at this OID"
Hi,
I am using the shared library approach to interface my application with snmpd.
The entry handle is clearly defined:
init_myapp()
I was wondering what is the exit handle? I need to do some housekeeping before
unloading the library.
I have tried:
exit_myapp()
but it doesn't work.
Thanx,
Or maybe:
snmpwalk 127.0.0.1 | grep DISMAN-EVENT-MIB
To check if DISMAN-EVENT-MIB is even loaded.
BR,
Nikos
- Original Message -
From: venkatasuresh.pamidip...@emerson.com
To: tan...@ceragon.com ; net-snmp-users@lists.sourceforge.net
Sent: Wednesday, December 31, 2008 1:22 PM
Yes, informsink (not infosink), trapsink and trapess are snmpd.conf
parameters that take a host trap receiver as argument. If this host is by
name, it will try to query DNS.
Hosts is good and negates any DNS query.
If you don't have any IP address or hostnames, where do you get the reverse
DNS
Hi Tanya,
NET-SNMP-AGENT-MIB has defined a table "nsModuleTable" which will list
all the OIDs that are registered at SNMPD. Can you just give the
following snmp command on one of the objects of this table to see if the
OID sysUpTime is registered or not. The OID of sysUpTime is
"1.3.6.1.2.1.1.3".
Hi Suresh and thanks for your help,
I tried doing exactly what you advised; however I only see the rest of
the system mibs - out of the 7, I see 6. I see them properly. I can
change them - everything works fine.
Only the sysUpTime is giving me trouble :-)
Any other thoughts?
Thanks in
12 matches
Mail list logo