Hi,
I wonder if snmpset can be turned off without recompiling the source code?
ThanksXuan--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of vi
Please see my inline response.
> XZ> 2. From the man page of snmpd.conf, it supports Process
> XZ>Monitoring. To enable it, simply adding "proc xxx" where xxx is
> XZ>the process name to snmpd.conf.I tried on Net-SNMP 5.5, it worked
> XZ>fine with short process names. For example a pr
Hi,
I have two questions on Net-SNMP 5.5:
1. snmpwalk on SNMP-VIEW-BASED-ACM-MIB gives the
following:..SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStatus."_none_".1.1
= INTEGER:
active(1)SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStatus."_none_".1.2 =
INTEGER:
active(1)SNMP-VIEW-BASED-ACM-
Version 5.5 did have the fix for the problem I described.
Thank you very much.
Xuan
> Date: Mon, 17 May 2010 22:11:43 +0100
> Subject: Re: AgentX bug?
> From: d.t.shi...@liverpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> On 17 May 2
Please see my responses inline.
> Date: Mon, 17 May 2010 19:54:29 +0100
> Subject: Re: AgentX bug?
> From: d.t.shi...@liverpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> On 17 May 2010 16:57, X Z wrote:
> > I added two scalars to NET-SN
Hi,
I added two scalars to NET-SNMP-EXAMPLES MIB: MyVal1 and MyVal2 which are
ASN_COUNTER64 type. And I wrote an AgentX subagent to answer snmpget requests
for the two Counter64 scalars.
A snmpget on a single OID can return the correct value.
For example:
snmpget -v2c -c public xxx NET-SNMP-EXA
ceforge.net
> From: kmcl...@us.ibm.com
> Date: Fri, 14 May 2010 15:38:46 -0500
>
> Does it work with snmpbulkget?
>
>
> Kathy McLeod
> Dept S82 CCB - SNMP
> IBM Rochester, MN
> (507) 253-4803
>
>
>
Hi,
I ran the AgentX subagent to answer the queries for OID1 and OID2 which are
ASN_COUNTER64 type.
A snmpget on a single OID can return the correct value.
For example:
snmpget -v2c -c public xxx OID1
OID1 = 327990
snmpget -v2c -c public xxx OID2
OID2 = 78890
A snmpget on two OIDs returned erro
Hi,
I ran into snmpget timeout error when running
snmpget -v2c -c public xxx OID1 OID2
and it only happened when both OID1 and OID2 are of type counter64. snmpget on
either OID1 or OID2 can return the correct counter64 value.
It worked just fine if I ran "snmpget -v2c -c public xxx OID3 OID4" wh
k
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> 2010/4/7 X Z :
> > Here are the original c & h files.
>
> The problem lies with the registration of the table.
> In particular, how you specified the list of indexes.
>
> You had:
>
> netsn
10:38:10 +0100
> Subject: Re: "failed to run mteTrigger query" due to AgentX
> From: d.t.shi...@liverpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> On 8 April 2010 15:47, X Z wrote:
> > I searched through the email lists and find out th
; CC: net-snmp-users@lists.sourceforge.net
>
> > From: X Z [mailto:b...@live.com]
> > Sent: Thursday, April 08, 2010 4:49 PM
>
> > The same configuration options resulted slightly different config on
> > the two machines:
> >
> > [machine with link traps working]
>
gt; To: b...@live.com; d.t.shi...@liverpool.ac.uk
> CC: net-snmp-users@lists.sourceforge.net
>
> > From: X Z [mailto:b...@live.com]
> > Sent: Thursday, April 08, 2010 8:49 AM
>
> > The machine with link traps not working is loaded with the following
> > additio
b...@live.com; d.t.shi...@liverpool.ac.uk
> CC: net-snmp-users@lists.sourceforge.net
>
> > From: X Z [mailto:b...@live.com]
> > Sent: Thursday, April 08, 2010 8:49 AM
>
> > The machine with link traps not working is loaded with the following
> > additional MIB modules:
>
Both machines are loaded with same modules, but in different order.
ThanksXuan
> Date: Wed, 7 Apr 2010 22:10:12 +0100
> Subject: Re: Strange behavior on linkUpDownNotifications
> From: d.t.shi...@liverpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
&g
22:10:12 +0100
> Subject: Re: Strange behavior on linkUpDownNotifications
> From: d.t.shi...@liverpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> 2010/4/7 X Z :
> > The working one (see link up down traps) has the following output:
> > t
Hi,
I searched through the email lists and find out that I am experiencing the same
problems as described below:
On 02/03/07, Uday Sorte <[EMAIL PROTECTED]> wrote:
> I tried with the master agent object sysServices and it is working fine.
> Means I have problems with the subagent and not with the
@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> 2010/4/6 X Z :
> > Attached please find the code I used. It's from mib2c.iterator -S 1 option.
>
> This code cannot possibly work.
> It registers a routine 'myTable_handler' to process requests,
> but th
Both machines are loaded with same modules, but in different order.
ThanksXuan
> Date: Wed, 7 Apr 2010 22:10:12 +0100
> Subject: Re: Strange behavior on linkUpDownNotifications
> From: d.t.shi...@liverpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
&g
up/down traps when the agent started up or restarted.
After that, even I change the interface to be down by "ifdown eth2", no traps
were sent out.
ThanksXuan
> Date: Tue, 6 Apr 2010 12:19:16 +0100
> Subject: Re: Strange behavior on linkUpDownNotifications
> From: d.t.
Apr 2010 12:19:16 +0100
> Subject: Re: Strange behavior on linkUpDownNotifications
> From: d.t.shi...@liverpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> 2010/3/29 X Z :
> > I finally can receive link up/down traps. But here is the strange behavior:
> > 1.
, 6 Apr 2010 12:19:16 +0100
> Subject: Re: Strange behavior on linkUpDownNotifications
> From: d.t.shi...@liverpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> 2010/3/29 X Z :
> > I finally can receive link up/down traps. But here is the strang
Attached please find the code I used. It's from mib2c.iterator -S 1 option.
ThanksXuan
> Date: Tue, 6 Apr 2010 12:31:46 +0100
> Subject: Re: Help on Index out of range error
> From: d.t.shi...@liverpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.n
net-snmp-users@lists.sourceforge.net
>
> > From: X Z [mailto:b...@live.com]
> > Sent: Monday, April 05, 2010 1:44 PM
>
> > > Date: Mon, 5 Apr 2010 11:37:04 -0700
> > > From: mike_ay...@tva.tvworks.com
>
> > > > From: X Z [mailto:b...@live.com]
> >
> Subject: RE: Strange behavior on linkUpDownNotifications
> Date: Mon, 5 Apr 2010 11:37:04 -0700
> From: mike_ay...@tva.tvworks.com
> To: b...@live.com; d.t.shi...@liverpool.ac.uk
> CC: net-snmp-users@lists.sourceforge.net
>
>
> > From: X Z [mailto:b...@live.com]
r 2010 10:30:35 -0700
> From: mike_ay...@tva.tvworks.com
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> > From: X Z [mailto:b...@live.com]
> > Sent: Tuesday, March 30, 2010 12:31 AM
>
> > myTableEntry OBJECT-TYPE
> >
> > SYNTAX
0 13:28:11 -0700
>
> >>>>> On Fri, 26 Mar 2010 12:03:47 -0400, X Z said:
>
> XZ> I implemented a MIB table and I can do a snmpwalk on my
> XZ> table. SNMPGETNEXT works too. But I cannot perform snmpget on the
> XZ> table entry. Does anyone know what might
14-789-8559
Cell:614-886-0923
FAX: 614-789-8975
mpeop...@att.com
From: X Z
[mailto:b...@live.com]
Sent: Friday, April 02, 2010 12:02 AM
To: net-snmp-users@lists.sourceforge.net
Subject: snmpget error?
Hi,
I
got "no such instance currently exists at this o
Hi,
I got "no such instance currently exists at this oid" error when I did snmpget
on a table entry. But snmpgetnext and snmpwalk on the table entry/table worked
just fine. Does anyone what might be the reason?
ThanksXuan
_
r the "-S" option so
that I can add it to the patch list for 5.3.2.2?
ThanksXuan
> Date: Thu, 1 Apr 2010 22:37:22 +0100
> Subject: Re: monitor -S option doesn't work
> From: d.t.shi...@liverpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
com
> CC: net-snmp-users@lists.sourceforge.net
>
> On 31 March 2010 23:03, X Z wrote:
> > Looks like I have multiple instances of snmpd.conf file.
> > Please see my previous email for output with -Dread_config option.
>
> No - that output looks correct.
> The agent on
ol.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> On 31 March 2010 21:41, X Z wrote:
> > I am using the RPM distribution from Redhat. The most recent RPM from them
> > is 5.3.2.2 for EL5 x86_64.
> > Is there a need to upgrade from 5.3.1.24 to 5.3.2.2?
>
&
.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> On 31 March 2010 20:00, X Z wrote:
> > I want to suppress the meaningless traps when the agent starts up.
> [snip]
> > NET-SNMP version 5.3.1
>
> That's a fairly old version of t
The output with debug option read_config is
/usr/local/sbin/snmpd -Le -f -c /etc/snmp/snmpd.conf -Dread_configregistered
debug token read_config, 1read_config: reading premib configuration
tokensread_config: config path used for
snmpd:/usr/local/etc/snmp:/usr/local/share/snmp:/usr/local/lib/sn
Hi,
I want to suppress the meaningless traps when the agent starts up. I read the
snmpd.conf man page and find the -S option should do it.
Here is what's in my snmpd.confnotificationEvent linkUpTraplinkUp
ifIndex ifAdminStatus ifOperStatus
notificationEvent linkDownTrap linkDown ifIndex
r
> From: d.t.shi...@liverpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> 2010/3/30 X Z :
> >> What does the MIB file look like.
> >>
> >
> >
> > Index OBJECT-TYPE
> > SYNTAX Unsigned32 (1..42949
> Date: Tue, 30 Mar 2010 08:07:47 +0100
> Subject: Re: Help on Index out of range error
> From: d.t.shi...@liverpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> 2010/3/30 X Z :
> > I implemented a table using iterator, and I can do snm
Hi,
I implemented a table using iterator, and I can do snmpwalk on the table. But
snmpget gave the Index out of range error. Table index starts from 1. Here is
related the code piece, can anyone point out where I did wrong?
int myTable_load(netsnmp_cache * cache, void *vmagic)
{
struct myTab
Hi,
I finally can receive link up/down traps. But here is the strange behavior:
1. link up/down traps only sent after the snmpd is restarted. If I don't
restart snmpd, there were no link up/down traps sent.
2. There were too many link up/down traps after snmpd is restarted. I usually
saw 3 lin
Hi,
I implemented a MIB table and I can do a snmpwalk on my table. SNMPGETNEXT
works too. But I cannot perform snmpget on the table entry. Does anyone know
what might be wrong?
snmpget ... MY-MIB::myTableEntry1.1
Unknown Object Identifier (Index out of range: 1 (myTableIndex))
Thanks
Xu
urceforge.net
>
> 2010/3/20 X Z :
> > I still didn't see any link down traps. No errors dumped either.
>
> > Could you please give me some insights why I still didn't see any link down
> > traps? I can only receive coldStart and nsNotifyShutdown traps.
>
&g
i, 19 Mar 2010 22:03:06 +
> Subject: Re: help on linkUpDownNotifications
> From: d.t.shi...@liverpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> 2010/3/19 X Z :
> > Thanks for your help. I got the 5.4.2.1 source code and compiled it. But I
>
ifications
> From: d.t.shi...@liverpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> 2010/3/19 X Z :
> > disman:event:objects: Unknown internal objects tag (_linkUpDown)
>
> I've had a quick look at the SVN repository for this MIB module cod
> CC: net-snmp-users@lists.sourceforge.net
>
> 2010/3/19 X Z :
> > disman:event:objects: Unknown internal objects tag (_linkUpDown)
>
> I've had a quick look at the SVN repository for this MIB module code.
> It appe
19 Mar 2010 20:16:39 +
> Subject: Re: help on linkUpDownNotifications
> From: d.t.shi...@liverpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> 2010/3/19 X Z :
> > I am trying to get the linkUp and linkDown traps sent from the snmpd agen
X Z
I am trying to get the linkUp and linkDown traps sent from
the snmpd agent. I use snmptrapd as a listener on the localhost and
didn't receive the linkDown event.
I started snmpd with option -Ddisman:event
The following messages dumped:
isman:event:delta: Bool comparison: (2 ==
+0100
Subject: Re: help on linkUpDownNotifications
From: bvanass...@acm.org
To: b...@live.com
CC: net-snmp-users@lists.sourceforge.net
2010/3/19 X Z
I am trying to get the linkUp and linkDown traps sent from
the snmpd agent. I use snmptrapd as a listener on the localhost and
didn't re
Hi,
I am trying to get the linkUp and linkDown traps sent from
the snmpd agent. I use snmptrapd as a listener on the localhost and
didn't receive the linkDown event.
I started snmpd with option -Ddisman:event
The following messages dumped:
isman:event:delta: Bool comparison: (2 == 2) 1
disman:e
t didn't work either.
Thanks
Xuan
> Date: Tue, 1 Dec 2009 09:28:15 +
> Subject: Re: Duplicated SNMP syslogs
> From: d.t.shi...@liverpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> 2009/11/30 X Z :
> > Does anyone know how to reset t
hanks
Xuan
> Date: Tue, 1 Dec 2009 09:28:15 +
> Subject: Re: Duplicated SNMP syslogs
> From: d.t.shi...@liverpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> 2009/11/30 X Z :
> > Does anyone know how to reset the syslog level to avoid t
In my application, I set the default syslog level at the beginning, and after
parsing a configuration file successfully, I need to reset the syslog level as
indicated in the configuration file. So I created the following function:
void set_snmp_log_level(int log_level)
{
netsnmp_log_handler
> Date: Tue, 17 Nov 2009 12:26:41 +
> Subject: Re: Question about mib2c.create-dataset.conf
> From: d.t.shi...@liverpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> 2009/11/16 X Z :
> > Two functions are created automatically:
>
gt; Subject: Re: Question about mib2c.create-dataset.conf
> From: d.t.shi...@liverpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> 2009/11/12 X Z :
> > I just found out that there exists a micro "TABLE_DATA_NAME" in table
> > initiali
erpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> 2009/11/11 X Z :
> > Your suggestion fixed the myTable_free errors. But I am unable to see the
> > table content from snmpwalk.
>
> > Can you let me know if I did anything wrong in myTab
+
> Subject: Re: Question about mib2c.create-dataset.conf
> From: d.t.shi...@liverpool.ac.uk
> To: b...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> 2009/11/10 X Z :
> > I didn't change anything but I am still getting the same error:
> >
> > myTa
...@live.com
> CC: net-snmp-users@lists.sourceforge.net
>
> 2009/11/9 X Z :
> > I use mib2c.create-dataset.conf to generate codes for a table, but I got the
> > following error:
> > conflicting types for myTable_free and myTable_load. I use the cache method,
> >
Hi,
I use mib2c.create-dataset.conf to generate codes for a table, but I got the
following error:
conflicting types for myTable_free and myTable_load. I use the cache method, it
creates the following codes in the header file:
NetsnmpCacheLoad myTable_load;
NetsnmpCacheFree myTable_free;
But
net
>
> 2009/7/17 X Z :
> > How to test if a subagent is sending v2 traps or not?
>
> Assuming that this is an AgentX subagent,
> then it would normally be sending AgentX notifications
> (to the master agent). It wouldn't normally generate SNMP
>
t 2009, vers
> 05:42, X Z disait :
>
> > I got the following error from snmptrapd:
> > snmptrapd -f -Le -F "%02.2h:%02.2j TRAP%w.%q from %A\n"
>
> > NET-SNMP version 5.3.2.2
> > couldn't open udp:162 -- errno 13 ("Permission denied")
&g
I got the following error from snmptrapd:
snmptrapd -f -Le -F "%02.2h:%02.2j TRAP%w.%q from %A\n"
NET-SNMP version 5.3.2.2
couldn't open udp:162 -- errno 13 ("Permission denied")
Anyone knows what caused it? How to test if a subagent is sending v2 traps or
not?
Thanks
Cindy
Hi,
I defined my own syslog file for the subagent. I found that all the entries
logged in the syslog without timestamps. Can anyone tell me how to add the
timestamp in front of each syslog entry?
Thanks
Cindy
_
Hotmail® has ever-
I used the mib2c.mfd to create template files for a MIB table. But when I
initialized the mib in the subagent code, the table oid was not registered.
I tried the debug mode, found out that only the following routines were called:
verbose:xxxTable:xxxTable_init_data called
verbose:xxxTable:xxxTa
62 matches
Mail list logo