Daniel van Ham Colchete wrote:
I'm using net-snmp+cacti to monitor some servers I have. I just finished
installing 10 new ones, but hrStorage will not report my disks to me at
those 10 new servers.
With an old server, when I 'snmpwalk|grep hrStorageDescr' there I have:
On 03/09/07, Dirk Süsserott [EMAIL PROTECTED] wrote:
Is it possible to register a table *without* the table entry?
No.
The background for my question is: For some reason someone in our
project has defined a table without that TableEntry.
Then that MIB is not valid.
An SMI table *MUST*
On 02/09/07, DI BACCO ANTONIO - technolabs
[EMAIL PROTECTED] wrote:
I tried to call_v2_trap_session from within my subagent and it works, the
trap is delivered to the master but then the master send it to the sink and
sinkport I specified.
Yes - that's how sending traps from an AgentX subagent
On 29/08/07, DI BACCO ANTONIO - technolabs
[EMAIL PROTECTED] wrote:
Is it possible to call a function to give me the UDP packet that should be
send as a trap? I want to send it by myself, I'm in a subagent and I don't
want to deliver it to the master agent.
Use 'snmp_open' to open a connection
On 31/08/07, Reza Salehi [EMAIL PROTECTED] wrote:
I am running Net-snmp 5.4. Whenever I run snmpd or snmpget or set It will
give me two errors:
Cannot Finf module : (DISMAN-EVENT-MIB): AT line 0 in (none)
cannot find module : (NET-SNMP-VACM-MIB):At ine 0 in (none)
I put those MIB file
On 29/08/07, [EMAIL PROTECTED] wrote:
Does net-snmp support an api that allows to read in a mib file and returns a
pointer to the mib tree that is generated based on the mib file? Thanks.
netsnmp_read_module()
(See snmplib/parse.c)
Dave
On 28/08/07, [EMAIL PROTECTED] wrote:
Do we need to configure context Name and context Engine somewhere
in snmpd.conf or it is automatically done for snmpv3 by Net-SNMP
If you want to use a non-default context, then yes - this needs to be
configured.
See the FAQ entry
How can I register a
Hi All,
I have some MIBs which are proprietary(children of enterprise.
OID).If I have to compile such kind of MIBs, do I need to take NETSNMP
code with --with-enterprise-oid option in Configure script?
Thanks,
Madan
-
I will be out of the office starting 09/04/2007 and will not return until
09/10/2007.
I will respond to your message when I return.
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find
On 04/09/07, Madan Mohan [EMAIL PROTECTED] wrote:
I have some MIBs which are proprietary(children of enterprise.
OID).If I have to compile such kind of MIBs,
What do you mean by compile ?
What exactly are you trying to do?
Please see the FAQ entries
How do I add a MIB to the tools?
On 04/09/07, Madan Mohan [EMAIL PROTECTED] wrote:
I have some MIBs which are proprietary(children of enterprise.
OID).If I have to compile such kind of MIBs,
What do you mean by compile ?
[Madan] : When I say compile, I am trying to compile my MIB with
mib2c.
What exactly are you trying to
Hi Thomas,
This is an old server:
archer ~ # snmpwalk -V
NET-SNMP version: 5.4
archer ~ # snmpwalk -v3 -a MD5 -A 'A PASSWORD' -l authNoPriv -u 'AN
USER' A HOST hrStorageDescr
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: Physical memory
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: Virtual
Hello Ken,
The response should be 3 lines: the OID, the data type, and the data value,
each on it's own line.
For example:
.1.3.6.1.4.1.29090.1.1
integer
10
Read the section Extending Agent Functionality here
http://net-snmp.sourceforge.net/docs/man/snmpd.conf.html . particularaly
On 04/09/07, Stefan Guenther [EMAIL PROTECTED] wrote:
There's only one thing in the output, which might cause some trouble.
Here's what I get:
SNMPV2-SMI::entrprises.10190.1 = STRING: hello world
Error: OID not increasing: SNMPV2-SMI::enterprises.10190.1
=
That message is because you're returning the OID the agent is asking for on
a getnext command. You should be returning the next OID from the one it's
asking for when it's a getnext command. So basically your script needs to
return different OIDs based on whether it's a get or a getnext. When
Hello,
I have the traps correctly setted up for at least the proccess, I've put
some basic monitoring, and they are being sent to the snmptrapd, and
everything works fine, but I can't seem to be able to do this for the
disk usage, here's how's my snmpd.conf file on this issue: (the /dev/sda3
Hello all,
I am experiencing a strange problem. I have written a simple common
handler for MOD_GET a MOD_GETNEXT.
The handler seems to work fine but certain SNMP requests are not passed to
the handler.
Example:
snmpget -v 1 -c public localhost .1.3.6.1.2.1.1.1.1is passed.
snmpget -v 1 -c
On 04/09/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
The handler seems to work fine but certain SNMP requests are not passed to
the handler.
Example:
snmpget -v 1 -c public localhost .1.3.6.1.2.1.1.1.1is passed.
snmpget -v 1 -c public localhost .1.3.6.1.2.1.4.1.1is NOT passed.
On 30/08/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I want to know how inform manages notifications (i.e.: if snmpd doesn't
receive an ack, it retries sending notifications until it receive an ack)?
This is part of the low-level library code.
The netsnmp_session structure includes fields
On Tue, 04 Sep 2007 14:55:28 +0100, Dave Shield wrote:
On 04/09/07, Mateus Interciso [EMAIL PROTECTED] wrote:
monitor -r 5 -o prNames -o prErrMessage Process table prErrorFlag !=
0 monitor -r 5 -o dskPath -o dskErrMessage Disk Usage dskErrorFlag !=
0
defaultMonitors yes
You don't need
On 04/09/07, Mateus Interciso [EMAIL PROTECTED] wrote:
Strangelly enough, if I walk the dskTable and dskErrorFlag, with these
commands, here's what I recieve
snmpwalk -v3 -u * -n -l authNoPriv -a MD5 -A
*** localhost dskTable
UCD-SNMP-MIB::dskTable = No Such Object
On Tue, 04 Sep 2007 15:10:26 +0100, Dave Shield wrote:
On 04/09/07, Mateus Interciso [EMAIL PROTECTED] wrote:
Strangelly enough, if I walk the dskTable and dskErrorFlag, with these
commands, here's what I recieve
snmpwalk -v3 -u * -n -l authNoPriv -a MD5 -A
***
My goal is to persistently store some writable values of a custom MIB
so they survive the lifetime of my SNMP AgentX subagent myagent.
I already stumbled upon the concept of DEFAULT_STORE and its
netsnmp_ds_(get|set)_(boolean|int|string) calls.
When compiling using net-snmp-config
On 04/09/07, Mateus Interciso [EMAIL PROTECTED] wrote:
Yes, I did compiled it by myself, and the ucd-snmp/disk module is enabled
by default. And so is it being included right?
It *should* be. But I suggest that you check whether it actually *was*.
E.g. by recompiling the code (or looking at
On 04/09/07, Peter Czaja [EMAIL PROTECTED] wrote:
But where is the equivalent to the init_myagent_scalar() function?
Something like finalize_myagent_scalar(), which would be a natural
place to implement the corresponding calls to netscnmp_ds_write_*().
What did I miss?
Add the following
Regarding my query last week on my pass_persist issue (see below), I've
upgraded my Net-SNMP to 5.4.1, but am seeing the same behavior.
It must be something with my script that's causing the Net-SNMP agent to send
my script 4 SIGPIPE signals, but I just can't see what it is.
Any help in
On Tue, 04 Sep 2007 15:48:39 +0200, Milan_Tvarozek wrote:
Hello all,
I am experiencing a strange problem. I have written a simple common
handler for MOD_GET a MOD_GETNEXT.
The handler seems to work fine but certain SNMP requests are not passed
to the handler.
Example:
snmpget -v 1
Mike,
I check that file and that line is there(hosts: files dns).
I also can do telnet localhost.
But still when I do snmpget localhost . I get the Unknown Host
error.
Any other suggestion?
I appreciate your help.
Regards,
Reza
Note: forwarded
Thanks Dave for your response.
I ran the snmpd --- snmpd -Dparse-mibs
but I couldn't see anywhere if the DISMAN-EVENT_MIB module is
loaded.Attached please find snmpd.log .
I appreeciate it if you could give me some hints.
Regards,
Reza
Note: forwarded message
On 04/09/07, Reza Salehi [EMAIL PROTECTED] wrote:
I ran the snmpd --- snmpd -Dparse-mibs
but I couldn't see anywhere if the DISMAN-EVENT_MIB module is
loaded.Attached please find snmpd.log .
Well, according to that log - the DISMAN-EVENT-MIB is not
listed as being in
Thanks Dave,
Please find in attached file the out put of ls
/usr/local/share/snmp/mibs command .
It shows that DISMAN-EVENT-MIB.txt is there.
Regards,
Reza
Note: forwarded message attached.
-
Fussy? Opinionated? Impossible to please? Perfect.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Reza Salehi
Sent: Tuesday, September 04, 2007 2:24 PM
I check that file and that line is there(hosts: files dns).
I also can do telnet localhost.
But still when I do snmpget localhost . I get
the Unknown
Mike,
The good thing is I can run the commands using 127.0.0.1 instead of localhost
but As you mentioned I might need to rebuild again the net-snmp.
Thanks for your help.
Regards,
Reza
Note: forwarded message attached.
-
Choose the right car
33 matches
Mail list logo