Re: snmpd and community issue

2005-04-20 Thread Sasikumar Bodathula
I am using net-snmp-5.1.2 version in RedHat 9.0 linux. On Fri, 2005-04-15 at 19:26, Robert Story wrote: On 15 Apr 2005 09:40:42 +0530 Sasikumar wrote: SB What i want to say is when i do get on the sysDescr with the community SB name empty or wrong name (This name is not present in the

RE: Retrieving SNMP header fields in the handler

2005-04-20 Thread Kodel Oleg
I'm requested by my customer to implement this certain mechanism: The SNMP manager will add to every SNMP message some magic key. My agent (I'll use agentX) shall pass or drop the message according to the magic key. I shall calculate and add the same key to every message that I send to the

community between agent and kernel

2005-04-20 Thread Farazad Farhadzadeh
Hi Can you help me about community between agent and kernel. I want to know when agent want to set a value for requested object agent how receive this value from kernel? --- This SF.Net email is sponsored by: New Crystal Reports XI. Version

AGENT EXT SIT ON NAILS -7

2005-04-20 Thread Parthiban Naliiamudali
  Dear sir, Thansk to Mr.Robert Story sir for providing information about augumenting in the table index. sir, now the PROBLEMS are... 1)HOW TO CONFIGURE SNMPTRAPD.CONF ACCESS CONTROL? AND IS IT COMPULSORY TO RUN SNMPTRAPD AS ROOT? PLEASE KINDLY SEE BELOW I TRIED ALL THESE... sir, i tried

snmpset and reboot

2005-04-20 Thread Vincent AARON
Hi All I've many Linux workstation with net-snmp 5.0.9 I wonder if it's possible to reboot those Linuxbox using snmpset command. If yes? Do you know the correct OIDs? Many thanks for you answer Regards Vincent -- - |

RE: Are there any examples of SNMP::TrapSession - I'll be darnedIf I can get it to work!

2005-04-20 Thread Andy Ford
Thanks for responding Wes I have taken a look at the embedded Perl approach and written a script to do exactly what I want. Unfortunately, there is a huge memory leak in the Perl side. I have already spoken to Robert Story ref this problem and we have agreed it is the embedded Perl implementation

RE: Retrieving SNMP header fields in the handler

2005-04-20 Thread Dave Shield
On Wed, 2005-04-20 at 08:37, Kodel Oleg wrote: I'm requested by my customer to implement this certain mechanism: The SNMP manager will add to every SNMP message some magic key. My agent (I'll use agentX) OK - then you've immediately got a *major* problem. The request passed on to an AgentX

Re: snmpset and reboot

2005-04-20 Thread Dave Shield
On Wed, 2005-04-20 at 09:25, Vincent AARON wrote: I've many Linux workstation with net-snmp 5.0.9 I wonder if it's possible to reboot those Linuxbox using snmpset command. There isn't an OID to reboot the system in any configuration that we supply, no. You could try asking your O/S vendor if

Re: AGENT EXT SIT ON NAILS -7

2005-04-20 Thread Dave Shield
On Wed, 2005-04-20 at 07:47, Parthiban Naliiamudali wrote: # ./snmptrapd -f -Le 172.29.5.102:1900 Warning: no access control information configured. It's unlikely this agent can serve any useful purpose in this state. Ignore that message. It's not really relevant to 'snmptrapd' (and has been

Re: community between agent and kernel

2005-04-20 Thread Dave Shield
On Wed, 2005-04-20 at 07:38, Farazad Farhadzadeh wrote: Can you help me about community between agent and kernel. I want to know when agent want to set a value for requested object agent. how receive this value from kernel? I've already answered this twice. It's *different* for every object

Re: community between agent and kernel

2005-04-20 Thread Farazad Farhadzadeh
Can you help me about community between agent and kernel. I want to know when agent want to set a value for requested object agent. how receive this value from kernel? I've already answered this twice. It's *different* for every object (and every architecture). I dont understand

Re: community between agent and kernel

2005-04-20 Thread Dave Shield
On Wed, 2005-04-20 at 11:21, Farazad Farhadzadeh wrote: how do agent receive value of object id from kernel Which OID? What operating system? --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality

Re: community between agent and kernel

2005-04-20 Thread Dave Shield
On Wed, 2005-04-20 at 12:45, Farazad Farhadzadeh wrote: how do agent receive value of object id from kernel Which OID? ip.ipInReceives What operating system? suse-9.2 linux. OK - try the following command: cat /proc/net/snmp The output should start: Ip: Forwarding

RE: Retrieving SNMP header fields in the handler

2005-04-20 Thread Kodel Oleg
Some another type of subagent (supported well by NET-SNMP) can help me? The magic key MUST be calculated bu my own algorithm (SNMPv3 not applicable) There is some hook within NET-SNMP that I can to put my own calculation? __ Oleg Kodel -

Re: community between agent and kernel

2005-04-20 Thread Farazad Farhadzadeh
how do agent receive value of object id from kernel Which OID? ip.ipInReceives how about ip.ipAddrTable?? What operating system? suse-9.2 linux. OK - try the following command: cat /proc/net/snmp The output should start: Ip: Forwarding DefaultTTL InReceives

Re: community between agent and kernel

2005-04-20 Thread Farazad Farhadzadeh
How can i relationship between all of OID in mibII and kernel,where do i find a document about this? On Wed, 2005-04-20 at 12:45, Farazad Farhadzadeh wrote: how do agent receive value of object id from kernel Which OID? ip.ipInReceives What operating system? suse-9.2

Re: community between agent and kernel

2005-04-20 Thread Dave Shield
On Wed, 2005-04-20 at 14:58, Farazad Farhadzadeh wrote: How can i relationship between all of OID in mibII and kernel, where do i find a document about this? There's no documentation - just the source. You'll need to start browsing through the code under 'agent/mibgroup'. Look for the OIDs

about porting ucd-snmp 4.2.6 to mpc852t embedded linux

2005-04-20 Thread rober
Dear all: Does anybody know how to compiler ucd-snmp 4.2.6 for MPC852T linux environment? ps:i have cross compiler toolkit powerpc-linux-gcc Best Regsrds, Rober Hsu --- This SF.Net email is sponsored by: New Crystal Reports XI.

AGENT-CAPABILITIES support

2005-04-20 Thread Pamidipati Suresh-G20238
Title: Message Hi, Is there any support for AGENT CAPABILITIES in net-snmp? The function definitions of agentx_add_agentcaps and agentx_remove_agentcaps are provided as part of AgentX Utility routines. Any info would be highly appreciated. Regards suresh.

ucd-snmp snmpbulkget return empty value while it should not

2005-04-20 Thread Haizhu Liu
I used ucd-snmp 4.2.5, trying to use snmpbulkget query smNetPartition table, the smNetPartitionKey field comes back empty (), while I use net-snmp 5.0, it returns valid value (HEX-STRING: FF FE), is it a known problem with ucd-snmp? --- This

Hardware

2005-04-20 Thread David Bonilla Allon
Hi, my questions is if with the SNMP I can to monitorear the hardware of the server? Thank you for your help!! Visite nuestro sitio www.bancobcr.com

Problem on 64 bit machine: Timeout: No response from localhost

2005-04-20 Thread LIAO, GUANGDENG
Hi all, When I run the command line : snmptable -v1 -c test localhost ip.ipAddrTableon 64bit machine, the result is :Timeout: No response from localhost. The snmpd is running and configuration file is ok. When I try to dig out it, I find the problem is caused in asn_build_int which build the 32

RE: Problem on 64 bit machine: Timeout: No response from localhost

2005-04-20 Thread LIAO, GUANGDENG
Sorry to forget the environment:( (B (BNET-SNMP version 5.1.2. (B (BThanks (BDanny (B (B-Original Message- (BFrom: LIAO, GUANGDENG (BSent: 2005$BG/(J4$B7n(J20$BF|(J 10:26 (BTo: net-snmp-users@lists.sourceforge.net (BCc: LIAO, GUANGDENG (BSubject: Problem on 64 bit

Re: AGENT-CAPABILITIES support

2005-04-20 Thread Dave Shield
On Tue, 2005-04-19 at 15:07, Pamidipati Suresh-G20238 wrote: Is there any support for AGENT CAPABILITIES in net-snmp? Yes. Register your AC definitions in the sysORTable using the call 'register_sysORTable()', and remove them using unregister_sysORTable(). That will work whether your module

Net::SNMP Perl module?

2005-04-20 Thread Shane Presley
Hello, I am fairly new to Net-Snmp. I use it on some Solaris servers to give me CPU, Memory, and Disk stats (for MRTG to use). It also came pre-installed on my RedHat 3 server. I use that server to run MRTG and BigBrother (network monitoring). Anyway, one piece of BigBrother is a module that

Question about locations for mib loading

2005-04-20 Thread Fabio Margarido
Hey there, I'm developing a tool that automatically inserts the custom code from my company's applications into the stubs generated by net-snmp. This tool has to be really generic, so that it runs on any machine, regardless of the path where net-snmp was installed. When I'm parsing a private MIB,

Re: Net::SNMP Perl module?

2005-04-20 Thread Shane Presley
Thanks Paul, that makes sense. I found Net::SNMP on CPAN and will head in that direction. One question first. Would this (Net::SNMP) be the same as this package available from RedHat: net-snmp-perl-5.0.9-2.30E.12 Description:The net-snmp-perl package contains the perl files to use SNMP

snmpbulkget return empty value while it should not

2005-04-20 Thread Haizhu Liu
I used ucd-snmp 4.2.5, trying to use snmpbulkget query smNetPartition table, the smNetPartitionKey field comes back empty (), while I use net-snmp 5.0, it returns valid value (HEX-STRING: FF FE), is it a known problem with ucd-snmp? --- This

Re: Net::SNMP Perl module?

2005-04-20 Thread Dave Shield
On Wed, 2005-04-20 at 15:46, Shane Presley wrote: Would this (Net::SNMP) be the same as this package available from RedHat: net-snmp-perl-5.0.9-2.30E.12 Nope. Net::SNMP is David Town's pure-perl implementation of SNMP. It is completely independent of our SNMP toolkit. The net-snmp-perl

Re: Net::SNMP Perl module?

2005-04-20 Thread Shane Presley
On 4/20/05, Dave Shield [EMAIL PROTECTED] wrote: Nope. Net::SNMP is David Town's pure-perl implementation of SNMP. It is completely independent of our SNMP toolkit. The net-snmp-perl module is effectively a perl wrapper round the C library (which is why the documentation is full of dire

Re: Question on SMP Linux

2005-04-20 Thread Dave Shield
On Wed, 2005-04-20 at 04:42, Jacky Chan wrote: I have an X86 Linux server and have 4 CPUs. In the tutorial, the example Active CPU usage will return the average load of 4CPUs or just one (other 3 CPUs ignored) ? Or I have to ask the object ssCpuRawUser.0, ssCpuRawSystem.0 return the average

Re: clear me about snmp

2005-04-20 Thread Wes Hardaker
On Wed, 20 Apr 2005 21:09:13 +0530, T.K Venu [EMAIL PROTECTED] said: T my question is which pkgs should i install in server side, T clinet side and to communite with snmp agent info. from the server T what web application should use. you should install net-snmp on both client and servers.

Re: snmpbulkget return empty value while it should not

2005-04-20 Thread Wes Hardaker
On Wed, 20 Apr 2005 10:52:27 -0400, Haizhu Liu [EMAIL PROTECTED] said: Haizhu I used ucd-snmp 4.2.5, trying to use snmpbulkget query Haizhu smNetPartition table, the smNetPartitionKey field comes back Haizhu empty (), while I use net-snmp 5.0, it returns valid value Haizhu (HEX-STRING: FF FE),

Re: Question about locations for mib loading

2005-04-20 Thread Wes Hardaker
On Wed, 20 Apr 2005 11:30:22 -0300, Fabio Margarido [EMAIL PROTECTED] said: Fabio I'm developing a tool that automatically inserts the custom code from Fabio my company's applications into the stubs generated by net-snmp. This Fabio tool has to be really generic, so that it runs on any

RE: Hardware

2005-04-20 Thread Bruce Shaw
Hi, my questions is if with the SNMP I can to monitorear the hardware of the server? Thank you for your help!! If your server supports it, hardware information may be found in HOST-RESOURCES-MIB. What platform/OS are you running? This communication is intended for the use of the recipient

Re: Retrieving SNMP header fields in the handler

2005-04-20 Thread Wes Hardaker
On Wed, 20 Apr 2005 15:56:29 +0200, Kodel Oleg [EMAIL PROTECTED] said: Kodel The magic key MUST be calculated bu my own algorithm (SNMPv3 Kodel not applicable) There is some hook within NET-SNMP that I can Kodel to put my own calculation? The net-snmp package supports a extensible security

Re: Are there any examples of SNMP::TrapSession - I'll be darnedIf I can get it to work!

2005-04-20 Thread Wes Hardaker
On Wed, 20 Apr 2005 10:03:10 +0100, Andy Ford [EMAIL PROTECTED] said: Andy I have taken a look at the embedded Perl approach and written a Andy script to do exactly what I want. Unfortunately, there is a huge Andy memory leak in the Perl side. I have already spoken to Robert Andy Story ref this

Fw: Net-SNMP 5.1.2 Memory leaks on RH9

2005-04-20 Thread Gary Clark
Hello, Ok I'm a little puzzled what I'm seeing: I call CONTAINER_REMOVE (container,row); This does indeed appear to remove the row. But the size of snmpd does not reduce in size. After I have made the call the container does appear to be purged of the row, but the memory size is still the same?

Re: Question about locations for mib loading

2005-04-20 Thread Fabio Margarido
Sorry for that, the reply-to field was not set and I didn't see it I've set MIBDIRS and it worked... only problem is that I still have to put the default mib dir in the path cause if I don't net-snmp doesn't find the default mibs. So I guess the only way to solve my problem is to query the

'unsubscribe'

2005-04-20 Thread gwen
--- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at:

Re: NET:SNMP

2005-04-20 Thread Mike Pearson
Thanks Gavin, I have: use Net::SNMP; use Net::Ping; And do I copy the Net-SNMP-5.0.1 directory? to the /usr/lib/perl5/ ?? Thanks Mike Gavin Henry wrote: On Thursday 21 Apr 2005 00:01, Mike Pearson wrote: When I try to run a perl script that does SNMP, it says can't find NET::SNMP maybe your

Question about net-SNMP test

2005-04-20 Thread Tian WenQiang
Hi all, Our organization is planning a big project which is a Linux-Embedded system and will be sold as products in the market. It is necessary for us to choose a SNMP product. From internet, we found SNMP product -- net-SNMP, and we are very interested in it, so we have a few important

AGENT EXT SIT ON NAILS - 8

2005-04-20 Thread Parthiban Naliiamudali
Dear sir, Thanks to Mr.DAVE sir for his concern to help me.. sir, here my TWO(2) PROBLEMS goes like this.kindly have a look at the below settings in my files and guide me please. PLEASE DO SEE AGENT EXT SIT ON NAILS-7 and your REPLIES. 1)FIRST PROBLEM: DAVE sir: WHAT TRAP-RELATED SETTING