Dear Mr.Dave and all:
In the snmpd.conf I wrote the following rows:
AgentSecName me
Rouser me
Monitor -u me ?r 12 ?o sysUpTime.0 “test the monitor”
oaValueTable[0]>1
( oaValueTable[0] is a integer-variable and I bound it with the
MIB:OutOpticalPower.
in the .
Hi,
Why don't try to use the TrapReceiver perl module?? If you compile the
net-snmp package with embedded perl support snmptrapd will execute a
perl handler that will process the SNMP trap received. There is an
example of the perl trap handler in the net-snmp distribution.
Hopoe this helps,
H
What's the maximum size of a variable that's gonna
be bound to a trap??
I ask this because I'm having a (another one)
problem with my subagent. I select some events from my
database and depending on some values I'll send a
trap. Everything was working fine until the string
which is attached t
I'm running net-snmp 5.2.1_2 on FreeBSD 4.11 and hrStorageUsed is no
longer in the list when doing an snmpwalk. Has anyone else experienced
this? Any possible solutions to get it back?
Chris
---
This SF.Net email is sponsored by Oracle Space
[EMAIL PROTECTED] wrote:
I'm running Solaris 2.8 Version 5.1.2.
My NMS is polling a var which causes the net-snmp agent to spawn a
"defunct" process. I'm persuing this with the NMS vendor to clarify what
it is they poll. But clearly the net-snmp agent should not spawn a
defunct process. I want to r
I'm running Solaris 2.8 Version 5.1.2.
My NMS is polling a var which causes the net-snmp agent to spawn a
"defunct" process. I'm persuing this with the NMS vendor to clarify what
it is they poll. But clearly the net-snmp agent should not spawn a
defunct process. I want to report this as a bug. Can
On Tue, 2005-05-17 at 16:18, Fabio "Salsa" Durieux Lopes wrote:
> Problem is for every trap my agent sends there's another
> one (of the same type) containing what I think to be
> sysUpTime or maybe the time of the trap. And I'm not
> explicitly sending this trap.
Is this a separate trap packet,
Dave Shield wrote:
On Fri, 2005-05-13 at 23:05, Alex Burger wrote:
Net-SNMP could be change to allow either snmpTrapOID or snmpTrapOID.0,
but I'm not sure if that is something that should be done.
NO!! It Most Definitely Should Not!
It trust that answers the question to your satisfaction, Alex :-
On Tue, 2005-05-17 at 16:04, John McCaskey wrote:
> The mssqlserver mib was poorly (imho) designed and uses string index's
> for pretty much everything.
There's nothing inherently wrong with using string indexes.
A number of the UCD-SNMP-MIB tables are being re-designed,
and many of the re-writes
Hi!
I new to NET-SNMP and I've made a subagent (using
AgentX) to send some traps that I've defined. Problem
is for every trap my agent sends there's another one
(of the same type) containing what I think to be
sysUpTime or maybe the time of the trap. And I'm not
explicitly sendingh this trap. It
Dave Shield wrote:
On Fri, 2005-05-13 at 22:33, John McCaskey wrote:
I have a Win 2k server running SQL Server that has the SNMP Agent setup
and the SQL Server mib installed. I can walk it as follows:
[snip]
But, if I try to get with either the long numeric oid, or the one with
th
On Tue, 2005-05-17 at 15:21, mobby lin wrote:
> I had used net-snmp source to build my Solaris net-snmp binary kit.
> From the Readme.solaris document from www.net-snmp.org
> > make install prefix=/usr/local/dist/usr/local \
> >exec_prefix=/usr/local/dist/usr/local
> > cd /usr/local/di
On Wed, 2005-05-11 at 19:28, Mohr James wrote:
> In the meantime I have been using the 'exec' form of this
> and it is working out really nicely. I have noticed that
> there are two instances of each entry:
>
> UCD-SNMP-MIB::extIndex.1 = INTEGER: 1
> UCD-SNMP-MIB::extIndex.2 = INTEGER: 2
> UCD-SNM
On Thu, 2005-05-12 at 18:09, Budyanto Himawan wrote:
> How does sysORTable get populated.
There's an API call (a macro really) REGISTER_SYSOR_ENTRY
which can be used to insert a sysORTable entry in either
the main agent, or an AgentX subagent.
See various modules under 'mibgroup/mibII' for exampl
I need to used snmp-trap function to receive some trap/information messages, then run a external command to process the messages.
I try to understand the source file of snmptrapd in the net-snmp 5.2.1. To me, this is a little complex to understand the whole coding. Specially I trace the snmptrapd
On Fri, 2005-05-13 at 23:05, Alex Burger wrote:
> The first OID passed in an SNMP v2 trap is the uptime and the second is
> SNMPv2-MIB::snmpTrapOID.0. In the packet you sent me, it is sending
> SNMPv2-MIB::snmpTrapOID (without the trailing .0).
> Net-SNMP could be change to allow either snmpTra
On Fri, 2005-05-13 at 22:33, John McCaskey wrote:
> I have a Win 2k server running SQL Server that has the SNMP Agent setup
> and the SQL Server mib installed. I can walk it as follows:
[snip]
> But, if I try to get with either the long numeric oid, or the one with
> the string I get t
On Thu, 2005-05-12 at 04:06, çåä wrote:
> I am trying to incorporate a MIB module in the Agent.
>But when I run the :
> $./snmpd
>the Agent can not run.
>There is something wrong with the ââ module.
> How can I find what is the matter?
a) Check the snmp
I had used net-snmp source to build my Solaris net-snmp binary kit. Now I try to build a runtime binary kit from this kit in order to remote install to many net-snmp clients.
From the Readme.solaris document from www.net-snmp.org, ther are some guide as below
>Create an empty directory such as
On Thu, 2005-05-12 at 06:30, Budyanto Himawan wrote:
> there doesn't seem to be any directive to completely
> disable an snmp version is there?
If you don't configure access control settings for
a particular SNMP version, then the agent won't
accept requests using that version.
If you want to omi
On Thu, 2005-05-12 at 17:41, Budyanto Himawan wrote:
> It seems that only v1 and v2c can be configured to
> only allow access from a set of ip addresses.
Correct.
> com2sec does not really make sense for v3 which uses
> usm.
Correct.
> Is there any way to do the same for v3?
No.
The User-Secur
On Thu, 2005-05-12 at 12:14, Frithiof Jensen (AH/LMD) wrote:
> The "pass persist" directive seems to do most of what is
> needed but there is one issue: Traps/Informs.
The "pass" interface is not designed to support traps.
If you wish to use this mechanism, then you'd need to
handle trap generatio
Hello friends,
I have a mib table copiled using mib2c -c mib2c.create-dataset.conf MIBNODE.
the auto generated code uses the function
netsnmp_table_set_add_indexes();
and the g++ compiler gives a link time error:
/agent/source/commonTables.cc:91: undefined reference to
`netsnmp_table_set_add_index
On Tue, 2005-05-17 at 13:20, [EMAIL PROTECTED] wrote:
> do someone know if there is a MIB that permit me to
> monitor the size of the stored mail database on a
> Microsoft Exchange Server?
There's nothing suitable implemented in the Net-SNMP
agent, no. There might be something in Microsoft's
own
On Mon, 2005-05-16 at 18:59, Gemma Sánchez wrote:
> Now, I need to GET the value of this variable from my program, so I have
> write the next piece of code:
>
> peticion = snmp_pdu_create(SNMP_MSG_GET);
> snmp_add_null_var(peticion, aeIndLibre_oid, OID_LENGTH(aeIndLibre_oid));
And what is the
On Fri, 2005-05-13 at 14:05, Kurapati M-G19456 wrote:
> 1. GETNEXT on the last scalar object:
> NET-SNMP Library calls the table handlers in the following order.
>
> a. getnext on table-one
> b. getnext on table-two
> c. getnext on table-three
> d. getnext on table-two
Yes
On Sun, 2005-05-15 at 13:09, Pamidipati Suresh-G20238 wrote:
> For get-next processing, what should be the error code to be returned
> to the net-snmp library if there is no-next instance for the given
> OID..?
It doesn't matter.
The MIB handler can explicitly return a noSuchInstance or
noSuchObj
On Wed, 2005-05-11 at 18:18, Mohr James wrote:
> >> There's an equivalent directive "extend" which works in the
> >> same way as "exec"
> Something is not working here. I add this to my snmpd.conf
>
> exec shelltest /bin/bash /tmp/shtest
>
> and I can walk 2021.8 tree. If I change the "exec" t
On Thu, 2005-05-12 at 11:57, çåä wrote:
> In the man page of SNMPD, it is said something about how to incorporate
> âDISMAN-EVENT-MIBâ;
> I run the following commands:
> $ ./configure -with-mib-modules=âdisman/event-mibâ
> $ make
> $ make install
Yes - that's correct.
> I find
Hi all,
do someone know if there is a MIB that permit me to monitor the size of the
stored mail database on a Microsoft Exchange Server?
Thanks in advance.
--
Michele Furno.
Navighi a 4 MEGA e i primi 3 mesi sono GRATIS.
Scegli Libe
On Sat, 2005-05-14 at 17:31, Nikolaj Dahl wrote:
> My problem is that all UDP connections from localhost/lan/wan ip seems
> to be refused, and my snmpd.log file has these entrys:
> Connection from UDP: [127.0.0.1]:2656 REFUSED
> Connection from UDP: [10.0.0.7]:2657 REFUSED
> etc. etc.
That's proba
On Thu, 2005-05-12 at 11:48, çåä wrote:
> I want to know current time of the snmpd agent at any moment.
> Is there a mib like sysUpTime.0 to let me know.
Yes.
HOST-RESOURCES-MIB::hrSystemDate.0
Dave
---
This SF.Net email is sponsore
32 matches
Mail list logo