To answer my own question, I think the location for the mib files of an
application daemon running subagent has to be listed inside snmp.conf, and
even though the master agent probably would load it first, it doesn't
matter, and if a user changes the mib file of the application and restarts
the
I have called init_snmp("example_subagent") in my subagent daemon code,
and created a example_subagent.conf under /user/local/shared/snmp. When I
run the subagent daemon, I got error messages of the following:
/usr/local/share/snmp/example_subagent.conf: line 1: Warning: Unknown
token: mibdirs.
> From: Angie Cao [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 05, 2007 11:15 AM
> Ok... I turned on the verbose output for snmptrapd by adding "-D
> ip_interface" switch. In the debug trace, here are the failure I
> found:
>
> -
> trace: _sess_process_packet(): snmp_api.c, 49
Ok... I turned on the verbose output for snmptrapd by adding "-D
ip_interface" switch. In the debug trace, here are the failure I
found:
-
trace: _sess_process_packet(): snmp_api.c, 4919:
sess_process_packet: pre-parse fail
trace: _sess_read(): snmp_api.c, 5213:
sess_read: not reading
Still seeing the same type of the msg but got it worked by changing...
authCommunity log
To
authCommunity execute
Angie
On 11/5/07, Angie Cao <[EMAIL PROTECTED]> wrote:
> Ok I added -D option to snmptrapd demon and found out it did not
> pass snmptt handler,
> lots of msgs I saw after receivi
Ok I added -D option to snmptrapd demon and found out it did not
pass snmptt handler,
lots of msgs I saw after receiving traps are:
trace: netsnmp_trapd_auth(): snmptrapd_auth.c, 120:
4381 snmptrapd:auth: result: not authorized
---
Guess it must be new changes o
Hi,
I am using net-snmp 5.3.1-14 on RHEL5. I have snmptrapd set up to feed
snmptt as below in the snmptrapd.conf:
traphandle default /usr/sbin/snmptt
authCommunity log
--
The problem I sort have is it receives the traps well but it just does
not feed snmptt (or either it pas
The net-snmp version I am running on snmptrapd box is 5.1.2 and the
test trap sent from remote box or either from command line is V1 trap.
No authentication was configured in this aspect.
I have 2 identical box, all same configuration, one works perfectly,
snmptrapd translates the trap packets wel
Sharad,
We're seeing the same thing here. We're seeing that it impacts more then
RHEL4u5 though. We're also seeing this on ESX 3.01.
I sent an email to the forum about a week ago 'entitled more net-snmp 5.4.1
startup issues' to the net-snmp-coders forum but have yet to receive a
response.
On 05/11/2007, Raul Miguel Nery Ferreira Sa <[EMAIL PROTECTED]> wrote:
> Replying to your answer, David, i am listing the environment variables in
> my code using this snipet:
>
> foreach $key (keys(%ENV)) {
> printf("%-10.10s: $ENV{$key}\n", $key);
> }
No - that wasn't the question.
I asked
Oh and i forgot to say that i have net-snmp-perl package installed.
Cheers
Raul de Sá
On Mon, 5 Nov 2007, Raul Miguel Nery Ferreira Sa wrote:
Hello,
Replying to your answer, David, i am listing the environment variables in my
code using this snipet:
foreach $key (keys(%ENV)) {
printf("
Hello,
Replying to your answer, David, i am listing the environment variables in
my code using this snipet:
foreach $key (keys(%ENV)) {
printf("%-10.10s: $ENV{$key}\n", $key);
}
The thing is in my environment variables there is no 'MIB' env var and no
'MIBDIR' env var. I need these envir
On 05/11/2007, Raul Miguel Nery Ferreira Sa <[EMAIL PROTECTED]> wrote:
> I installed net-snmp using Unix's comand
> "yum", more precisely "yum install net-snmp..." and i cannot find the
> snmp.conf file
There probably isn't a file 'snmp.conf' as part of this package.
It's not needed f
Hello everyone,
I'm currently doing a project wich involves a lot of perl scripting and
the use of net-snmp. The thing is i installed net-snmp using Unix's comand
"yum", more precisely "yum install net-snmp..." and i cannot find the
snmp.conf file I really need this file to check some vari
Dear:
I am developing the snmp-agent using the package of net-snmp.I have two
questions to ask:
1) I used the UCD-Style code and NET-SNMP code-syle generate the .c and .h file
separately,but they are not same with the package that downloaded from
http://www.net-snmp.org/. Are there something
On 05/11/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Dear:
> I am developting the snmp agent using . net-snmp 5.2.3.
> When using the tool of mib2c generate the .c file,Can I
> choose the UCD-SNMP style Code choice?
Yes.
> That is can I developt the agent in UCD-SNMP style with
>
On 04/11/2007 <[EMAIL PROTECTED]> wrote:
>how would a subagent know where
> to look for its configure files,
It looks in the same list of directories as the master agent.
This is hardcoded into the core Net-SNMP library.
> and what configure files to read in wi
17 matches
Mail list logo