Roger Meier | 19 Aug 17:00 2014
Picon

Support for ipv6AddrTable missing in Net-SNMP agent?

Hi SNMP users,

It seems that the agent supports the ipv6Interfaces MIB, but not the ipv6AddrTable MIB.

I tried this using the following versions:

- Net-SNMP 5.7.2.1 on a home brewed Linux, the daemon built from source,
- Net-SNMP 5.4.3 on Ubuntu, using the packages which come with 12.04.

First the ipv6Interfaces:

# snmpwalk -mALL -Os -v 3 -p 234 -t 6 -u <deleted> -l authPriv -a MD5 -A <deleted> -x DES -X <deleted>
172.27.x.x .1.3.6.1.2.1.55    
ipv6Forwarding.0 = notForwarding(2)
ipv6DefaultHopLimit.0 = 64
ipv6Interfaces.0 = Gauge32: 4
ipv6IfDescr.1 = lo
ipv6IfDescr.2 = eth0
[...]
ipv6IfLowerLayer.1 = OID: zeroDotZero
ipv6IfLowerLayer.2 = OID: zeroDotZero
[...]
ipv6IfEffectiveMtu.1 = Gauge32: 16436 octets
ipv6IfEffectiveMtu.2 = Gauge32: 1500 octets
[...]
ipv6IfPhysicalAddress.1 = 
ipv6IfPhysicalAddress.2 = 0:c:29:13:9b:5e
[...]
ipv6IfAdminStatus.1 = up(1)
ipv6IfAdminStatus.2 = up(1)
(Continue reading)

Dhanasekaran Anbalagan | 18 Aug 02:10 2014
Picon

How to find what are the modules loaded in net-snmp

Hi Guys,

I am new to net-snmp project. I like now know what are modules loaded in net-snmp. I installed via source code compilation, I seen lot's modules will available.

net-snmp-5.7.2.1/agent/mibgroup

Please guide me.

-Dhanasekaran.

Did I learn something today? If not, I wasted it.
------------------------------------------------------------------------------
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Vince Hurst | 13 Aug 19:32 2014

SNMPSET data resets on hardware reboot

I can set data fine.  (ie:  sysName.0 ; sysContact.0 ; sysLocation.0) When I re-probe the devices with my NMS, the data I set shows up. However, if I reboot the device, the data fields return to the default values.

 

I’ve seen this with a couple different devices. The example I’ll use in this case is a Vivotek IP8133 IP Camera (firmware: 0200a).

 

I tried using the device’s web GUI “Save” button to save the current configuration to the device while the data was active, but it still clears.

 

Are there any SNMP commands to invoke a “Save”? Someone must have run into this before. Suggestion? Thanks!

 

-Vince

------------------------------------------------------------------------------
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Bill Fenner | 11 Aug 15:32 2014
Picon
Picon

Re: [net-snmp:bugs] #2567 Unknown Security Model

On Fri, Aug 8, 2014 at 3:11 AM, Ajay Tiwari <ajay-ti <at> users.sf.net> wrote:

[bugs:#2567] Unknown Security Model

Status: open
Group: 64-bit
Created: Fri Aug 08, 2014 07:11 AM UTC by Ajay Tiwari
Last Updated: Fri Aug 08, 2014 07:11 AM UTC
Owner: nobody

The bug tracker is not a place to get support. Try the mailing list as mentioned at https://sourceforge.net/projects/net-snmp/support or http://www.net-snmp.org/support/

When I am sending the trap using command line, I am getting the error in My Application as "Unknown Security Model : 3". My application code uses net-snmp library.

Are you sure you are linking against the right version of the library?  Could you accidentally have different versions installed, perhaps one that doesn't support USM?

  Bill

------------------------------------------------------------------------------
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Mika Maruyama | 11 Aug 03:52 2014
Picon

net-snmp didn't work - ver 5.1.2

Hi.

I encountered that the net-snmp didn't work during the operation.
Now, net-snmp is normally working after restart.

What is the cause of the problem?

And also I found a following message in the "snmpd.log" before restart.
Why did the message come out?
---------------------------------------------------------
NET-SNMP version 5.1.2
snmpd: send_trap: Out of memory (malloc failure)
send response: Out of memory (malloc failure)
vmstat_hpux (take_snapshot): pstat_getprocessor failed!

---------------------------------------------------------

If it is necessary for you to get any other logs to find the reason, please tell me.

I'm looking forward to hearing back from you.

Thank you.

------------------------------------------------------------------------------
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Michael Schwartzkopff | 10 Aug 17:38 2014
Picon

perl subagent works partially

Hi,

I wrote a SNMP subagent in perl. In snmpd.conf I add the line:

perl do '/root/pcmk-subagent.pl' || print "Problem running agent.\n"

and everything works fine when I call the agent from the command line 
(/usr/sbin/snmpd). The agent also works in Debian OS calling from the init 
system.

But it does not run in CentOS 6.5. Running /etc/init.d/snmpd start I get

"Problem running agent."

which means, my subagent did not start. Any ideas what is wrong with the 
CentOS init script? Why does the snmp agent behave different here?

Thanks for any help.

Mit freundlichen Grüßen,

Michael Schwartzkopff

--

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
------------------------------------------------------------------------------
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Samira Nazari | 10 Aug 06:27 2014
Picon

No Such Object available on this agent at this OID

Hi,
I want to enable BGP trap In freeBSD.
Add BGP4-MIB and CISCO-BGP-MIB successfully, get cbgpFsmStateChangewith (1.3.6.1.4.1.9.9.187.0.1) or bgpPeerState (1.3.6.1.2.1.15.3.1.2) with snmpget command and give me this result:
---------------------------
snmpbulkwalk -v2c -c public localhost 1.3.6.1.4.1.9.9.187
CISCO-BGP4-MIB::ciscoBgp4MIB = No Such Object available on this agent at this OID
 
snmpwalk -v2c -c public localhost 1.3.6.1.2.1.15
BGP4-MIB::bgp = No Such Object available on this agent at this OID
-----------------

why? What is the reason?
And when return value for this OID or another OID?
please help me.
------------------------------------------------------------------------------
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
maanas | 9 Aug 21:25 2014
Picon

Updating snmpd.conf

Can you please advice what is the recommended method for configuring snmpd.conf 

Issue: snmp agent is sending multiple traps for the same host(s)

1) lets start with valid working state where snmpd.conf has some basic configuration (entries) and snmpd is up and running
2) Want to perform some new configurations like adding / removing new trap destination host IP addresses with trapsess / trap2sink entries to snmpd.conf
3) A new file snmpd.conf is completely rewritten with its current entries and new configuration entries are added to the file (snmpd.conf) and copy this file to snmpd.conf standard path which is read by snmp agent.
4) Then call snmpd.c::netsnmp_reconfig() API to read new configuration values.
5) snmpd still runs and performs reconfigure steps using new configuration file (which has old entries and as well as new entries). 
6) After the step 5 then system behaves incorrect. For any event / alarm generated in the system then snmp agent sends more and more traps to the same hosts and this count depends on how many times the configuration changes are performed on snmpd.conf file

This clearly indicates that the procedure followed is wrong and appears that snmpd is learning same hosts addresses many times with snmpd.conf entries? Should it suppose to learn and populate only 1 entry per host while it configures and populates the snmpTargetAddrTable? Is there any other parameters which does sending multiple traps? like repeater / retry count etc?

What is the correct way to create/update the configuration file for adding / removing entries in snmpd.conf? I appreciate your help and any inputs / pointers on this model.

Thanks,
Maanas
------------------------------------------------------------------------------
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Sunil Siddharth | 8 Aug 12:54 2014

Unknown Security Model 3

Hi All,

      When I am sending the trap using command line, I am getting the error in My Application as "Unknown Security Model : 3". My application code uses net-snmp library.

 

I installed net-snmp package to generate the trap. Here is the trap I am using :

C:\usr\bin>snmptrap -e 8000195603e8e7320482af -v3 -u snmpv3 -a MD5 -A jj8U#9aft6 -l AuthNoPriv 10.112.77.150 42 coldStart.0 1.3.6.1.4.1.1140.2.0 i 2

 

Appreciate your response soon.

 

Regards

Sunil Siddharth

Technical Lead C/C++ (CA Engagement)

HCL Technologies Ltd.

A-8/9, Sector 60, Noida 201301, U.P. (India)

E-Mail: sunil.siddharth <at> hcl.com

www.hcltech.com

www.hcl.in

 



::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and other defects.

----------------------------------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Julien T | 3 Aug 16:49 2014
Picon

Cannot statfs /run/user/1000/gvfs#012: Permission denied

Hello,

It probably has been already asked on the list but didn't find in the archives or google.

I'm looking to reduce the noise logs produced by snmpd and my "worst offenders" are 

May 10 16:00:01 my-computer snmpd[3452]: Cannot statfs /run/user/1000/gvfs#012: Permission denied
May 10 16:00:01 my-computer snmpd[3452]: Cannot statfs /home/my-user/.gvfs#012: Permission denied

or

Aug  3 10:26:24 my-computer snmpd[2172]: Couldn't open device gvfs-fuse-daemon
Aug  3 10:26:24 my-computer snmpd[2172]: statvfs dev/disk: Permission denied

I have disk monitoring enabled but be it with includeAllDisks or not, I got those.

Any option to remove gvfs or any user/fuse fs of the monitored disk?

Thanks a lot.

Jul
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Anu Krishna kumari babu | 31 Jul 07:44 2014

makefile

Hi

I need the  c code for the    

OBJS3= asyncapp.o.

Can anyone send me the link

 

Regards

Anu K Babu

 



::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and other defects.

----------------------------------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Gmane