Hi,
I am getting the following error when I issue snmpget command:
Error in packet
Reason: (genError) A general failure occured
Failed object: TEST-MIB::TestVar.0
Snmpget command: snmpget -v 2c -c public -m TEST-MIB xxx.xxx.xxx.xxx TestVar.0
What could possibly be the reason for the error?
Hi,
I am using a NMS which sends a Set request to the snmp agent. On receiving a
SET request, certain function is invoked.
However at times, the set request seems to be received more than once which
causes the function to be invoked again and again which is not desirable.
Any pointers as to
, February 24, 2010 4:21 PM
To: Tanisha Kashyap
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: set request received more than once.
On 24 February 2010 10:16, Tanisha Kashyap tanisha.kash...@aricent.com wrote:
I am using a NMS which sends a Set request to the snmp agent. On receiving a
SET
for the SET request.
-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Wednesday, February 24, 2010 4:49 PM
To: Tanisha Kashyap
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: set request received more than once
To: Tanisha Kashyap
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: set request received more than once.
On 24 February 2010 11:32, Tanisha Kashyap tanisha.kash...@aricent.com wrote:
There is only var in my MIB on which I can do a set.
What about other MIBs?
The code under RESERVE1
Does this imply that MIB is SNMP version specific?
From: sanjaykumar [mailto:sanjay.ku...@globaledgesoft.com]
Sent: Tuesday, October 20, 2009 12:48 PM
To: Tanisha Kashyap
Cc: Net-snmp-users@lists.sourceforge.net
Subject: Re: Writing MIB for SNMPv2
Look at SMIv1
Hi,
Can my agent be made to provide support for both SNMPv1 and SNMPv2 at the same?
If I make snmp version configurable somehow, can the agent receive get/set
requests, send v1/v2 traps depending on this configuration for a particular nms?
Thanks.
DISCLAIMER:
Hi,
Incase I wish to extend the support from SNMPv1 to SNMPv2, then do I have to
rework my MIB as well?
In other words, is there a difference in the MIB for SNMPv1, v2 and v3
Thanks.
DISCLAIMER: This message is proprietary to Aricent and is intended solely for
Hi,
I have to a get on a MIB variable but it gives me a timeout everytime.
I am able to do a set on this variable successfully so it doesn't look like a
access control problem.
Below is the code for GET block:
case MODE_GET:
snmp_set_var_typed_value(ptr_requests-requestvb, ASN_INTEGER,
Hi,
Is there any way to identify whether a trap received is a V! trap or higher
version.
Also what is the community string contained in the trap.
No task is so humble that it does not offer an outlet for individuality
DISCLAIMER: This message is proprietary to
Hi,
I have this following piece of code:
case MODE_GET:
{
abc = 1;
snmp_set_var_typed_value(ptr_requests-requestvb, ASN_INTEGER, (u_char *)
abc, sizeof(abc));
}
When I send out a get request I get a timeout error.
I tried running the agent using snmpd - Lf -d option and sent a get
: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Thursday, April 30, 2009 1:30 PM
To: Tanisha Kashyap
Cc: Net-snmp-users@lists.sourceforge.net
Subject: Re: MODE_GET: timeout response
2009/4/30 Tanisha Kashyap tanisha.kash...@aricent.com:
When I send out
: No response: timeout
I am able to run snmpset successfully.
-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Thursday, April 30, 2009 2:47 PM
To: Tanisha Kashyap
Cc: kusuma.bm; Net-snmp-users@lists.sourceforge.net
Subject
humble that it does not offer an outlet for individuality
-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Thursday, April 30, 2009 2:16 PM
To: kusuma.bm
Cc: Tanisha Kashyap; Net-snmp-users@lists.sourceforge.net
, April 30, 2009 3:25 PM
To: Tanisha Kashyap
Cc: Net-snmp-users@lists.sourceforge.net
Subject: Re: MODE_GET: timeout response
2009/4/30 Tanisha Kashyap tanisha.kash...@aricent.com
rwcommunity private
You really ought to change (or remove) this - it's not safe.
trapsink localhost public
Hi,
I am working on a dynamically loadable module.
I need to know is there any default path where snmpd looks for .so files or do
I have give the nma/path of my .so file in snmpd.conf
No task is so humble that it does not offer an outlet for individuality
Hi,
I have developed my dynamically loadable module on a solaris box using net-snmp
5.0.9
I want to compile this code on a windows machine and have a few questions
regarding this:
1) will I be required to install net-snmp on windows or can I just move
the required libs from solaris to
:34 PM
To: Tanisha Kashyap
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: seaproxy_sendReq: SEA Master Agent not responding
2009/4/16 Tanisha Kashyap tanisha.kash...@aricent.com:
I keep getting this message when I start snmpd: seaproxy_sendReq: SEA Master
Agent not responding
That would
Correction:
[r...@a2md06031 snmp]# snmpset -v1 -c democommunity 172.22.68.14
system.sysLocation.0 s hai
No task is so humble that it does not offer an outlet for individuality
-Original Message-
From: Raghu Ramaraj [mailto:raghu_rama...@mindtree.com]
Sent: Thursday, April 16, 2009
Hi,
I have a mib object of the type IpAddress.
In my code:
case MODE_SET_ACTION:
printf(\n SNMP SET\n);
temp = *(requests-requestvb-val.integer);
printf(Value of temp set to %ld, temp);
temp is of the type u_long
On sending a set request via snmpset, the mib
Hi,
I keep getting this message when I start snmpd: seaproxy_sendReq: SEA Master
Agent not responding
Any particular reason for this or is it just an informational message?
No task is so humble that it does not offer an outlet for individuality
DISCLAIMER:
Hi,
I have multiple NMSes which set a MIB variable to some value one at a time.
I need to know the address of the NMS which has set the variable. Is it
possible to do so?
No task is so humble that it does not offer an outlet for individuality
DISCLAIMER: This
Kashyap
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: how to extract sender address from the set request
2009/4/14 Tanisha Kashyap tanisha.kash...@aricent.com:
I have multiple NMSes which set a MIB variable to some value one at a time.
I need to know the address of the NMS which has set
Hi,
I have generated a .c file using mib2c tool. The mibnode is of the type
IPAddress.
I don't know how to edit the following:
case MODE_GET:
snmp_set_var_typed_value(requests-requestvb, ASN_IPADDRESS,
(u_char *) ???, ???);
what is the datatype of IPAddress
No task is so humble
:46 PM
To: Tanisha Kashyap
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: datatype for IPADDRESS
2009/4/14 Tanisha Kashyap tanisha.kash...@aricent.com:
I don't know how to edit the following:
case MODE_GET:
snmp_set_var_typed_value(requests-requestvb
Hi,
I am getting the following error when I am trying to run my .so
dlopen failed: ld.so.1: snmpd: fatal: relocation error: file snmp_xxx.so:
symbol netsnmp_check_vb_type: referenced symbol not found
code:
case MODE_SET_RESERVE1:
ret = netsnmp_check_vb_type(requests-requestvb,
Hi,
Is it mandatory to enter something in the community string field? Can it be of
zero length?
If yes, then is there any default value that will be used or is it left to the
developer to decide?
No task is so humble that it does not offer an outlet for individuality
Hi,
Can any one tell me what kind of data can the community string take?
Does it have to be only alphabets, or can it be alphanumeric? Or can it contain
any special characters?
No task is so humble that it does not offer an outlet for individuality
You can use something like:
operStatus OBJECT-TYPE
SYNTAX OperStatus
MAX-ACCESS whatever u want to use
STATUS whatever u want to use
DESCRIPTION whatever u want to use
::= { whatever u want to use }
OperStatus ::= TEXTUAL-CONVENTION
STATUS whatever u
[mailto:harendra.si...@globallogic.com]
Sent: Monday, April 06, 2009 12:40 PM
To: Tanisha Kashyap
Cc: net-snmp-users@lists.sourceforge.net
Subject: RE: ENUM syntax type
Thanks Tanisha for your help. I have described it as follows.
operStatus OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
Hi,
I have a scalar in my MIB which can take only two values, 0 or 1.
However I want to assign a default value of 0 to it.
Should I use the DEFVAL clause for the same?
No task is so humble that it does not offer an outlet for individuality
DISCLAIMER: This
Hi,
The snmp_parse_oid function is giving me the following error:
: Unknown Object Identifier (Sub-id not found: (top) - )
I have hardcoded the oids in my code.
What could be reason for this?
Thanks
No task is so humble that it does not offer an outlet for individuality
);
snmp_perror(alarmTrap-abcOid);
SOCK_CLEANUP;
return(1);
}
...
...
...
}
-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Monday, April 06, 2009 5:50 PM
To: Tanisha Kashyap
Cc
Hi,
I need to configure multiple trap destinations and have provided a GUI for the
same. The information entered in the GUI is used to open a session with the NMS.
I am able to do it for one NMS. I donot know how to proceed for multiple NMSes.
Regards
Tanisha
DISCLAIMER: This message is
Hi,
I need to know if I can use snmp_open to open sessions with multiple hosts?
If yes, then do I need to make netsnmp_session sessions as an array?
tanisha
No task is so humble that it does not offer an outlet for individuality
DISCLAIMER: This message is
Hi,
Has anybody used the TeMIP NMS or has some information about the GUI Interface?
Thanks
No task is so humble that it does not offer an outlet for individuality
DISCLAIMER: This message is proprietary to Aricent and is intended solely for
the use of the
Hi,
I need to create a module which would act like an SNMP agent and would be able
to forward traps to NMS and also receive traps from the NMS.
I thought of using the mib2c tool to generate the code for this. However I have
a few queries about this approach:
1) My mib does not contain any
is so humble that it does not offer an outlet for individuality
-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Wednesday, April 01, 2009 2:28 PM
To: Tanisha Kashyap
Cc: net-snmp-users@lists.sourceforge.net
Subject
Thanks a lot.
No task is so humble that it does not offer an outlet for individuality
-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Wednesday, April 01, 2009 3:51 PM
To: Tanisha Kashyap
Cc: net-snmp-users
...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Wednesday, April 01, 2009 2:56 PM
To: Tanisha Kashyap
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: SNMP dynamically loadable module
2009/4/1 Tanisha Kashyap tanisha.kash...@aricent.com:
What conf file should I
Hi,
I have written a small c program which parses data received extracts some
information and stores it in some variables.
Using this information I need to be able to make SNMP traps and forward them to
the NMS.
Should I use the SNMP trap from within this program or write another c program
] On Behalf
Of Dave Shield
Sent: Monday, March 30, 2009 4:01 PM
To: Tanisha Kashyap
Cc: sazid.maham...@wipro.com; net-snmp-users@lists.sourceforge.net
Subject: Re: sending traps
2009/3/30 Tanisha Kashyap tanisha.kash...@aricent.com:
My sole purpose is to actually make an agent which would
No task is so humble that it does not offer an outlet for individuality
-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Monday, March 30, 2009 4:44 PM
To: Tanisha Kashyap
Cc: net-snmp-users@lists.sourceforge.net
-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Monday, March 30, 2009 5:10 PM
To: Tanisha Kashyap
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: sending traps
2009/3/30 Tanisha Kashyap tanisha.kash
: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Monday, March 30, 2009 5:26 PM
To: Tanisha Kashyap
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: sending traps
2009/3/30 Tanisha Kashyap tanisha.kash...@aricent.com:
If I develop a subagent
on this approach as well.
Thanks
No task is so humble that it does not offer an outlet for individuality
-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Monday, March 30, 2009 3:46 PM
To: Tanisha Kashyap; sazid.maham
Thanks... :)
No task is so humble that it does not offer an outlet for individuality
-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Monday, March 30, 2009 6:26 PM
To: Tanisha Kashyap
Cc: net-snmp-users
Hi,
I need to generate a c code for a scalar object which is an integer. The object
can be set from the nms.
The mib2c tool seems to generate the get functions for the scalar objects and
the set functionality is only provided for the tables.
Is there any conf file that can be used to generate
Hi,
I am trying to generate the code using: mib2c -c mib2c.scalar.conf abc and I
get an error you didn't give me a valid OID to start with...
Abc is the name of one of the objects in the mib.
The mib is placed in the mibs dir: /usr/sma/snmp/mibs
Tanisha
No task is so humble that it does not
Hi,
I am currently working on Sunfire v245, solaris 10 machine. I had installed
net-snmp v 5.4.2.1
However I need to go back to net-snmp v 5.0.9 that comes with the machine. For
that I need to uninstall the new version.
Please provide me pointers to do the same since the machine is a server and
the source package was already installed
Regards
Tanisha
From: Upakul Barkakaty [upa...@gmail.com]
Sent: Thursday, March 19, 2009 11:00 PM
To: Tanisha Kashyap
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Uninstall net-snmp 5.4.2.1
Installing
Hi,
I have to define an alert as a MIB object. The object has a set of variables.
For one of the variables I need to add a tag inorder to differentiate one set
of alerts from another.
How can I do the same? Also what change will be required to be made to the MIB.
Thanks
No task is so humble
, March 12, 2009 1:46 PM
To: Tanisha Kashyap
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: MIB
2009/3/12 Tanisha Kashyap tanisha.kash...@aricent.com:
1) Do SMIv1 and v2 refer to any specific version of the SNMP protocols.
No.
As Pranesh says, SMIv1 is obsolete. Forget about it.
Write
for individuality
-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Thursday, March 12, 2009 3:10 PM
To: Tanisha Kashyap
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: MIB
2009/3/12 Tanisha Kashyap tanisha.kash
Hi
I need to write a MIB Module for supporting SNMP Version1.
I have a few questions:
1) Do SMIv1 and v2 refer to any specific version of the SNMP protocols. Eg: is
SMIv1 specific to SNMPv1
2) What is MIB-I and MIB-II? Are these also SNMP version specific?
Tanisha
No task is so humble that it
What about the SNMPv1
If you think you can, or you think you can't...You are Right -- Henry Ford
From: Pranesh Kulkarni [mailto:pranes...@gmail.com]
Sent: Wednesday, March 04, 2009 2:25 PM
To: Tanisha Kashyap
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re
Thanks.
If you think you can, or you think you can't...You are Right -- Henry Ford
From: Pranesh Kulkarni [mailto:pranes...@gmail.com]
Sent: Wednesday, March 04, 2009 2:30 PM
To: Tanisha Kashyap
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Trap
Of Dave Shield
Sent: Monday, March 02, 2009 3:03 PM
To: Tanisha Kashyap
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Send Trap
2009/3/2 Tanisha Kashyap tanisha.kash...@aricent.com:
Is there any function which I can use within my agent code to send a trap
when a certain condition has occurred
Shield
Sent: Friday, February 27, 2009 1:52 PM
To: Tanisha Kashyap
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: SET request
2009/2/27 Tanisha Kashyap tanisha.kash...@aricent.com:
I have written a small piece of agent code in perl to implement GET and SET.
The Get and Set work fine when I
What is the format to do the same?
If you think you can, or you think you can't...You are Right -- Henry Ford
From: Pranesh Kulkarni [mailto:pranes...@gmail.com]
Sent: Friday, February 27, 2009 2:06 PM
To: Dave Shield
Cc: Tanisha Kashyap; net-snmp-users
Hi,
I am trying to test my agent using the SNMPc v5.1 NMS. The Get request works
fine. However the Set gives a timeout error.
Agent: Get and Set blocks
##
#
if ($request_info-getMode() ==
Hi,
I have written a small piece of agent code in perl to implement GET and SET.
The Get and Set work fine when I do snmpget/set from the CLI. However when I do
the Set from an NMS installed on another machine, I get a function timed out
error.
On running the snoop command I found that the
Hi,
I am trying to run the following piece of code to emulate the perl agent
functionality.
However whenever I do a get using the following, I get an error:
Query: /usr/local/bin/snmpget -v 2c -c private 127.0.0.1
.1.3.6.1.4.1.8072...7375.1.0
Error: Timeout: No Response from 127.0.0.1.
63 matches
Mail list logo