Ricardo Oliveira wrote:
> traphandle SNMPv2-SMI::enterprises.9.9.41.2.0.1 /usr/local/bin/TrapHandler
> --- end ---
>
> The TrapHandler is a C++ executable I made which basically receives a
> trap, forks and dumps the trap to a file, to try and return to the
> snmptrapd as fast as possible (before
On Mon, Aug 24, 2009 at 6:28 PM, Dave Shield wrote:
> 2009/8/24 Shashidhara :
> > I want to send the snmp trap when the specified service is not running.
> > For this I have configured the snmpd.conf.
> >
> > proc sshd 1 1
> > monitor -u snmpuser -o prNames -o prErrMessage "sshd not running "
From: Dave Shield
To: niepa inter
Cc: net-snmp-users@lists.sourceforge.net
Sent: Monday, August 24, 2009 2:32:08 AM
Subject: Re: Problem initializing table from mib2c data_set
2009/8/24 niepa inter :
> I modified the netsnmp_table_set_multi_add_default_row as sh
Dear Dave,
Thanks for you immediate response.
Here is my requirement, perhaps you can suggest me something for my thesis work.
I have to manage gateways and routers which are Linux boxes from a central
place, like I want to modify the routing table and change the ip of one host.
And I want to d
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
2009/8/
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
2009/8/2
Hi,
I'm using snmptrapd v5.1.2 on CentOS 5.2, and I'm having some issues with traps
being ignored or dropped.
I have several devices logging to the server, so I'm concerned this could be a
performance issue of snmptrapd.
Otherwise, it could very well be some kind of configuration issue on
Hi,
Thanks for your answer,
Actually, I would like to visualize these in my application.
Is there any way to tell mib2c to not ignore these?
Best Regards,
/Armin
On Mon, Aug 24, 2009 at 3:15 PM, Dave Shield wrote:
> 2009/8/24 Armin Javanshir :
>> I get most of the objects printed but some obje
2009/8/24 Armin Javanshir :
> Actually, I would like to visualize these in my application.
> Is there any way to tell mib2c to not ignore these?
I've no real idea, but I doubt it.
You would probably need to add additional code within the
mib2c script to handle such categories of object. But you
2009/8/24 Armin Javanshir :
> I get most of the objects printed but some objects like: OBJECT-GROUP,
> MODULE-COMPLIANCE, NOTIFICATION-TYPE, "OBJECT IDENTIFIER"
> dont get printed. How do I read and print these objects?
You can process notification objects using
@foreach $n notifications@
The
2009/8/24 :
> Is SNMP for monitoring only or Can change the objects on a host via
> SNMP set requests?
SNMP *can* be used for active management, using SET requests, yes
It's probably fair to say that most use tends to be monitoring rather
than management, and there are certainly limitations to w
2009/8/24 Marwan Khoury :
> I have used header_generic and header_simple_table based on what I have
> found in http://net-snmp.sourceforge.net/
That's somewhat vague - there is a *lot* of information on that web site,
covering both the old and new ways of working.
It would be helpful if you could
2009/8/24 Shashidhara :
> I want to send the snmp trap when the specified service is not running.
> For this I have configured the snmpd.conf.
>
> proc sshd 1 1
> monitor -u snmpuser -o prNames -o prErrMessage "sshd not running "
> prErrorFlag == 1.
Have you created the user "snmpuser"?
Hi all,
I want to send the snmp trap when the specified service is not running.
For this I have configured the snmpd.conf.
proc sshd 1 1
monitor -u snmpuser -o prNames -o prErrMessage "sshd not running "
prErrorFlag == 1.
When I stop the service sshd, snmpd has to send the trap. But it is
I have used header_generic and header_simple_table based on what I have
found in http://net-snmp.sourceforge.net/
I don't quite understand what you have said, is there another way to program
my subagent?
In addition, I have tried not to use mib2c for two questions that I have
failed to find thei
Hi,
I am new to mib2c. I have been trying to generate/translate All the
objects in a mib-file.
I have a config file like this:
@open -@
@foreach $s scalar@
$s.objectID $s $s.type
@end@
@foreach $t table@
$t.objectID $t
@foreach $i index@
$i.objectID $i $i.type
@
Hi all,
I am working on my master thesis with network management
systems.
I have some doubts regarding SNMP, I am new for SNMP. Please make me
clear.
1. I want implement a centralized system for managing hosts in a
network.(Not monitoring I want change every thing on a host sitting at
a managem
2009/8/24 Marwan Khoury :
> I believe that I have used functions header_generic and header_simple_table
> in an errornous manner.
> I am not able to find the difference between the variable *name passed in
> the function parameter of my FindVarMethod and the variable vp->name also
> available.
You
Hi Dave,
Please allow me to explain from where I believe my CPU consumption is
occuring.
I believe that I have used functions header_generic and header_simple_table
in an errornous manner.
I am not able to find the difference between the variable *name passed in
the function parameter of my Fi
2009/8/21 Tomas Macek :
> I'm trying find out how to log the date/time in the user specified file.
> I'm using "-Lf /var/log/snmpd.log -p /var/run/snmpd.pid -a" startup
> options.
> There is nothing about date time logging in the 'man 1 snmpcmd' in LOGGING
> OPTIONS section. Hope I don't see someth
2009/8/24 niepa inter :
> I modified the netsnmp_table_set_multi_add_default_row as shown below but it
> does not work.
>
> netsnmp_table_set_multi_add_default_row(table_set,
> 2, ASN_OCTET_STR, 1, mystring1,
> strlen(mystring1),
>
2009/8/24 Ross, Brian :
> My next problem is with the startup script. It appears to be set up
> for Solaris 10 and I'm running this under Solaris 9. The startup script
> supplied with the source isn't working and I was wondering if you'd be
> able to help.
> I don't have an /etc/rc.d/init.d/fun
2009/8/20 niepa inter :
> Even when I send traps myself, I am able to receive them and they don't show
> up on Wireshark. I am basically watching udp 162 and udp 161.
How are you sending these traps?
How exactly have you configured wireshark?
Dave
2009/8/22 purushotam rao :
> For my embedded project I am using Altera Nios2-cycloneII-2c35
> processor. The embedded OS I am using is uClinux. After enabling the
> net-snmp through make menuconfig, and compiling by make command, I got
> the following error message. The error message log
24 matches
Mail list logo