Re: SNMP times out if running as a service

2007-08-02 Thread Dave Shield
[ 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 01/08/07, Javier Santiago [EMAIL PROTECTED] wrote:
 No replay from teh shell when executing this command. Strange, nor even
 error is displayed.

Just to be sure, what is the *exact* command that you are running?
What is the full output that you see?

Dave

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


snmpget.exe und snmpset.exe

2007-08-02 Thread MWAG100
Hallo,

im searching for two files. 
Im looking for the cmd tools snmpget.exe und snmpset.exe for windows xp. I 
can't find this files on your homepage.  

Many thanks for help.

Meinolf
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: watched

2007-08-02 Thread Nikolett C

Sorry, it was:
Bad value name (xyz) 
by the snmpset command..




-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: watched

2007-08-02 Thread Nikolett C
Hi Dave,
thank you for answering.

I did this:

./configure --with-mib-modules=examples/watched
make
make install
killall snmpd
/usr/local/sbin/snmpd
export MIBS=+NET-SNMP-EXAMPLES-MIB

snmpget -v2c -c public localhost NET-SNMP-EXAMPLES-MIB::netSnmpExampleString.0
-NET-SNMP-EXAMPLES-MIB::netSnmpExampleString.0 = Wrong Type (should be 
INTEGER) : STRING: So long, and thanks for all the fish!

I don't understand, how can be netSnmpExampleString' s SYNTAX Integer32. Why 
isn't it some kind of string? (DisplayString?)

I tried snmpset, too, this was the result:

snmpset -v2c -c private localhost NET-SNMP-EXAMPLES-MIB::netSnmpExampleString.0 
= xyz
-NET-SNMP-EXAMPLES-MIB::netSnmpExampleString.0: Bad value name (fish)

How can I then set the value?

Your help is important for me, thanks a lot.

Nikolett


Dave Shield On 01/08/07, Nikolett C [EMAIL PROTECTED] wrote:
 I'd like to ask why I got this answer after an snmpget:

 Wrong type, should be integer. BTW it wrote out the string
 ('So long and...') correctly.

What was the command that you ran?
How exactly did you compile/configure the agent?


 Is there anything that can be done to remove this error message?

Not without a better indication of exactly what you've been doing.

Dave

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


watched

2007-08-02 Thread Nikolett C

Mission successed : )

I changed the syntax from Integer32 to Octet String, and it works already 
perfectly with snmpget and also with snmpset.
I'm happy. Thank you for not answering :- ) and letting me do it alone.

Have a nice day!

Nikolett-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: watched

2007-08-02 Thread Dave Shield
On 02/08/07, Nikolett C [EMAIL PROTECTED] wrote:
 Mission successed : )

 I changed the syntax from Integer32 to Octet String, and it works already
 perfectly with snmpget and also with snmpset.

Oops!
Thanks for pointing this out - I've now tweaked the MIB file in the
various SVN branches to fix the definition.   So it should be OK in
future releases.  (Though unfortunately, not 5.4.1 :-(  )

Dave

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


system name

2007-08-02 Thread Nikolett C


Hi,

I'd like to get the system name (hostname) of the computer: not from an already 
existing MIB (from SNMPv2-MIB::sysName.0 - it works), but from my own.

I can now get (and also set) a string in my new MIB, but for this 'hostname' 
object it is me that gives the value. I'd need the computer to give it like in 
the example above... I hope it's understandable.

Thanks a million!

Nikolett-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users