Hi,
Is it possible to pass an argument to a script/command I defined in
snmpd.conf OID?
_in snmpd.conf:_
execPS /bin/ps
_and in command line tolls:_
snmpget -v3 . hostname OID {argument_to_OID}
Thanks
David
---
This SF.
Hello Sir, I am Shekar from india, I want to load net snmp to my system which runs linux 7.3. I downloaded the software in windows, used winzip to unzip the sourcecode, then copied all the files to linux. where I executed the command "configure" as follows, I got following errors. so help me by g
I think we got our definition mixed. I'll try again:
- the MIB environment variable controls which MIBs (text files) will be
parsed (when initializing snmp - init_snmp() )
- the parsed MIB files are loaded to memory, for use when
reading conf files. (it does not mean these MIBs we be supp
Hi,I'm running Fedora Core 4 with net-snmp-5.2.1.2 and am having trouble updating my system to net-snmp-* v5.3 using yum and the "fc4" rpm files found on the net-snmp download site at
sourceforge.net. Has anyone else running FC4 been able to successfully update all the net-snmp packages ?First o
Hi All,
I want to create snmpd as thread under another process. What i did is
in agent Makefile I commented out the line which generate snmpd
executable instead it produce only the .o and .lo files and in another
program I am calling snmpd.c snmp_main(main function name chaged)when I
do make i
On Mon, 2006-01-16 at 21:01 +0530, [EMAIL PROTECTED] wrote:
> This is not for sending traps
OK - I obviously misunderstood your original question.
>this like v2c community and ipaddress to
> do ./snmpget -v 2c -c
In which case the answer is no.
It is *not* possible to set up commu
This is not for sending traps this like v2c community and ipaddress to
do ./snmpget -v 2c -c
i.e I will be assigning one community to each ipaddress so that
request(snmpget, getnext) will be processed based on the community
alloted for that ip address.
-Original Message-
From: Dave Shiel
On Mon, 2006-01-16 at 19:32 +0530, [EMAIL PROTECTED] wrote:
> When user(CLI) want to assign an community to an IP I need to create
> the community to that IP and I need to display the same to the user.
This is in conjunction with sending a trap - yes?
See the snmpTargetParamsTable. The SNMP-C
When user(CLI) want to assign an community to an IP I need to create
the community to that IP and I need to display the same to the user.
-Original Message-
From: Dave Shield [mailto:[EMAIL PROTECTED]
Sent: Monday, January 16, 2006 7:31 PM
To: Sasikumar Bodathula (WT01 - Broadband Netwo
On Mon, 2006-01-16 at 19:00 +0530, [EMAIL PROTECTED] wrote:
> Sorry for using the word user for snmpv2c what I mean for creating trap
> destination in net-snmp SNMP-COMMUNITY-MIB is implemented
No - it is not.
The mapping from community strings to SNMPv3-style security names
can only be done
On Fri, 2006-01-13 at 14:18 -0300, Raul Fortes wrote:
> .. i´m trying to configure one Linux RedHat and another Windows XP.
> ... I not getting any errors, I´m not getting any trap yet ...
OK - let's step back a bit.
How *exactly* have you configured the snmptrapd command?
What configuration fil
On Wed, 2006-01-11 at 21:23 +0100, [EMAIL PROTECTED] wrote:
> Here is example configuration of PASS-THROUGH CONTROL adapted only a little:
> pass .1.3.6.1.4.1.2021.255 /usr/share/doc/net-snmp-5.2.1/passtest
Try
pass .1.3.6.1.4.1.2021.255 /bin/sh /usr/share/doc/net-snmp-5.2.1/passtest
Is that any
On Thu, 2006-01-12 at 12:40 +0530, Patil, Suresh (Suresh) wrote:
> The VACM table setting are given in the snmpd.conf
> configuration file. If I want to disable the set access for the relevant
> MIBs then I need to make changes in the snmpd.conf for giving read only
> access and t
On Wed, 2006-01-11 at 17:40 -0500, [EMAIL PROTECTED] wrote:
> Is there a way when performing an snmpwalk to put the data in a column
> format much like HPOV snmpColSump?
Given that I don't have HP OpenView, I have no idea what format
snmpColSump produces. But if you're walking a table, have you
t
Sorry for using the word user for snmpv2c what I mean for creating trap
destination we are using SNMP-TARGET-MIB similarly for creating an
snmpv2c community in net-snmp SNMP-COMMUNITY-MIB is implemented if so
were can I find the code for the same.
-Original Message-
From: Dave Shield [mail
On Fri, 2006-01-13 at 11:48 -0500, Eugen wrote:
> I would like to know if it’s possible to dynamically
> change the IP address of the trap receiver.
Yes.
One possibility is to re-read the snmpd.conf file,
as Suresh suggests.
Another possibility is to tweak the snmpTargetAddrTable
directly, using
On Thu, 2006-01-12 at 21:49 +0530, [EMAIL PROTECTED] wrote:
> I need to create v2/v3 user
What on earth do you mean by a "v2 user"?
SNMPv2c doesn't work with "users" - it works with the
same community-based mechanism as traditional SNMPv1.
(There were some other versions of SNMPv2 that did
us
Suresh,
If one sends SNMPGet for a local machine i.e IP 127.0.0.1, is the
net-snmp code SNMPGet code optimized for not sending the request onto the
network and route the request from within the machine itself. The basic
idea
behind asking this question is that Does a SNMPGet sent to a localh
On Sun, 2006-01-15 at 19:58 +0200, Makavy, Erez (Erez) wrote:
> 1) what exactly doess the environment variable MIBS affect?
> as I understand it it affect only the MIBs which the snmp
> libraries will be initialized for, but it does not decide which
> MIBs the snmpd loads. right?
Wrong.
The M
Hi,
If one sends SNMPGet for a local machine i.e IP 127.0.0.1, is the
net-snmp code SNMPGet code optimized for not sending the request onto the
network and route the request from within the machine itself. The basic idea
behind asking this question is that Does a SNMPGet sent to a localhost hav
Hey,
I'm including
net-snmp in an embedded system, and disk usage is crutial.
I'de like to
restrict all writing to files (mainly log files), either by eliminating
uneseccary logs,
or by limiting the
file size.
Personally I know of
couple of files under /var/... directory by default:
- s
Furthermore,
This
earlier mail i wrote was referring to net-snmp-5.2.1-2
When
using net-snmp-5.3, I set the environment variable MIBS to empty string,
and
the RAM usage droped from ~5 only to ~4.6, what's the deal
here?
How
can I iverify that no MIBs (text files) are parsed and
load
[ Please do *NOT* send requests to both mailing lists.
It's completely unneccessary, and just adds to the
support load. If I'd spotted that you'd done this
before writing my response, I wouldn't have bothered!
Cc:ed to users only ]
On Thu, 2006-01-12 at 15:16 -05
I manged to send request with v1, but how, with this code, handle with
all the responses?
I still will be glad to here if someone managed to do it using v3.
David
David Peer wrote:
>Hi,
>I've changed snmpdemoapp to work with snmpv3 ( auth & Priv ), to as my
>configuration of snmpd.conf,
>But i
24 matches
Mail list logo