Hello,
Thanks again for your previous responses to previous emails.
Anyhoo, I noticed that README.solaris documentation indicated that
net-snmp subagent built on the net-snmp libraries can be used in
conjunction with the Solaris SNMPDX daemon - and that's wonderful since
we don't have to
I'm not sure what you mean by shipping snmpd with the subagent.
We have a seperate daemon which does various things, but among them
sends SNMP (v2) traps using net-snmp libraries and interfaces (such as
send_v2trap(), etc.). So, that is what I refer to as a 'subagent'.
Then, there's net-snmp's
Hee-hee. Thanks Dave, will keep that in mind.
Dave, as I re-read the README.solaris doc I realized that maybe I
misread and that in fact the net-snmpd 'snmpd' daemon still has to run
along side of the Solaris native 'snmpdx' for a net-snmp subagent to
run? In other words, in part 7 of
Hello,
I have a simple subagent which sends a trap through the agent and out to
the manager. However, on the manager side, using MIB smithy I'm not
seeing the trap via. Trapwatch tool. However, I know that the mib
Smithy tool and the agent (snmpd) on the host are talking because I see
the cold
thank you much - exactly what I was searching for. Just not obvious when
time becomes a factor as in my case.
Randy
-Original Message-
From: Wes Hardaker [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 29, 2008 2:05 PM
To: Smith, Randy
Cc: net-snmp-users@lists.sourceforge.net
Subject:
Hello,
I'm desperately trying to debug something. I've noticed that throughout
net-snmp modules, there are calls to snmp_log which log messages to an
error log somewhere, however, I have been unable to find how these
messages get printed out in the documention.
As far as I can tell by rummaging
Ok, thank you again.
Randy
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield
Sent: Wednesday, December 19, 2007 4:03 AM
To: Smith, Randy
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Bad operator (♥): At line 1 in
Hi,
I was wondering if someone could take a quick look at my conf file below
and see why when I do the following:
/opt/emc/dist/local/usr/bin/snmpget -v 1 -c whatever localhost
SNMPv2-MIB::sysUp
Time.0
I get the following error message:
Timeout: No Response from localhost.
This is assuming
Silly me!
For the snmpd.conf file I generated it's not:
rocommunity public .1.3.6.1.2.1.1
but rather:
rocommunity whatever
And the snmpget -c command works fine.
But when I use the snmpd.conf file my coworkder generated (in original
email) using community 'whatever' also, I get the timeout.
Thanks Ed/Dave
fyi, the conf file pasted earlier is one that a coworker devised on AIX
using the snnpconf. However, interestingly, when I use the following
snmpd.conf that I generated myself on Solaris, the 'snmpget -c '
works fine. Also, following the 'good' snmpd.conf file, Dave you will
P.S The result I posted in the previous email of running the 'startup'
script were results using the snmpd.conf file that I generated.
When I run the 'startup' script using my coworker's snmpd.conf file, I
get the following results:
# . ./startup
1523
Simple Test
Timeout: No Response from
Good news: I found the problem with the snmpd.conf file that was in
question.
There was a line at the bottom of the file, which I overlooked, as
follows:
#agentaddress 161
agentaddress 1161
I uncommented out the 'agentaddress 161' and commented out the
'agentaddress 1161' and now the snmpget
Dave,
Getting back to you on the packets that you requested
When I run using the snmpd.conf file I generated (the one that works), I
didn't see much in the way of packets. The first output below will show
this. However, further below, you'll see the output of packets from
using the
Upon installing netsnmp (as I did today because I needed to compile with a
different compiler), and firing up snmpd, setting
MIBS=/opt/emc/dist/local/usr/share/snmp/mibs and then peforming the following
test:
./snmpget -v 1 -c whatever localhost sysUpTime.0 (from prefix/bin )
I get
Hello again,
I am running on Solaris 9.
I installed net-snmp-5.4.1 a couple of months back, turned off the
native snmpdx (sun's native daemon),created snmpd.conf using snmpconf,
and then was able to start snmpd without any problems ( snmpd ).
However, today, after repeating the steps above,
Hello
I've scoured through the emails and have noticed that a number of others
have had this same problem, and I've tried everything that was
suggested.
When I attempt to link my app specific libraries to the net-snmp libs, I
get the following link error:
Undefined first
I have a daemon that is compiled as a seperate subagent and its purpose
is only to send traps.
However, I've found that in the code, shortly before sending the trap
packet, as I'm making calls to the
snmp_varlist_add_variable() function to add to the trap packet, the
number of varbinds seems to
In following the tutorial for creating a subagent, the tutorial
instructs me to add the master agent line to snmpd.conf, which I do.
Then, I restart snmpd and do ps -ef, and snmpd process doesn't appear.
The interesting thing is that when I execute snmpd, it appears to
execute from the command
Thank you for your response.
If you add the line master agentx and then start the agent using
snmpd -f -Le
what does it display?
# snmpd -f -Le
Turning on AgentX master support.
Error: Couldn't open a master agentx socket to listen on ():
Should I create an agentx.conf file perhaps?
Does the directory /var/agentx exist?
Who is it owned by, and what are the permissions?
OK - that's the most important thing to fix.
Who are you starting the agent as? Root, or an unprivileged user?
I'm starting the agent as 'root'. Everything is owned by 'root' because
I
try creating this directory. Then restart the agent (snmpd -f -Le)
What does this report?
#snmpd -f -Le
Turning on AgentX master support.
NET-SNMP version 5.4.1
I ps -ef'd it and it appears to be running now?
Thanks!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
Hello,
I'm trying to create a subagent that will be able to send traps when
something specific occurs. I noticed notification.c example does this,
however, this example code gets compiled into the master agent. I would
like my trap sender to be a seperate daemon running in the background
unlike
In one of the example Makefiles, it points to libraries that are
referenced in net-snmp-config labeled NSC_BASE_SUBAGENT_LIBS which is
assigned the value -lnetsnmpagent -lnetsnmphelpers - lnetsnmp. So when
I attempt to build, it can't find these libraries anywhere. I've checked
all over including
Well, it turns out that the problem was in our MIB. We thought that we
had converted our MIB over to SMIv2 but it was still at v1, so the
snmptranslate command wasn't picking it up.
Thanks to all for your time,
Randy
-Original Message-
From: Wes Hardaker [mailto:[EMAIL PROTECTED]
Hello,
I'm running on a Solaris9 platform with net-snmp v 5.4.1.
Within my $HOME/.snmp./mibs directory, I have a real simple MIB called
myMib with the following:
PPEVENTS-MIB DEFINITIONS ::= BEGIN
IMPORTS
enterprises, OBJECT-TYPE
FROM RFC1155-SMI;
-- OBJECT-TYPE
--FROM
ok, on line 1 I changed the PPEVENTS-MIB to PP-EVENTS-MIB, issued the
same command, and still get the same results.
Does there have to be a MODULE-IDENTITY statement in the MIB perhaps for
snmptranslate to find it? The smithy tool used to create this MIB in
SNMPv2 format didn't include such a
Hello,
Thank you for your support.
Since sending the email, I made some adjustments in the way that I
configured and built. First off, I switched over to the GNU compiler
(gcc) and then I disabled support for PERL. When running the ./configure
program, I used the same options as below
Hello,
I'm new to net-snmp, and am attempting to install net-snmp on a Solaris
9 box. When I execute the make install command using a prefix, such as
follows:
make install prefix=/tmp/local/dist/usr/local
exec_prefix=/tmp/local/dist/usr/local
Can anyone advise on this one?
Thanks.
I get the
28 matches
Mail list logo