Re: Net::snmp error when using snmpV3 with APC UPS network card

2016-06-12 Thread Hans Jørgen Jakobsen
On Sat, 11 Jun 2016, Theodore Wynnychenko wrote: > > I have set up net-snmp and this is working. I also have set up snmp on > several > pieces of hardware that include snmp capabilities. As a matter of principle, > I > have enabled snmpV3 where available. > > But, while I have had no problem

Net::snmp error when using snmpV3 with APC UPS network card

2016-06-11 Thread Theodore Wynnychenko
Hello I am not a Perl programmer (or anything like one), and (honestly) am not completely sure this is where I should post my observation/question; but, I think the perl net::snmp module is where the problem lies, so I decided to try here first. In any case, I have recently decided to get snmp wo

SNMP Error

2014-07-08 Thread zhan...@uit.com.cn
Hi,Dear All: the following print is from my test, why does the string "Unknown token" appear ? thank you! sjzhang@ubuntu:/usr/local/share/snmp$ snmpwalk -v 2c -c public localhost system /usr/local/share/snmp/snmp.conf: line 41: Warning: Unknown token: com2sec. /usr/local/share/snmp/snm

Re: Net-SNMP Error on Win08 r2

2011-03-15 Thread Bart Van Assche
On Tue, Mar 15, 2011 at 5:09 AM, Eric Orate wrote: > I would like to seek help in making the net-snmp work to my win08r2 system. > I am not sure if I am really getting the correct download file for Windows > server 2008 r2 environment as I am always receiving an "appcrash" error when > I'm regist

Net-SNMP Error on Win08 r2

2011-03-15 Thread Eric Orate
Hi Experts, I would like to seek help in making the net-snmp work to my win08r2 system. I am not sure if I am really getting the correct download file for Windows server 2008 r2 environment as I am always receiving an "appcrash" error when I'm registering the daemon as a windows service. An e

Re: net-snmp error

2011-03-07 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 2 Ma

Re: net-snmp error

2011-02-25 Thread Dave Shield
On 25 February 2011 08:34, Matty Ronald wrote: > We are facing problem with net-snmp. > Net-SNMP is not working fine on all the machines. > > The below command fails on some machines: > >snmpwalk -c public -v2c localhost   > > Can you please let us know how to proceed? and what might be causin

net-snmp error

2011-02-25 Thread Matty Ronald
Hi all, We are facing problem with net-snmp. Net-SNMP is not working fine on all the machines. The below command fails on some machines: snmpwalk -c public -v2c localhost Can you please let us know how to proceed? and what might be causing the failure of this command. Please reply as soon a

Snmp Error

2009-12-02 Thread chandrakumar.g
Hi all, Just now only i joined this mailing list. While restarting my snmpd i got the following error ERROR: Restarting network management services:/usr/sbin/snmpd: symbol lookup error: /usr/sbin/snmpd: undefined symbol: smux_listen_sd I reinstalled snmpd and net-snmp but the same error

net-snmp error messages - please explain

2009-11-04 Thread LEVAI Daniel
Hi! I was wondering what are these error messages mean? I can't seem to find any useful information regarding these: error on subcontainer 'ia_addr' insert (-1) error on subcontainer 'ia_addr' insert (-1) error on subcontainer 'ia_addr' insert (-1) I get a ton of these ^^^, at snmpd restart/star

RE: Snmp error

2009-07-27 Thread Mike Ayers
[List issues to the list, please] > From: purushotam rao [mailto:ups...@gmail.com] > Sent: Friday, July 24, 2009 10:39 PM > Hi This needs your mib file modification. mib2c gives only *.c template. You > have to change the template as per your requirements. I don't know what you

RE: Snmp error

2009-07-24 Thread Mike Ayers
> From: Myasin [mailto:mudas...@innovative-pk.com] > Sent: Wednesday, July 22, 2009 7:00 PM > Can somebody help me? i am stuck here. I'll try, but I'm guessing... > I am getting following error during the compilation of both 5.4.2.1 and > 5.5pre3, > #./configure > #make (error) > >

RE: Snmp error

2009-07-22 Thread Myasin
Hi, Can somebody help me? i am stuck here. Mudassar From: Myasin [mailto:mudas...@innovative-pk.com] Sent: Tuesday, July 21, 2009 9:04 AM To: net-snmp-users@lists.sourceforge.net Subject: Snmp error Hi, I am getting following error during the compilation of both 5.4.2.1

Snmp error

2009-07-20 Thread Myasin
Hi, I am getting following error during the compilation of both 5.4.2.1 and 5.5pre3, OS = Soalris 10 GCC= 3.4 #./configure #make (error) In file included from /usr/include/sys/user.h:229, from host/hr_swrun.c:37: /usr/include/sys/proc.h:11: error: syntax error

RE: Net-SNMP error

2008-04-10 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of komang adi > Sent: Tuesday, April 08, 2008 6:10 PM > I Have installed Net-SNMP on Ubuntu 7.10. When i restart the > snmp, there is an error like this : > "Restarting network management services:/usr/sbin/snmpd: > symbol look

Net-SNMP error

2008-04-08 Thread komang adi
I Have installed Net-SNMP on Ubuntu 7.10. When i restart the snmp, there is an error like this : "Restarting network management services:/usr/sbin/snmpd: symbol lookup error: /usr/sbin/snmpd: undefined symbol: smux_listen_sd" I have checked in /usr/sbin/snmpd, but i don't understand about the scr

RE: build Net-SNMP error by VC6

2007-12-08 Thread Xia Zhongwu
Shield Sent: Friday, December 07, 2007 6:47 PM To: Xia Zhongwu Cc: net-snmp-users@lists.sourceforge.net Subject: Re: build Net-SNMP error by VC6 On 07/12/2007, Xia Zhongwu <[EMAIL PROTECTED]> wrote: > I build Net-SNMP by the way of "Microsoft Visual C++ - Workspace - > Buildin

RE: build Net-SNMP error by VC6

2007-12-08 Thread Xia Zhongwu
: Xia Zhongwu Cc: net-snmp-users@lists.sourceforge.net Subject: Re: build Net-SNMP error by VC6 On 07/12/2007, Xia Zhongwu <[EMAIL PROTECTED]> wrote: > I build Net-SNMP by the way of "Microsoft Visual C++ - Workspace - > Building" according readme.win32, but failed -_-:// >

Re: build Net-SNMP error by VC6

2007-12-07 Thread Dave Shield
On 07/12/2007, Xia Zhongwu <[EMAIL PROTECTED]> wrote: > I build Net-SNMP by the way of "Microsoft Visual C++ - Workspace - > Building" according readme.win32, but failed -_-:// > My environment is : WinXP SP2, VC6. Which version of the code were you trying to build? Dave

build Net-SNMP error by VC6

2007-12-07 Thread Xia Zhongwu
Hi, all I build Net-SNMP by the way of "Microsoft Visual C++ - Workspace - Building" according readme.win32, but failed -_-:// My environment is : WinXP SP2, VC6. I can build sucessfully by the way of "Microsoft Visual C++ - Configure / nmake - Building" Following is output information of snmpbulkg

Re: SNMP error code capture ??

2007-02-01 Thread Dave Shield
On 01/02/07, sarathy <[EMAIL PROTECTED]> wrote: >- If the isAccessAllowed ASI returns a noSuchView, noAccessEntry, > or noGroupName error > This states that when the agent tries to authorize the request, it returns > "authorizationError" code in case of failure I can confir

Re: SNMP error code capture ??

2007-01-31 Thread sarathy
]> wrote: > But why is then an snmp ERROR code "authorizationError (16)" > exist if the agent does not respond ? From RFC 1901, Section 3: Note that with this administrative framework, the 'authorizationError(16)' value defined for the error-status component

Re: SNMP error code capture ??

2007-01-31 Thread jiang jilin
I'm actually surprised that you get a timeout with SNMPv3 though. I thought that should return a REPORT PDU. But Wes is the SNMPv3 expert, not me - and I don't really have the time to investigate properly just at the moment. maybe the snmpd is down or the listening port is not the one

Re: SNMP error code capture ??

2007-01-31 Thread Dave Shield
On 31/01/07, sarathy <[EMAIL PROTECTED]> wrote: > But why is then an snmp ERROR code "authorizationError (16)" > exist if the agent does not respond ? >From RFC 1901, Section 3: Note that with this administrative framework, the 'authorizationError(16)'

Re: SNMP error code capture ??

2007-01-31 Thread sarathy
On 1/31/07, Dave Shield <[EMAIL PROTECTED]> wrote: http://www.net-snmp.org/wiki/index.php/FAQ:Applications_04 This is basically due to the access control settings of the agent. It will refuse to talk to an unauthorised client. I get that. But why is then an snmp ERRO

Re: SNMP error code capture ??

2007-01-31 Thread Dave Shield
On 31/01/07, sarathy <[EMAIL PROTECTED]> wrote: > But the problem is NET-SNMP does not report error messages properly. It > reports the same error "Timeout: No reponse from server:161" for the > following 3 cases: > > 1. While specifying incorrect community string in snmpget for version 1 and > 2c.

Re: SNMP error code capture ??

2007-01-31 Thread Dave Shield
On 31/01/07, sarathy <[EMAIL PROTECTED]> wrote: > Is there a way to capture SNMP v2 error codes [ noAccess (6) , > wrongType(7), notWritable (17) ... ], through net-snmp commands ( snmpget, > snmpgetnext ... ) ??? Not using those commands, no. The errors you mention are *only* relevant

Re: SNMP error code capture ??

2007-01-31 Thread jiang jilin
Hi, what's the command you typed? try like these: snmpget -v1 -c public localhost system snmpget -v1 -c public localhost sysName.0 etc. (you should add " rwcommunity public" to snmpd.conf,and restart snmpd) what will you see after that ? Jiang On 1/31/07, sarathy <[EMAIL PROTECTED]> wrot

Re: SNMP error code capture ??

2007-01-31 Thread sarathy
Hi, Thanks for the reply. I have already tried those you have mentioned. But the problem is NET-SNMP does not report error messages properly. It reports the same error "Timeout: No reponse from server:161" for the following 3 cases: 1. While specifying incorrect community string in snmpget

Re: SNMP error code capture ??

2007-01-30 Thread jiang jilin
Hi, Have you ever run snmpget,snmpgetnext etc. to get a non-exist OID ? just look at the output carefully and maybe you would get what you want. Jiang On 1/31/07, sarathy <[EMAIL PROTECTED]> wrote: Hi all, Is there a way to capture SNMP v2 error codes [ noAccess (6) , wrongType(7)

SNMP error code capture ??

2007-01-30 Thread sarathy
Hi all, Is there a way to capture SNMP v2 error codes [ noAccess (6) , wrongType(7), notWritable (17) ... ], through net-snmp commands ( snmpget, snmpgetnext ... ) ??? Please do clarify, Sarathy -- Mob: +91 99001 97505 Off: 080 - 4184 7134 --

Does net-snmp support SNMP error codes ??

2007-01-23 Thread sarathy
Hi all, I beleive that SNMP v2c has quite robust way of reporting errors. It has 13 error codes. But does net-snmp has support for handling these error codes. Whenever an "snmpget" command is issued, the command returns "0" or "1" depending upon success or failure of the command. But how do

Re: net-snmp error

2006-12-04 Thread Dave Shield
On 04/12/06, Lakshmi <[EMAIL PROTECTED]> wrote: > snmpget cannot find the mibs and i am getting warning messages as follows. > Kindly let me know how to overcome this issue. > > testbed.com$ ./snmpget -t 0 -v 3 -u user1 -l authNoPriv -a MD5 8.8.8.1 > 1.3.6.1.2.1.1.3.0 > Cannot find module (IP-MIB):

net-snmp error

2006-12-04 Thread Lakshmi
Hi all, snmpget cannot find the mibs and i am getting warning messages as follows. Kindly let me know how to overcome this issue. testbed.com$ ./snmpget -t 0 -v 3 -u user1 -l authNoPriv -a MD5 8.8.8.1 1.3.6.1.2.1.1.3.0 Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (IF-MIB):

Re: install net-snmp error

2006-01-18 Thread Dave Shield
On Wed, 2006-01-18 at 14:52 +0800, 张嵩 wrote: > net-snmp-users: > >making all in > /export/home/zhangsong/CCGSinstall/net-snmp-5.3/snmplib > *** Error code 139 > make: Fatal error: Command failed for target `subdirs' Yes? And what was the output immediately before t

install net-snmp error

2006-01-18 Thread 张嵩
net-snmp-users: making all in /export/home/zhangsong/CCGSinstall/net-snmp-5.3/snmplib *** Error code 139 make: Fatal error: Command failed for target `subdirs' [EMAIL PROTECTED]   2006-01-18

Re: [SOLVED]: the accurate description of the snmp error

2005-09-20 Thread Dave Shield
On Tue, 2005-09-20 at 08:38 +0800, Ying Wang(CD) wrote: > > With SNMPv1, a read-only community (not user) trying to > > SET a value will result in a noSuchName error. > > I still think noSuchName is not a suitable error type for this case. You are quite correct. It is not a particularly suitabl

[SOLVED]: the accurate description of the snmp error

2005-09-19 Thread Ying Wang(CD)
TECTED] Sent: 2005年9月19日 16:18 To: Ying Wang(CD) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: the accurate description of the snmp error On Mon, 2005-09-19 at 13:49 +0800, Ying Wang(CD) wrote: > Where can I find the accurate description of the snmp error? In the SNMP specification docume

Re: the accurate description of the snmp error

2005-09-19 Thread Dave Shield
On Mon, 2005-09-19 at 13:49 +0800, Ying Wang(CD) wrote: > Where can I find the accurate description of the snmp error? In the SNMP specification documents - RFC 1157 for SNMPv1, RFC 1905 for SNMPv2c, RFCs 3414 and 3416 for SNMPv3/USM. > Which error is right when a invalid user to acce

the accurate description of the snmp error

2005-09-18 Thread Ying Wang(CD)
Where can I find the accurate description of the snmp error?   Which error is right when a invalid user to access mib, such as a SNMPv1 read-only user does a configuration, or a unknown user read something?   Thanks very much for your help!       Errors definitions are extracted

the accurate description of the snmp error

2005-09-18 Thread Ying Wang(CD)
Where can I find the accurate description of the snmp error?   Which error is right when a invalid user to access mib, such as a SNMPv1 read-only user does a configuration, or a unknown user read something?   Errors definitions are extracted in the file snmp.h for your reference

Re: How to return an snmp error from a table handler routine

2004-09-24 Thread Users
On Thu, 23 Sep 2004 01:02:21 +0530 Virender wrote: VSC> I can use snmp_set_var_typed_value(var, SNMP_NOSUCHINSTANCE, 0, 0 ) as VSC> well. This too works. While it works for the particular case you have now, it might not work for all cases. netsnmp_request_set_error() does other work that can be cr

RE: How to return an snmp error from a table handler routine

2004-09-22 Thread Virender Singh Chauhan
: Virender Singh Chauhan Cc: [EMAIL PROTECTED] Subject: Re: How to return an snmp error from a table handler routine On Mon, 13 Sep 2004 23:01:36 +0530 Virender wrote: VSC> I have used mib2c.iterate.conf to generate code for my tables. If I VSC> do not have a proper value to return for a get/g

Re: How to return an snmp error from a table handler routine

2004-09-22 Thread Users
On Mon, 13 Sep 2004 23:01:36 +0530 Virender wrote: VSC> I have used mib2c.iterate.conf to generate code for my tables. VSC> If I do not have a proper value to return for a get/getnext request in the VSC> handler routine and want to return to the request sending application a VSC> 'no name' or 'no s

How to return an snmp error from a table handler routine

2004-09-13 Thread Virender Singh Chauhan
Title: Message Hello,   I have used mib2c.iterate.conf to generate code for my tables. If I do not have a proper value to return for a get/getnext request in the handler routine and want to return to the request sending application a 'no name' or 'no such instance' error, how can I do so pro