Thanks for you reply mike. I tried to use "get-next" to query the same
information but I got same result as in the previous post. This is what I
tried:
"snmpgetnext -v2c -c amail 4.4.4.3 hrStorageUsed.3" (index 3 is the index
just before the mess begins)
and the output:
"HOST-RESOURCES-MIB::hrS
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Pranesh Kulkarni
> Sent: Thursday, January 31, 2008 4:54 AM
> Hi Dave,
The net-snmp-users list is more commonly known as "Dave and Friends".
> # ./ifTable
> Error: Failed to connect to the agentx master agent: Unknow
On Thu, 31 Jan 2008, Meilán García Antonio wrote:
So my question are:
1.- how can I register a function in my module for execute the routines
for freeing all memory before restart snmpd (just when snmpd receives
also the HUP signal)?
snmp_register_callback(SNMP_CALLBACK_APPLICATION,
On Wed, 30 Jan 2008, Dave Shield wrote:
> On 28/01/2008, Manfred Wassmann <[EMAIL PROTECTED]> wrote:
>> The current design is that there is one OID where I can query the current
>> version of a device and a second OID where I can set a Version to be
>> updated.
>
> something like:
>
>versionCu
Hi,
I have a loaded module by snmpd.conf file with 'dlmod'. The problem is
when I send
kill -HUP snmpdpid
the system does not retrieve all memory, the snmpd proces take more and
more memory (RAM) if I send more HUP signals.
For test that my module is the problem, I modify the snmpd.conf and
I am running netsnmp 5.0.7 on FreeBSD 4.6.2. I get incorrect interface speed
with the following command
snmpwalk -v2c -c public .1.3.6.1.2.1.2.2.1.5
Different machines running the same software and the exact interface speed
give different answers 10 Mbps or 1 Gbps.
Can someone provide any insights
The C code is a little too much for me to process right now but I have
determined I can monitor the one process I was unable to monitoring with the
15 character name.
I am still having issues with other processes being misreported.
The /proc//status 15 character limit seems to be a limit of the
proc.c that is, was looking at wrong module.
Larry Low
4150 N Drinkwater Blvd., 5th Floor
Scottsdale, AZ 85251
Office: 480.385.7045
E-mail: [EMAIL PROTECTED]'
Telesphere Networks, Inc
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:net-snmp-
> [EMAIL PROTECTED] On Behalf Of
Thanks for the input.
It seems cmdline has the command I am checking but status has it cut off at
15 characters. I tried adding the exact match from cmdline and process is
still not detected. I'm going to trudge through the hr_swrun.c code to see
if I can see where the problem may be.
There is
On 31/01/2008, Larry Low <[EMAIL PROTECTED]> wrote:
> A) CPU in HOST-MIB takes a while to populate after startup.
That's correct.
This MIB object is measuring a one-minute average of
processor activity, so the agent cannot start reporting
a value until it has one minute's worth of statistics.
>
Hi Dave,
I am impressed by your time response... :-D
I tried your first solution, but it seems that I had the same problem:
gcc -shared -o TrapReceiver.dll -Wl,--out-implib=libTrapReceiver.dll.a
-Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608
-Wl,--enable-auto-image-base \
I have run across a couple of issues.
A) CPU in HOST-MIB takes a while to populate after startup.
B) prEntries prCount is inaccurate at times. I have one process that it
doesn't ever detect as running. I am using SELinux but I have the proper
contexts permitted to ptrace. I don't get any audit
Hi,
We are planning to find the best possible way to register our ports as
interface in mib2/interfaces(if-mib/ifTable) table on net-snmp-5.4.1. since
these ports are not seen by the linux system then we should include them to
the interface list ourselves, but the idea is to keep net-snmp as it
On 31/01/2008, Landry Caroline <[EMAIL PROTECTED]> wrote:
> I am working on Cygwin, I installed net-snmp 5.4.1 and I want to use mib2c,
> but for this I need to install the SNMP perl module and this fails.
> cd /cygdrive/c/Temp/net-snmp-5.4.1/perl
> perl Makefile.PL -NET-SNMP-IN-SOURCE=true
> mak
Hello everyboy,
I am new in the mailing list and I am working with SNMP and net-snmp
only for few months.
I am working on Cygwin, I installed net-snmp 5.4.1 and I want to use
mib2c, but for this I need to install the SNMP perl module and this
fails.
I wrote a detailed description below of my
On 31/01/2008, Meilán García Antonio <[EMAIL PROTECTED]> wrote:
> I would like to free all used memory for snmpd. How can I free or
> unregister used tables in a snmpd load module.
netsnmp_unregister_handler( reg );
Dave
-
Hi,
I would like to free all used memory for snmpd. How can I free or
unregister used tables in a snmpd load module.
I send a -HUP signal to snmpd process, and my system does not retrieve
all memory.
reg =
*netsnmp_create_handler_registration*("snmpTrapsDestinationTable",
Hi Dave,
I have installed net-snmp 5.4.1 and generated subagent code ifTable
as given in tutorial with mib2c
Iam getting symbol error . I have uninstalled other net-snmp versions.
# ./ifTable
Error: Failed to connect to the agentx master agent: Unknown host (No such
file or direct
[ 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. ]
On 31/01
Hi Dave,
From which relative path we should issue command mib2c for generating
code for subagent .
Suppose say ,
i have installed net-snmp package in /home/xyz/net-
snmp-5.4.1 , from which directory I should issue mib2 command.
Thanks,
Pranesh
On Jan 31, 2008 4:22
On 31/01/2008, Pranesh Kulkarni <[EMAIL PROTECTED]> wrote:
>With the makefile of Subagent, these are the libraries linking,
>
> -L/usr/lib64 -L/usr/local/lib -lnetsnmpmibs -lnetsnmpagent
>-lnetsnmphelpers -lnetsnmp
Try using
-L/usr/lib64 -lnetsnmpagent -lnetsnmph
Hi Dave,
OK I will go ahead with 5.4.1 version .
I configured 5.2.4 as following steps
1)./configure --enable-embedded-perl --enable-shared
--with-ldflags=-L/usr/lib64
2)make
3)make test
4)make install
Then i created directory ifTable and using the
On 31/01/2008, Pranesh Kulkarni <[EMAIL PROTECTED]> wrote:
> I have installed net-snmp 5.2.4 package.
That's a fairly old version of the code.
If you are installing things yourself, then we'd suggest you work
with the most recent release (5.4.1).
> I am able to generate source code and m
On 30/01/2008, Namburi, Srivastava (IE10)
<[EMAIL PROTECTED]> wrote:
> netsnmp_table_set_multi_add_default_row(table_set,
> COLUMN_PKTSTXD, ASN_INTEGER, 0, NULL, 0,
> COLUMN_PKTSRXD, ASN_INTEGER, 0, NULL, 0,
> COLUMN_PKTSDROPPED, ASN_INTEGER, 0, NULL, 0,
0);
You seem to be missin
On 30/01/2008, Awadhesh Kumar <[EMAIL PROTECTED]> wrote:
> ctx = (gsomcGrpCfgTable_context *) CONTAINER_FIND (cb.container, &index);
>
> if (ctx)
> CONTAINER_REMOVE (cb.container, &index);
Try
CONTAINER_REMOVE( cb.container, ctx );
Dave
--
On 29/01/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> .. I've noticed that throughout
> net-snmp modules, there are calls to "snmp_log" which log messages to an
> error log somewhere,
By default, messages from the Net-SNMP agent will tend to be logged via
the 'syslog' mechanism. Yo
On 29/01/2008, Isaac Eliassi <[EMAIL PROTECTED]> wrote:
> At the README file (ver 5.4.1)
I presume you are referring to the file AGENT.txt,
rather than any of the README files themselves.
> I think that there is a minor error,
> int
> header_generic(vp, name, length, exact, var_len, wri
On 29/01/2008, Shardul Kumar, Chennai <[EMAIL PROTECTED]> wrote:
> I want to create 2 rows in my mib table which contains one index and two
> columns.
>
> I wrote netsnmp_table_row_add_index and netsnmp_set_row_column to
> put my data In index and column for two rows in initialize_table_myta
On 24/01/2008, Hotz, Harry <[EMAIL PROTECTED]> wrote:
> I'm having a make issue with the 5.4.1 net-snmp on an AIX 5.3
> server and was wondering if folks have seen this scenario/errors before
> and what I might be doing wrong.
The problem you describe appears to be related to an incompatib
Hi All,
I have installed net-snmp 5.2.4 package. I want to write subagent for my
mib . So I was going through tutorials of mib2c with ifTable.
I am able to generate source code and modified according tutorials page
, but while linking its giving error
Thanks,
Prak
here is the snap sho
On 31 Jan 2008 03:35:30 -, maruthi prasad <[EMAIL PROTECTED]> wrote:
> Could please tell me the procedure how I can install the net-snmp package in
> to
> my Linux system and my target board. Do I need to remove the exsting one or
> not?.
It is definitely worth removing any existing install
On 30/01/2008, Mike Ayers <[EMAIL PROTECTED]> wrote:
> This much I can tell you - communities were never intended as an
> authentication mechanism. They are, and always were intended to be,
> more like SNMPv3's context than anything else,
I sort of agree - at least in part.
The main diff
we are using net-snmp 5.2.2 .
snmpd in agentx mode ("-x 705" as startup parameter), and subagent are
running as separate processes.
In the subagent initialization, we are calling
init_agent(/usr/share/snmp/subagt.conf), before calling
init_snmp("/usr/share/snmp/subagt.conf") as per the suggested
33 matches
Mail list logo