Please forgive me but I am going to spam the -coders list too since it
is a good place for this discussion. I have been thinking about
implementing something similar in an app I am working on, but if the
functionality can be had in the Net-SNMP package so much the better.
don hammer wrote:
Hi a
I have a problem, I have follow the commands in this link:
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094aa6.shtml#copying_startup
I'm using my notebook as snmp manager with net-snmp-5.1.2, and when I type
# ./snmpset -v 1 -c private -v 1 -c private -m
/usr/local/sh
Hi again,
On Tue, 12 Oct 2004 13:33:20 -0400, Users Robert Story
<[EMAIL PROTECTED]> wrote:
> Either way, you should be able to find the difference. I seem to recall one
> release/pre-release not properly setting the default port for traps. That might
> be the problem...
Ah. Okay, that's a good
Thanks for the "patch" but I compared and it's the same.
The snmpd.c file is under the path of
/usr/local/src/net-snmp-5.2.pre1/agent/snmpd.c
So... I didn't make any changes and used -Dsnmpd to run it.
And... The most of the first 30 mins was like this
snmpd/select: select( numfds=10, ..., t
Looks like "snmptranslate -Td -OS" will do the job for me. Thanks!
-Original Message-
From: Bruce Shaw [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 12, 2004 1:34 PM
To: 'Edric Bulalacao'; [EMAIL PROTECTED]
Subject: RE: Retrieving the DESCRIPTION from MIB files
In a word - no.
Tra
In a word - no.
Traps send out their information in a specific format. That's what
standards are for. The MIB.txt describes the layout of the trap.
In your case the layout is
ipoGTEventSeverity,
ipoGTEventDateTime
To get this particular element to output a description, the MIB would have
to r
Title: Message
Am currently using
ucd-snmp...if switching to net-snmp will solve this problem, I'll gladly
switch. Anyway, here's a little snippet example from one of MIBs I'm
working on:
ipoGenLKSCommsOperationalEvent NOTIFICATION-TYPE
OBJECTS {
ipoGTEventSeverity,
ipo
Piergiorgio Venuti wrote:
[snip]
02:25:57: SNMP: Packet sent via UDP to YYY.YYY.YYY.YYY
02:25:57: TFTP: Sending read request
%SYS-3-CONFIG_NV_ERR: Nonvolatile storage write error; configuration
LAST LINE IS A PROBLEM, but I don't know why.
[snip]
UDP error: couldn't parse
m
On Mon, 11 Oct 2004 11:27:51 +0930 don wrote:
DH> > On Thu, 30 Sep 2004 15:13:54 +0930 don wrote:
DH> > DH> Unfortunately, I'm still having troubles with sending traps from an
DH> > DH> agent X agent (or subagent).
DH> > DH>
DH> I've had a few successes and a few failures. I recompiled 5.1.2.rc1
DH
Don't worry about the delay Dave;
I realized that there is a problem to run mib2c with
the primitive node (sipCommonMIB) if in some group or table there are
row status
fields.
When the mib2c read the perl template (mib2c.array-user.conf), it
produce C code for a row_status check for tables that
I have a problem, I have follow the commands in this link:
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094aa6.shtml#copying_startup
I'm using my notebook as snmp manager with net-snmp-5.1.2, and when I type
# ./snmpset -v 1 -c private -v 1 -c private -m
/usr/local/s
Developing a table mib module failes.
A simple scalar module (macdTest) is working, so basic set up seems to be well.
For the table module 'gatewayTable' seems to be incomplete.
Even it can be compiled and the library loaded nothing happens (/etc/snmp/snmpd.conf:
line 146: Warning: missing an da
On Tue, 12 Oct 2004 20:43:27 +0530 John, wrote:
JJJ> Is it possible to configure Net-SNMP to use the local systems' (Linux's)
JJJ> user-name/password based authentication
No, it is not.
JJJ> If not readily possible, how feasible is it to add a PAM (pluggable
JJJ> Authentication Module) layer to
On Sun, 10 Oct 2004 23:28:44 +0200 Giovanni wrote:
GT> I supposed that snmptrapd handler don't fork at
GT> every received trap and so, when there are a lot of trap messages, the
GT> system uses a long time to analyze the traps (subsequentially). Is my
GT> supposition true ???
Yes, that is correct.
On Mon, 11 Oct 2004 10:35:20 -0600 Carlos wrote:
CC> Will look into it. Currently I'm doing this, and it seems to work:
CC>
CC> if (table_set) {
CC> for(row = table_set->table->first_row; row; row = row->next) {
CC> if (*(row->indexes->val.integer) == alertIndex) {
CC> netsnmp
On Fri, 8 Oct 2004 21:06:16 +0100 Tony wrote:
TS> I don't know of any sub-agents, just snmpd itself.
TS>
TS> Is there anything I can look to see if there is any sub-agents running?
You would have seen a bunch of "agentx" debug messages in the debug output you
captured.
Try applying this patch, a
On Sat, 09 Oct 2004 04:32:08 + sunny wrote:
SC> $PIXmem = snmpwalk("10.26.1.1", "psi911",
SC> "1.3.6.1.2.1.4.20.1.5.10.26.1.1");
SC> echo "PIXmem: $PIXmem";
SC> echo "\n";
SC> ?>
SC>
SC> Fatal error: Call to undefined function: snmpwalk() in C:\Program
SC> Files\Apache Group\Apa
Hi,
Is it possible to configure Net-SNMP to use the local systems' (Linux's)
user-name/password based authentication similar to other services
like FTP, Telnet, NFS, etc?
If not readily possible, how feasible is it to add a PAM (pluggable
Authentication Module) layer to the Agent to accomplish
> The last option would be what I was looking for, and I am now trying
> the code from at CVS.
> But his has one limitation, one would have to know the context name.
Well, the management station has to have *some* way of specifying
which of the various overlapping systems it is interested in.
That
> I really dont know the meaning of "host" and "localhost" in
> snmptrap tutorial:
'host' is where you're sending the trap *to*.
'localhosxt' is used to set the internal field that reports
where the trap is being sent *from*.
It's this second field that you're missing.
Try comparing your comma
> $ snmpget localhost NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0
> NET-SNMP-TUTORIAL-MIB: Module not found
Looks like the command isn't finding the MIB file.
> I also set the MIBDIRS=/usr/share/snmp/mibs;~lejanson/mibs
a) You probably need a colon ':' rather than a semicolon ';'
Lejanson C. Go wrote:
I already tried this approach. I am sorry if my email has not
been complete.
[EMAIL PROTECTED] net-snmp]# export
MIBDIRS=/usr/share/snmp/mibs/:/home/lejanson/works/proj/proto/mibs
My mibs are also located at /home/lejanson.
Please work through
http://www.net-snmp.org/FAQ.htm
Hello Thomas,
I already tried this approach. I am sorry if my email has not
been complete.
[EMAIL PROTECTED] net-snmp]# export
MIBDIRS=/usr/share/snmp/mibs/:/home/lejanson/works/proj/proto/mibs
My mibs are also located at /home/lejanson.
Thanks.
Lejanson
Thomas Anders wrote:
Lejanson C. Go wrote:
Lejanson C. Go wrote:
snmpd.conf is configured with "master agentx" string. I also set
the MIBDIRS=/usr/share/snmp/mibs;~lejanson/mibs
Please rather use
MIBDIRS=/usr/share/snmp/mibs:$HOME/mibs
(please carefully note the two differences). Also, that shell variable needs
to be exported ("export" in s
Hello,
I tried finding the solution for this problem
in the archives but I end up empty handed.
Anyways I have a bit of a problem regarding Agentx.
My subagent is already running properly. I used the
"example-demon" from the website. The sad thing is
when I try to execute "snmpget" it will print ou
I define a trap in my mib followed the sample in snmptrap tutorial:
demotraps OBJECT IDENTIFIER ::= { cxblade2 4 }
demo-trap TRAP-TYPE
STATUS current
ENTERPRISE demotraps
VARIABLES { bladeType }
DESCRIPTION "This is just a demo"
::= 1
but i am failed to send
26 matches
Mail list logo