This is the sample code which i wrote just to trace the flow.
Register.
netsnmp_register_scalar(netsnmp_create_handler_registration
(getOutStandingAlarm,
handle_getOutStandingAlarm,
getOutStandingAlarm_oid,
Hi Greeting:
Is there such mib oid which can provide the IP address on the eth0 of the
device?
Thanks,
-Jim
NS^?X????jg??j??.?-Z#y0}?q^!j*
??~'????h+zn()?[EMAIL PROTECTED](m??'y??oë
NET-SNMP of the attachment is used for RHEL ES3.
Community cannot be set with snmptrapd.
snmptrapd starts traphandler even if there is community that the agent
sends why.
Please teach the method of setting community in snmptrapd.
Please my best regards.
On Thu, 26 May 2005 10:15:01 +0100 Dave wrote:
DS (2)When the sub-agent is restarted, what happens to
DS data in the saved file? Is it deleted, truncated or
DS new data appended to old saved data?
The file is written out completely every time. So if you register a handler to
parse the data on
Title: Message
Hi,
What variable type
has to be given to snmpset on the command line to set the value of counter64
variable.
Ihave been
trying to set using
snmpset -v 2c
-cpublicIpAddrOID U value
Butgot the
error "wrong type".
We are using Net-Snmp 5.1.1.
Any info
On Tue, 24 May 2005 17:18:43 -0700 (PDT) mobby wrote:
ML error. Then I do make install /myprivate directory, and can only small
ML part of kit, about 120K in size. Details are below.
Try make prefix=/myprivate exec_prefix=/myprivate install.
--
NOTE: messages sent directly to me, instead of the
On Wed, 25 May 2005 07:04:55 -0700 (PDT) Salsa wrote:
S assumed my subagent was killing it. Now I realize that
S no one really dies. Actually it looks like my subagent
S provoked a deadlock with master agentx. So it is there
S waiting to send the final traps while master agent x
S is there waiting
On Wed, 25 May 2005 16:12:50 -0500 John wrote:
JA We have a device that does not allow us to disable authentification traps.
JA The trap receiver is set to ignor the abundant authentification traps
JA sent.
JA However, we would like to have this function disabled so that the messages
JA are not
On Wed, 25 May 2005 15:30:42 -0700 (PDT) Nick wrote:
NE I have many devices sending SNMP traps to a Solaris 8 system running
NE Ciscoworks. Most of the devices can only send traps to one IP address. I
NE now have need of 4 devices to get copies of this trap stream.
NE
NE Can net-snmp running on
On Fri, 27 May 2005 16:20:03 +0530 Priya wrote:
P I have configured the SNMP on solaris.But now I don't understand how to load
P MIB. During confuguration I gave ./configure command.
P
P Now whenever I run any snmpget command I am getting timeout message?
P Will you please help me?
Have you read
On 28 May 2005 15:24:17 - Parthiban wrote:
PN My sincere thanks to Mr.Robert sir, Mr.Dave sir and all the NET-SNMP
PN Teamhelping and guiding me in doing my project work.
PN
PN As i said in my first mail.. i am doing a project for my final semester MCA
PN course regular. my project title
On Tue, 31 May 2005 17:49:32 +1200 Garrett wrote:
GS In /var/log/messages
GS
GS snmpd: No page line in /proc/stat
GS snmpd: No swap line in /proc/stat
GS
GS I understand that in previous kernels , it use to log the memory stats to
GS the file /proc/stat but recent kernels have placed this some
On Wed, 8 Jun 2005 09:39:24 -0400 Robert wrote:
RS That does sound like a bug in our agent. It should move on to the next
RS tree. I'm not familair with the proxy code, but I can take a quick look and
RS see if it's something easy.
I'm not sure if this will fix the issue, or if it is the right
tar -xvf ~snmp/deploy/net-snmp.5.2.1.tar, I encounter tar:
directory check sum error.
Do we have a bad net-snmp-5.2.1.tar.gz file in the link ?
The file size is :
22149120 Jun 7 14:47 net-snmp-5.2.1.tar
3971320 Jun 7 14:42 net-snmp-5.2.1.tar.gz
Those file sizes match what I get.
On Fri, 03 Jun 2005 09:57:28 +0100 Dave wrote:
DS On Thu, 2005-06-02 at 16:16, Glenn MacGregor wrote:
DS Glenn This subagent needs that info because based on the ip the
DS Glenn request was sent to it has to read a different mib.
DS
DS One possibility might be to link a particular interface (in
On Fri, 03 Jun 2005 16:30:24 +0800 jinyi wrote:
J in /etc/init.d/snmptrapd, I modify the OPTION's value as below
J ..
J OPTIONS=-c /etc/snmp/snmptrapd.conf -s -u /var/run/snmptrapd.pid
J -l1 -OfnQ -o /var/log/trap.log
J ..
J
J the content of /etc/snmp/snmptrapd.conf is:
J
J
Hi all
I have read at
http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap-v3.html that
an INFORM is nothing more than an acknowledged TRAP. nevertheless, i have
read at snmp, snmpv3, snmpv3 and rmon. 3 edition by stalling that an
INFORM is sent by an snmpv2 entity acting in a
On Mon, 6 Jun 2005 16:46:47 +1000 Mark wrote:
MH Case 4)
MH ==
MH However,
MH When I send a get bulk request to the agent with TWO OID's from MY part of
MH the MIB tree (.1.3.6.1.4.1.14010.1.3.2.1 and .1.3.6.1.4.1.14010.1.3.2.2)
MH the master SNMP agent receives the
On Tue, 07 Jun 2005 16:23:56 +0100 Dave wrote:
DS It might be possible to host this under the 'netSnmp' tree,
DS if you don't want to register an enterprise number of your own.
DS But I don't think there's anything specifically set aside for
DS this by IANA. That's basically what 'enterprises' is
On Tue, 07 Jun 2005 11:17:08 -0400 [EMAIL PROTECTED] wrote:
CRC I see RFC1213-MIB::ifSpeed is read-only. Is there a MIB entry that will
CRC allow me to force a specific speed for an interface?
No, but some OS support configuring it in snmpd.conf (see interface directive
in man page).
--
On Tue, 7 Jun 2005 15:21:14 -0500 Wu, wrote:
WLA I tried to download net-snmp-5.1.2.tar.gz from Sourceforge download page
WLA of the net-snmp download , I selected net-snmp-5.2.1.tar.gz to download
WLA to my pc then ftp to my server, then I gunzip net-snmp-5.2.1.tar.gz,
WLA after that I did tar
On Wed, 8 Jun 2005 16:58:28 +0800 Jim wrote:
JSIs there such mib oid which can provide the IP address on the eth0 of
JSthe device?
Correlation between the ipAddressTable/ipAddrTable and the ifTable should work.
--
NOTE: messages sent directly to me, instead of the lists, will be
On Wed, 2005-06-08 at 16:05, Gemma Sánchez wrote:
i have
read at snmp, snmpv3, snmpv3 and rmon. 3 edition by stalling that an
INFORM is sent by an snmpv2 entity acting in a manager role, on behalf of
an application, to another
On Wed, 8 Jun 2005 17:05:09 +0200, Gemma Sánchez [EMAIL PROTECTED] said:
Gemma nevertheless, i have read at snmp, snmpv3, snmpv3 and rmon. 3
Gemma edition by stalling that an INFORM is sent by an snmpv2
Gemma entity acting in a manager role, on behalf of an application,
Gemma to another snmpv2
Robert Story wrote:
On Wed, 8 Jun 2005 09:39:24 -0400 Robert wrote:
RS That does sound like a bug in our agent. It should move on to the next
RS tree. I'm not familair with the proxy code, but I can take a quick look and
RS see if it's something easy.
I'm not sure if this will fix the issue,
On Fri, 03 Jun 2005 09:57:28 +0100, Dave Shield [EMAIL PROTECTED] said:
Dave One possibility might be to link a particular interface (in
Dave the master agent) with a corresponding context, and have the
Dave subagent register the various MIB using these contexts.
Dave You'd still need to add
Quoting Wes Hardaker [EMAIL PROTECTED]:
On Fri, 03 Jun 2005 09:57:28 +0100, Dave Shield
[EMAIL PROTECTED] said:
Dave One possibility might be to link a particular interface (in
Dave the master agent) with a corresponding context, and have the
Dave subagent register the various MIB using
On Wed, 08 Jun 2005 19:07:08 +0900, Dan Keimatsu [EMAIL PROTECTED] said:
Dan Please teach the method of setting community in snmptrapd.
Currently snmptrapd trapd always accepts any community name. If you
want security, you should consider using SNMPv3 instead.
--
Wes Hardaker
Sparta, Inc.
Hi,
I am trying to write a trap handler with net-snmp. I found that, the
systemuptime passing to the trap-handler is translated by snmptrapd to
dd:hh:mm:ss.ss format. How can I keep the systemuptime in second
format?
---
This SF.Net email is
On Wed, 08 Jun 2005 14:52:43 +0100, Dave Shield [EMAIL PROTECTED] said:
Dave On Wed, 2005-06-08 at 14:00, Pamidipati Suresh-G20238 wrote:
What variable type has to be given to snmpset on the command line to
set the value of counter64 variable.
Dave You can't.
Dave Counters are inherently
On Mon, 06 Jun 2005 13:57:44 +0300, Risto Vaarandi [EMAIL PROTECTED]
said:
Risto However, in many occasions the snmpd agent reports the Process fault
Risto string, but 0 as the exit status of the script. I am experiencing this
Risto problem on SuSe SLES9 platform - both with snmpd 5.1 agent
On Mon, 6 Jun 2005 17:29:16 +0800 (CST), wanxia qu [EMAIL PROTECTED]
said:
wanxia But when issuing any snmpget, Timeout:No Response from
wanxia localhost is returned.
wanxia What should i do next?
You need to configure it to accept your community string or SNMPv3
user. Run snmpconf -g
On Thu, 2 Jun 2005 20:24:54 -0400, Chuck Cottrill [EMAIL PROTECTED]
said:
Chuck I am not very happy with how the resulting snmp trap generation
Chuck function gets its arguments, nor how the arguments (dest port,
Chuck source host, OID, etc) are provided to this function.
Can you show us what
On Thu, 2 Jun 2005 20:24:54 -0400, Chuck Cottrill [EMAIL PROTECTED]
said:
Chuck Custom software with embedded MIB support using the table helper handlers
Chuck and agentx.
Ahh... missed that till a second ago. You don't want to look through
snmptrap.c to figure out what to do if this is
Hi all !!!
I am try to send inform through the next code. I cant get it. When this
function is executed, the agent crash. It try to resend 5? times the inform
before get down. I use a similar code to generate TRAPs and this is in order
to send TRAPs. Could somebody help me?
Thanks.
Gemma
On Tue, 07 Jun 2005 11:17:08 -0400 [EMAIL PROTECTED] wrote:
CRC I see RFC1213-MIB::ifSpeed is read-only. Is there a MIB entry
CRC that will allow me to force a specific speed for an interface?
No, but some OS support configuring it in snmpd.conf (see interface
directivein man page).
On Wed, 08 Jun 2005 14:28:46 -0400, [EMAIL PROTECTED] said:
cnelson Thanks but I need to do this dynamically for testing (and I
cnelson want to make sure end users never see these entries with
cnelson snmpwalk or whatever). Here's an idea:
cnelson - I add speed setting entries to my enterprise
On Wed, 08 Jun 2005 09:36:07 -0700 John wrote:
JH I'll give it a try, but I got a fix from the Squid folks that's been
JH working for me. See bug #1317 in the Squid Bugzilla database.
JH The Net-SNMP agent receives the getnext for the last OID returned
JH by my code and gives it back to my code.
On Thu, 2 Jun 2005 20:24:54 -0400 Chuck wrote:
CC I need advice on how to generate snmp traps within a compiled process.
CC
CC Architecture constrains prevent me from just forking/shelling out to the
CC snmptrap executable.
CC
CC Ideally, I would like functions to build a trap and send it.
Try
We have FreeBSD 3.3 and 3.4 running in remote offices as DNS/DHCP servers.
They contain net-snmp 4 and I'd like to upgrade. Can I drop in the
current 5.2.x package on them?
---
This SF.Net email is sponsored by: NEC IT Guy Games. How far
Robert Story wrote:
On Wed, 08 Jun 2005 09:36:07 -0700 John wrote:
JH I'll give it a try, but I got a fix from the Squid folks that's been
JH working for me. See bug #1317 in the Squid Bugzilla database.
JH The Net-SNMP agent receives the getnext for the last OID returned
JH by my code and
Thanks Robert. I understand your approach. It seems a good way to get the
information what I am looking for. Thanks again!
-Jim
-Original Message-
From: Robert Story [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 08, 2005 11:17 PM
To: Jim Su
Cc: Net-Snmp-Users
Subject: Re: The ip
42 matches
Mail list logo