> >
> > I directly updated the MIB so that the MIB under
> > /usr/local/share/snmp/mibs is now the newer version (same
> name). I did
> > have MIBS set to all.
>
> Hmmm... that should work. Did you perhaps change the
> name of an imported object? If so, you must change the name
> w
> From: Mitul Sen (misen) [mailto:mi...@cisco.com]
> Sent: Friday, January 30, 2009 4:10 PM
> > ...
> > parse-mibs: Processing IMPORTS for module 0 UCD-DEMO-MIB
> > parse-mibs: Processing import: ucdavis
> > parse-mibs: Module CISCO-DMP-MIB already loaded
> > CISCO-DMP-MIB::ciscoDmpMIBBrows
Hi,
-Original Message-
From: Mike Ayers [mailto:mike_ay...@tvworks.com]
Sent: Fri 1/30/2009 4:07 PM
To: Mitul Sen (misen)
Cc: net-snmp-users@lists.sourceforge.net
Subject: RE: Reload MIB file
> From: Mitul Sen (misen) [mailto:mi...@cisco.com]
> Sent: Friday, January 30, 2009 3:31 PM
>
> From: Mitul Sen (misen) [mailto:mi...@cisco.com]
> Sent: Friday, January 30, 2009 3:31 PM
> ...
> parse-mibs: Processing IMPORTS for module 0 UCD-DEMO-MIB
> parse-mibs: Processing import: ucdavis
> parse-mibs: Module CISCO-DMP-MIB already loaded
> CISCO-DMP-MIB::ciscoDmpMIBBrowserURL.0: U
Hello,
I had defined a new MIB and was able to query the managed object within my MIB
using snmpget. However at this point I changed the name of the object in my MIB
file and also added a few more objects (within the same MIB file). I followed
the same procedure as I had done before for all t
Hi,
i'm trying to add a mib module to my agent. I've already write the mib and
run mib2c to get the .c and .h of the data i want to provide.
But i've have a problem on compiling this on Windows XP, using Visual C ++.
I'm trying to compile it using visual studio because with Configure and
nmake, i
> From: Philip Mason [mailto:phil.ma...@crystalvision.tv]
> Sent: Friday, January 30, 2009 3:34 AM
> Is it not possible (I know it's an unwise thing to do) to set
> rwcommunity to public? If not it isn't clear to me why it
> wasn't working
> with the snmpd.conf above.
You are asking the
Hi all,
Thank you zeeshan!
Does it mean that I have to use trap2sink? But if I want to use only SNMPv3,
how can I send a multi destination trap? Is there a way to do that?
Thank you all.
Best Regards,
Ângela
-Original Message-
From: m.zeeshan [mailto:m.zees...@advancedims.com]
Sent:
Add to snmpd.conf:
pass .1.3.6.1.4.1.11821 /home/fede/snmp_script/prova1
pass .1.3.6.1.4.1.11822 /home/fede/snmp_script/prova2
and use two separate scripts:
# prova1
#!/bin/sh
echo .1.3.6.1.4.1.11821
echo integer
echo 20
# prova2
#!/bin/sh
echo .1.3.6.1.4.1.11822
echo integer
echo 21
-
i wrote a simple script
#!/bin/sh
echo .1.3.6.1.4.1.11821
echo integer
echo 20
i insert in snmpd.conf
pass .1.3.6.1.4.1.11821 /home/fede/snmp_script/prova
and when i do
snmpget -O n -v1 -c public localhost .1.3.6.1.4.1.11821
is's ok .
1.3.6.1.4.1.11821 = INTEGER: 20
now, if i want add anothe
>Hi everyone!
>
>I'm using net-snmp 5.3.2 and I'm trying to find a way to send traps to
>different
>destinations at the same time.
>So far I've tried to defined different trapsess in the snmpd.conf file
>(the configuration
>file for the agent) or pass multi destinations in the same trapsess in
>the
Required Scenairo/Psedocode:
I want to parse the Get/Set requests inside the Table_Handler() registered via
netsnmp_register_table_data_set();
Table_Handler()
{
for (; requests; requests = requests->next) {
switch (reqinfo->mode) {
case MODE_GET:
switch (table_info->coln
Hi everyone!
I'm using net-snmp 5.3.2 and I'm trying to find a way to send traps to
different destinations at the same time.
So far I've tried to defined different trapsess in the snmpd.conf file (the
configuration file for the agent) or pass multi destinations in the same
trapsess in the dest
My snmpd.conf was
rocommunity public
rwcommunity public
authtrapenable 1
trapsink 10.0.0.45 public
trapcommunity public
rwuser philm noauth
I thought I had tried it with
rwcommunity private
but obviously not because when I just did it started working (modifying
the set command as well).
Is it
Replying to my earlier message I hadn't noticed this:
In each case, only one directive should be specified for a given SNMPv3
user, or community string. It is not appropriate to specify both rouser
and rwuser directives referring to the same SNMPv3 user (or equivalent
community settings). The rwu
2009/1/30 Philip Mason :
> If I try to set it I get the following message:
>
> $ snmpset -c public -v 2c 10.0.0.27 1.3.6.1.4.1.8072.2.1.1.0 i 19
> Error in packet.
> Reason: notWritable (That object does not support modification)
How is the agent configured?
In particular - what access control se
Hi all,
I've added the compiled the example code from
http://net-snmp.sourceforge.net/dev/agent/scalar__int_8c-example.html
to my agent and if I do an SNMP walk I can see the object OK and it has the
value I initialise it to.
If I try to set it I get the following message:
$ snmpset -c pub
Thanx Alot Dave, that really cleared every thing i had in mind.
Thanx Mike as well.
Regards.
- Muhammad Zeeshan
--- On Fri, 30/1/09, Dave Shield wrote:
From: Dave Shield
Subject: Re: Index in Table request for explanation
To: m.zees...@advancedims.com
Cc: net-snmp-users@lists.sourceforg
2009/1/29 Ignasi Paredes Oliva :
> I only have one last simple question. One of the attributes that I extract
> from the database (the time) has the following format: "19:55:57". I defined
> it as STRING on my MIB tree but when I execute snmptrap command, it
> complains:
>
> Time: Bad variable type
2009/1/29 M. Zeeshan - IMS :
> 3. when i generated code using mib2c with "mib2c.create-dataset.conf" file,
> then the indexing was done with the function
> "netsnmp_table_set_add_indexes()", while the example in data_set.c uses the
> function "netsnmp_table_row_add_index()" a bit earlier in the cod
2009/1/29 Les Mikesell :
> But what are you supposed to do with a value like 400% CPU usage if you
> don't know how many processors are running? An average value might be
> useful but how can you use a total of percentages without knowing how many
> were totaled?
That information is available by
21 matches
Mail list logo