On Thu, 19 May 2005 16:54:25 +0530 Kurapati wrote:
KMG> I tried to see the contents of net-snmp-devel-5.1.2-1.rh9.i386.rpm
KMG> contents using rpm -qpl option.
KMG>
KMG> I could not find any of the agentx files in this rpm.
KMG> (agentx_config.h, protocol.h, etc...)
KMG>
KMG> Please let me know,
Ah thanks! After that I noticed that a few pieces were not formatted
properly in my session object, once I fixed those it worked.
Only one problem is that I am trying to forward an exact copy based on data
from the trap.log file
TRAP date=5-24-2005 time=19:38:2 version=TRAP, SNMP v1, community xx
I use Net-SNMP 5.2.1 in Solaris 9 environment. I use configure with module "host" mib to build my private kit and will copy to my snmp clients.
Configure OK, make OK, when "make test" will get test 47, tcpoutstring error. Then I do "make install /myprivate directory", and can only small part of
Can you point me to what those APIs are?
Anything that make things easier will be helpful.
Thanks
Steve
--- Wes Hardaker <[EMAIL PROTECTED]>
wrote:
> > On Tue, 24 May 2005 12:08:24 -0700 (PDT),
> "Steve S. Law" <[EMAIL PROTECTED]> said:
>
> Steve> I would like to confirm that if I need to
>
> On Mon, 23 May 2005 21:48:18 +0530, "Sankar Chokkan" <[EMAIL PROTECTED]>
> said:
Sankar> I am trying to send multiple GETBULK Message for different OIDs.
Sankar> I need to use only snmp_send and snmp_read instead of
Sankar> snmp_synch_response.
Any chance you are using the same pointe
> On Tue, 24 May 2005 09:03:11 +0200, Frank Kusters <[EMAIL PROTECTED]>
> said:
Frank> If I don't get it to work, I'll stick to the current solution (parse the
Frank> output of snmptable.exe) until the next binary release of Net-SNMP.
I don't have another solution, unfortunately so if yo
> On Tue, 24 May 2005 13:25:41 +0100, Dave Shield <[EMAIL PROTECTED]> said:
Dave> Wes - can you recall why the AgentX registration handling uses the
Dave> 'community' field of the PDU structure? Was it just Shield stupidity
Dave> again? What would be the implications of switching to use the
> On Mon, 23 May 2005 16:54:25 -0400, Robert Story <[EMAIL PROTECTED]> said:
Robert> On Wed, 18 May 2005 13:25:34 -0700 (PDT) Fabio wrote:
F> The number of traps until it freezes my subagent
F> depends on the size of the trap or something like
F> that. Adding a loop on the notification.c examp
> On Tue, 24 May 2005 13:51:37 -0500, "King, John (Greg) (LMIT-HOU)"
> <[EMAIL PROTECTED]> said:
John> my $sess = new SNMP::TrapSession ( HostName => $host, Community => $comm,
John> Debug => "1", Port => 162 );
Have you tried adding Version => 1 to that line? It is probably
defaulting
> On Tue, 24 May 2005 12:08:24 -0700 (PDT), "Steve S. Law" <[EMAIL
> PROTECTED]> said:
Steve> I would like to confirm that if I need to persist data
Steve> in my MIB table, I need to implement the code to
Steve> persist data in my own sub-agent/MIB code after I
Steve> receive data from ma
> On Tue, 24 May 2005 16:16:41 -0400, Jim Ruddell <[EMAIL PROTECTED]> said:
Jim> I'm trying to monitor memory usage on Linux servers but can't find
Jim> anything in SNMP that can handle the amount in the machine. It has 8 gig
Jim> real and 16 gig of swap. Is there an SNMP entry that will ret
Hey team,
This is a bit off topic, but I was wondering if I'm missing something
obvious about SNMP.
We have a 6509 serving our department. For some reason, when I ask it for
the forwarding table of our main vlan, it comes back with nothing, but
when I query it for other vlans it shows plenty of
> On Tue, 24 May 2005 10:08:41 +0100, Dave Shield <[EMAIL PROTECTED]> said:
Dave> is there any reason why the command options used for specifying
Dave> the pass phrase and the algorithm (for both authentication and privacy)
Dave> are the opposite way round with "net-snmp-config --create-snmpv3
I'm trying to monitor memory usage on Linux servers but can't find
anything in SNMP that can handle the amount in the machine. It has 8 gig
real and 16 gig of swap. Is there an SNMP entry that will return any
thing higher than 4 gig or even worse 2 gig??? Thanks.
Jim
---
Hi,
I would like to confirm that if I need to persist data
in my MIB table, I need to implement the code to
persist data in my own sub-agent/MIB code after I
receive data from managed application (i.e, there is
no built-in persistence support provided by Net-SNMP
for the variables in MIB table th
I sent this out earlier this month and am still stuck and haven't seen a
response so I wanted to ask one more time. Can anyone send a working example
in perl? I would rather keep the program in perl instead of using system
calls to snmptrap.
>From the SNMP pod I have the following code, but I cann
--- Robert Story <[EMAIL PROTECTED]> wrote:
> On Tue, 24 May 2005 08:42:35 -0700 (PDT) Salsa
> wrote:
> S> Rightr now is another machine but I also used
> S> localhost. Snmptrapd was indeed running and
> received
> S> traps until my subagent stopped. Then it said
> that it
> S> lost connection a
Thanks Wes. I noticed that.
Xueli
- Original Message -
From: "Wes Hardaker" <[EMAIL PROTECTED]>
To: "Shen, Xueli" <[EMAIL PROTECTED]>
Cc:
Sent: Monday, May 23, 2005 5:47 PM
Subject: Re: SNMPv3 SBSM support
On Wed, 11 May 2005 20:52:35 -0400, "Shen, Xueli"
<[EMAIL PROTECTED]> said:
Hello everybody,
I have a mib something like,
diskFull TRAP-TYPE
ENTERPRISE comtek
VARIABLES { sysDescr, diskModuleName,
diskSystemName, diskPartitionUsed }
-- STATUS mandatory for all Comtek VOS Agents
DESCRIPTION
"Disk system usage has reached or exceeded critical threshold.
The configuation f
Oh, ok.That is possible.
as i ahve only a single index
i am using the function
netsnmp_table_dataset_add_index(table_set, ASN_INTEGER);
is that ok ?
Note : it is working fine..
From: Dave Shield <[EMAIL PROTECTED]>
To: chinmay bhat <[EMAIL PROTECTED]>
CC: net-snmp-users@lists.sourceforge.ne
On Sun, 15 May 2005 00:37:19 -0700 (PDT) Karthik.C.L wrote:
KCL> I have 3 threads, running my snmp MIB libraries, these
KCL> check for device status. On a shut_down trigger all
KCL> the threads should stop including snmpd.
Using threads in the agent is unsupported. You added then, so you have to
f
On Mon, 23 May 2005 18:41:03 -0400 (EDT) [EMAIL PROTECTED] wrote:
JC> Thanks for the response. The code was generated with
JC> mib2c.array-user.conf,v 5.24 which does appear in the 5.2.1 rc2 I
JC> downloaded in January. I usually dynamically load the mib, but have
JC> recently compiled it into th
On Tue, 24 May 2005 08:42:35 -0700 (PDT) Salsa wrote:
S> Rightr now is another machine but I also used
S> localhost. Snmptrapd was indeed running and received
S> traps until my subagent stopped. Then it said that it
S> lost connection and tried to ping and reconnect.
So the sub-agent detects a fa
On Thu, 19 May 2005 16:54:25 +0530 Kurapati wrote:
KMG> I tried to see the contents of net-snmp-devel-5.1.2-1.rh9.i386.rpm
KMG> contents using rpm -qpl option.
KMG>
KMG> I could not find any of the agentx files in this rpm. (agentx_config.h,
KMG> protocol.h, etc...)
KMG>
KMG> Please let me know,
Hello,
I have uploaded a source and binary distribution for netsnmp 5.2.1 to
http://www.caddit.net on the "Programming" page. There is also a modified
source distribution available there.
NETSNMPD is a DOS-DJGPP implementation of this package, and it is downloadable
from the CADD-IT network
On Tue, 2005-05-24 at 15:41, Eyal Schneider wrote:
> Dave> Try removing mention of "public" from the AgentX registration call
> Dave> (so it uses the default context), and see if that's any better.
>
> When I do so I get "Timeout: No Response from localhost". The master
> agent seems to ignore the
Rightr now is another machine but I also used
localhost. Snmptrapd was indeed running and received
traps until my subagent stopped. Then it said that it
lost connection and tried to ping and reconnect. After
I killed my subagent snmptrapd would receive some more
traps but I can't say if it was jus
On Mon, 23 May 2005 14:08:46 -0700 (PDT) Salsa wrote:
S> 5.2.1. Right now I'm using trapsink, but if I'm not
S> mistaken it doesn't matter whigh way I configure
S> destinations... And I'm sending to only one
S> destination.
Would that destination happen to be localhost, or an IP of the local mach
Hi,
On 2005.05.24, at 00:51, Wes Hardaker wrote:
Simas> Is this a bug, or am I missing something very obvious?
I'm not sure. I'd appreciate it if you could try the 5.2.1 release
instead and see if that fixes the problem, since a lot of work was
done to the proxy code since the 5.0.8 line)
We
Thanks for the response. The code was generated with mib2c.array-user.conf,v
5.24 which does appear in the 5.2.1 rc2 I downloaded in January. I usually
dynamically load the mib, but have recently compiled it into the agent and it
appears to function in the same manner.
- John
--- On Mo
On Mon, 23 May 2005 14:48:44 -0700 Wes wrote:
WH> > On Tue, 10 May 2005 16:40:11 +0800, Jacky Chan <[EMAIL PROTECTED]>
WH> >said:
WH>
WH> Jacky> I have a NMS which support SNMPV1 only. But some of the managed
WH> Jacky> objects sending v2 trap only. Can I have net-snmp receive and
WH> convert
Dave> Your subagent has registered this table in the (non-default) context
Dave> "public", which is a completely different idea to the community string
Dave> used to control access.
Dave> Try removing mention of "public" from the AgentX registration call
Dave> (so it uses the default context), and
On Tue, 2005-05-24 at 09:47, Eyal Schneider wrote:
> Wes> Can you walk the nsModuleTable to see if it got registered?
>
> The registration was done with OID "1.3.6.1.4.1.1331.11.3" and
> community string "public",
Urk!
That's where the problem lies, I think.
I *though* it was odd that you'd talke
On Tue, 2005-05-24 at 12:19, Victor Yeo wrote:
> now i come to deal with mac address,
> same question, how is it represent?
The same way - as a fixed length, binary string.
> u_char mac[6]={00,11,22,33,44,55};
Correct.
> then, in:
> netsnmp_set_row_column(.. , mac, strlen(mac));
Nope.
Look
Dave> What are the access control settings on the master agent?
I only defined a community string in the master agent.
The snmpd.conf is :
rwcommunity public
syslocation localhost
master agentx
Eyal.
---
This SF.Net email is sponsored by
thank you. the ip address issue is solved.
now i come to deal with mac address, same question, how is it represent?
u_char mac[6]={00,11,22,33,44,55};
then, in:
netsnmp_set_row_column(.. , mac, strlen(mac));
but snmp get returns : string is zero length, what is my mistake? thanks for
pointi
Wes Hardaker hardaker-at-users.sourceforge.net |Lists| wrote:
Yeah, go ahead and file a bug report on it... That way we won't
forget about it.
I've filed:
http://sourceforge.net/tracker/index.php?func=detail&aid=1207661&group_id=12694&atid=112694
Because of this other segfaulting bug I've jus
This tiny perl script crashes with a segfault: (.1.3.6.1.2.1.2.2.1.1.1
is IF-MIB::ifIndex.1, and localhost actually contains this OID...)
Therefore I took the liberty of filing this bug:
http://sourceforge.net/tracker/index.php?func=detail&aid=1207661&group_id=12694&atid=112694
#!/usr/bin/perl
Hi, all
I need to build a shared library in a project.
So I changed the ./config.h and ./libtool, with the difference as the
following:
[EMAIL PROTECTED] ucd-snmp-brasc]# diff config.h config.h.bk
1062c1062
< #define CONFIGURE_OPTIONS " --enable-shared --disab
On Mon, 2005-05-23 at 16:34, Eyal Schneider wrote:
> However, when I send a GET command to the master agent,
> it is never forwarded to the sub agent.
What are the access control settings on the master agent?
Dave
---
This SF.Net email is spo
On Mon, 2005-05-23 at 08:59, Namita wrote:
> I was trying to print the OID of the trap received.
> But Iʼm not able to do with a %s.
I've already answered this. You use 'print_objid'
(or one of the variants).
> How do I print it out using snmp_log.
Format the OID into a string (using 'snprint
On Tue, 2005-05-24 at 05:00, Victor Yeo wrote:
> My question is : what is the data type to represent ip address
> and how is it represent?
Try looking at the code used in some of the existing MIB modules.
For example, 'agent/mibgroup/mibII/tcpTable.c' has the following:
snmp_set_var_typed_value(
On Mon, 2005-05-23 at 21:02, Wes Hardaker wrote:
> > On Mon, 23 May 2005 10:26:58 +0200, Stage Iup - Fabrice & Frédéric
> > <[EMAIL PROTECTED]> said:
>
> Stage> I use net-snmp 5.2.1, i have created a snmpv3 user with :
> Stage> net-snmp-config --create-snmpv3-user -ro -x mypassword -X DES
Wes> Can you walk the nsModuleTable to see if it got registered?
The registration was done with OID "1.3.6.1.4.1.1331.11.3" and
community string "public", and the walk seems to indicate that the new
object IS registered:
...
NET-SNMP-AGENT-MIB::nsModuleName."public".9.1.3.6.1.4.1.1331.11.3.127
= S
Wes Hardaker,
Thanks for the info.
Sridhar
On Mon, 23 May 2005 14:45:10 -0700, "Wes Hardaker"
<[EMAIL PROTECTED]> said:
> > On Mon, 16 May 2005 10:54:55 +0530, "Sridhar S" <[EMAIL PROTECTED]>
> > said:
>
> Sridhar> Is there any other way to send SNMPv3 trap ?
>
> This has actually bee
Wes Hardaker wrote:
>
> Frank> If I query "ifTable" (from RFC1213), I get normal results.
> Frank> However, when querying "atTable" or "ipNetToMediaTable" (or any
> Frank> other table), Net-SNMP shows:
>
> Frank> ack: gettable results not appropriate
>
> Frank> Does anyone have ideas how to debu
46 matches
Mail list logo