Re: Update UCD-SNMP-MIB variable type

2019-05-13 Thread Niels Baggesen via Net-snmp-coders
dware to test it :-) > > Just in case on-line agent emulation [1] could be helpful: > > $ snmpget -v2c -c mib2dev/ucd-snmp-mib demo.snmplabs.com > UCD-SNMP-MIB::memTotalRealX.0 > UCD-SNMP-MIB::memTotalRealX.0 = Counter64: 18345168853242336474 kB > > You can have it of

Re: Update UCD-SNMP-MIB variable type

2019-05-13 Thread Ilya Etingof
-v2c -c mib2dev/ucd-snmp-mib demo.snmplabs.com UCD-SNMP-MIB::memTotalRealX.0 UCD-SNMP-MIB::memTotalRealX.0 = Counter64: 18345168853242336474 kB You can have it off-line as well [2]. 1. http://demo.snmplabs.com 2. http://snmplabs.com/snmpsim ___ Net

Re: Update UCD-SNMP-MIB variable type

2019-05-13 Thread Niels Baggesen via Net-snmp-coders
On Mon, May 13, 2019 at 02:56:46AM -0400, Josef Ridky wrote: > Hi folks, > > I would like to know your opinion on following issue. > > UCD-SNMP-MIB [1] uses INTEGER32 instead of COUNTER64 for memory OIDs which > limits the reporting to 2 TiB (using KiB as the base). > Large

Update UCD-SNMP-MIB variable type

2019-05-12 Thread Josef Ridky
Hi folks, I would like to know your opinion on following issue. UCD-SNMP-MIB [1] uses INTEGER32 instead of COUNTER64 for memory OIDs which limits the reporting to 2 TiB (using KiB as the base). Large modern servers often contain more than 2 TiB of memory leading to the OIDs rolling over and

Re: Building net-snmp MIB support as loadable module

2018-08-22 Thread Wes Hardaker via Net-snmp-coders
Bart Van Assche writes: > http://net-snmp.sourceforge.net/wiki/index.php/TUT:Writing_a_Dynamically_Loadable_Object > > http://net-snmp.sourceforge.net/wiki/index.php/TUT:Writing_a_Subagent Yep, this is definitely the right place to start looking. We've supported dynamically loadable submodul

Re: Building net-snmp MIB support as loadable module

2018-08-21 Thread Tomasz Kłoczko
On Tue, 21 Aug 2018 at 20:59, Magnus Fromreide wrote: [..] > I have been thinking about it but not gotten anywhere with it. > > Some mibs are utterly unrealistic to put outside of the agent, this is > mostly the ones that deal with internal state like 'snmp' and 'nsModuleTable'. > > Others should

Re: Building net-snmp MIB support as loadable module

2018-08-21 Thread Magnus Fromreide
On Tue, Aug 21, 2018 at 11:52:31AM +0100, Tomasz Kłoczko wrote: > Hi, > > Looks like snmpd agent supports extending agent functionalities by > loading on run-time DSO module with additional MIBs support. > Have question: is it possible to build net-snmp code to support to add > exact supported by

Re: Building net-snmp MIB support as loadable module

2018-08-21 Thread Bart Van Assche
On 08/21/18 03:52, Tomasz Kłoczko wrote: > Looks like snmpd agent supports extending agent functionalities by > loading on run-time DSO module with additional MIBs support. > Have question: is it possible to build net-snmp code to support to add > exact supported by net-snmp MIBs not as compiled in

Building net-snmp MIB support as loadable module

2018-08-21 Thread Tomasz Kłoczko
Hi, Looks like snmpd agent supports extending agent functionalities by loading on run-time DSO module with additional MIBs support. Have question: is it possible to build net-snmp code to support to add exact supported by net-snmp MIBs not as compiled in statically code but as loadable DSOs? If it

Re: Overriding Net-SNMP MIB Implementations

2016-10-25 Thread Robert Story
On Sat, 22 Oct 2016 23:26:01 -0500 Joe wrote: JC> We are interested in re-implementing some of the MIB JC> implementations included with Net-SNMP. We would prefer to JC> leave the Net-SNMP code as is and augment existing JC> functionality with our own code connecting via AgentX. JC> However, this

RE: Overriding Net-SNMP MIB Implementations

2016-10-23 Thread Rathod, Nitin
Hello Is anyone aware of any Perl Net-SNMP package where we get the support to receive SNMPv3 traps ? Regards Nitin S R From: Joe Clark [mailto:[email protected]] Sent: 23 October 2016 09:56 To: [email protected] Subject: Overriding Net-SNMP MIB Implementations We are

Overriding Net-SNMP MIB Implementations

2016-10-22 Thread Joe Clark
We are interested in re-implementing some of the MIB implementations included with Net-SNMP. We would prefer to leave the Net-SNMP code as is and augment existing functionality with our own code connecting via AgentX. However, this leads to duplicate registrations when the subagent tries to conne

Re: Integer64 for UCD-SNMP-MIB::Memory

2015-07-13 Thread Niels Baggesen
Den 16-05-2015 kl. 12:29 skrev Philipp Helo Rehs: > Hello, > i am running NetSNMP (version 5.5 Redhat 6.6) on a big shared memory > system by SGI (UV2000 with 8 TB ram) but the memory counters of > UCD-SNMP-MIB are just 32bit so it is not possible to get correct results. Thanks for

Re: Integer64 for UCD-SNMP-MIB::Memory

2015-07-07 Thread Robert Story
On Sat, 16 May 2015 12:29:35 +0200 Philipp wrote: PHR> i am running NetSNMP (version 5.5 Redhat 6.6) on a big shared PHR> memory system by SGI (UV2000 with 8 TB ram) but the memory PHR> counters of UCD-SNMP-MIB are just 32bit so it is not possible PHR> to get correct results. Have you

Integer64 for UCD-SNMP-MIB::Memory

2015-05-22 Thread Philipp Helo Rehs
Hello, i am running NetSNMP (version 5.5 Redhat 6.6) on a big shared memory system by SGI (UV2000 with 8 TB ram) but the memory counters of UCD-SNMP-MIB are just 32bit so it is not possible to get correct results. snmpwalk -v1 -c public hilbert1 1.3.6.1.4.1.2021.4 UCD-SNMP-MIB::memIndex.0

RE: smilint returns error: failed to locate MIB module `UCD-SNMP-MIB'

2015-03-18 Thread Tim Culhane
WM-rg-mib::razorgateSCMessagesQueued == 0 Thanks, Tim -Original Message- From: Tim Culhane [mailto:[email protected]] Sent: 18 March 2015 12:18 To: [email protected] Subject: smilint returns error: failed to locate MIB module `UCD-SNMP-MIB' Hi, Apologies

smilint returns error: failed to locate MIB module `UCD-SNMP-MIB'

2015-03-18 Thread Tim Culhane
Hi, Apologies for cross posting: I want to generate a notification in which the current date and time is included as a field value. The object versionCDate in the UCD-SNMP-MIB mib will return the current date and time based on a call to ctime. I have created a notification-type object in my

Re: UCD-SNMP-MIB - snmpwalk fails

2014-12-08 Thread Robert Story
; want to poll some performance data using the OIDs which are included in AA> the UCD-SNMP-MIB. Whenever I try to snmpwalk on 1.3.6.1.4.1.2021 AA> specifically (snmpwalk -v1 -cpublic 127.0.0.1 1.3.6.1.4.1.2021), I get no AA> response (it produces no output, it just skips to the next

UCD-SNMP-MIB - snmpwalk fails

2014-08-01 Thread Apostolidis, Alexandros
Hello everyone, I would like to make a question regarding net-snmp: Currently I am working on a Linux machine running SUSE LES v10 32bit and I want to poll some performance data using the OIDs which are included in the UCD-SNMP-MIB. Whenever I try to snmpwalk on 1.3.6.1.4.1.2021 specifically

UCD-SNMP-MIB

2013-10-24 Thread Gabor Losonci
Dear All, I have a process running under perl monitored by snmp. It is configured in snmpd.conf like this: proc "/usr/bin/perl /usr/sbin/rsgpchkd" monitoring works fine, except that the prCount value is 0 (when 1 process is running) output of snmpwalk UCD-SNMP-MIB::prNames.2 = ST

"UCD-SNMP-MIB"

2013-05-14 Thread SIMRIN, MAHMOUD
Hello, Can you please let me know if the "UCD-SNMP-MIB" is available on the CUCM device? Thank you, Mahmoud Simrin AT&T Global Services AT&T Telepresence Solution Design and Planning, AT&T Labs 3405 W Dr Martin Luther King, Room VO Tampa, FL 33607 USA Office:

Re: Relative paths in /var/net-snmp/mib-indexes/*?

2012-07-31 Thread Wes Hardaker
Bill Fenner writes: > I think that the code that outputs the mib_indexes stash should skip > relative paths. If this doesn't sound way off base, I'll file a bug > (or just fix it and submit a patch). What do others think? My opinion: I think you should submit a patch :-P -- Wes Hardaker Pleas

Relative paths in /var/net-snmp/mib-indexes/*?

2012-07-20 Thread Bill Fenner
Hi, I was poking around at an unrelated problem, and came across this: ==> var/net-snmp/mib_indexes/1 <== DIR /usr/share/snmp/mibs [ obviously fine ] ==> var/net-snmp/mib_indexes/2 <== DIR . ==> var/net-snmp/mib_indexes/4 <== DIR .. I think that the code that outputs the mib_indexes stash

Re: Empty response when querying UCD-SNMP-MIB memAvailReal.0

2012-05-29 Thread Dave Shield
pt agent on 192.168.100.88 > > When I run following command then getting empty response for UCD-SNMP-MIB > snmpwalk -v 1 -c community 192.168.100.88 .1.3.6.1.4.1.2021.4 > End of MIB How have you configured the agent? In particular, what access control settings do you have? (See the F

Empty response when querying UCD-SNMP-MIB memAvailReal.0

2012-05-21 Thread Jehan Badshah
Dear All I have installed Net-Snmp 5.2.1 on windows 2003 server, and configured snmpt agent on 192.168.100.88 When I run following command then getting empty response for UCD-SNMP-MIB *snmpwalk -v 1 -c community 192.168.100.88 .1.3.6.1.4.1.2021.4* End of MIB when I run following command bin

Re: setting UCD-SNMP-MIB::versionUpdateConfig.0 to '1' causes snmpd to hang

2011-12-05 Thread Robert Story
On Mon, 5 Dec 2011 14:53:47 + Todd A. wrote: NTA> You're right, Robert. The agent is running as an unprivileged user. The NTA> snmpd.conf file was initially only R/W by the "root" user, and no other NTA> users or groups had any privileges. NTA> NTA> To start the agent, I run the following in

Re: setting UCD-SNMP-MIB::versionUpdateConfig.0 to '1' causes snmpd to hang

2011-12-05 Thread Newton, Todd A.
You're right, Robert. The agent is running as an unprivileged user. The snmpd.conf file was initially only R/W by the "root" user, and no other users or groups had any privileges. To start the agent, I run the following init script from the command line: sudo /etc/init.d/snmpd start Even tho

Re: setting UCD-SNMP-MIB::versionUpdateConfig.0 to '1' causes snmpd to hang

2011-12-04 Thread Robert Story
On Fri, 2 Dec 2011 19:16:00 + Todd A. wrote: NTA> Problem solved! My snmpd.conf file was only readable to the USER (600). NTA> I changed the permissions to make it readable to the GROUP and OTHERS NTA> (644), and the problem is now resolved. Well, I'd say you found a work-around, but the prob

Re: setting UCD-SNMP-MIB::versionUpdateConfig.0 to '1' causes snmpd to hang

2011-12-02 Thread Newton, Todd A.
Dave-- Problem solved! My snmpd.conf file was only readable to the USER (600). I changed the permissions to make it readable to the GROUP and OTHERS (644), and the problem is now resolved. I guess when the reloading of the config file is happening, it was not doing it as the USER (which in my ca

Re: setting UCD-SNMP-MIB::versionUpdateConfig.0 to '1' causes snmpd to hang

2011-12-02 Thread Newton, Todd A.
I ran the agent by hand with the following: snmpd -f -Le Then, I issued the command to SET the UCD-SNMP-MIB::versionUpdateConfig.0 object to '1'. The console produced the following printout. NET-SNMP version 5.4.2.1 Connection from UDP: [127.0.0.1]:56555->[127.0.0.

Re: setting UCD-SNMP-MIB::versionUpdateConfig.0 to '1' causes snmpd to hang

2011-12-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 29 November 20

Re: setting UCD-SNMP-MIB::versionUpdateConfig.0 to '1' causes snmpd to hang

2011-12-02 Thread Newton, Todd A.
Niels-- Hi. These are the OS provided versions. I am running Linux Ubuntu 10.4 and 11.4. These were installed via "apt-get" from the command line. I just checked a Windows agent that I built from source. It is running version 5.6, and this problem does not exist on that agent. Writing a '1'

Re: setting UCD-SNMP-MIB::versionUpdateConfig.0 to '1' causes snmpd to hang

2011-11-29 Thread Niels Baggesen
Den 29-11-2011 18:18, Newton, Todd A. skrev: > I have had the same result on multiple linux machines, some running > v5.4.2.1 and others v5.4.3. Is this OS provided packages, or are these versions vanilla releases from the project? /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@user

Re: setting UCD-SNMP-MIB::versionUpdateConfig.0 to '1' causes snmpd to hang

2011-11-29 Thread Dave Shield
On 29 November 2011 17:18, Newton, Todd A. wrote: > Hi.  I am trying to get snmpd to reload its config file while running in > order to avoid having to restart the daemon.  I believe that setting a '1' > to the UCD-SNMP-MIB::versionUpdateConfig.0 variable is supposed t

setting UCD-SNMP-MIB::versionUpdateConfig.0 to '1' causes snmpd to hang

2011-11-29 Thread Newton, Todd A.
Hi. I am trying to get snmpd to reload its config file while running in order to avoid having to restart the daemon. I believe that setting a '1' to the UCD-SNMP-MIB::versionUpdateConfig.0 variable is supposed to do this. I can successfully set this variable to a '1' (an

snmp-MIB

2009-04-09 Thread 崔适男
hello I'm doing some job with the NET-SNMP upon Linux.But there is something strange arised.I wanted to write a MIB module of my own,but i didn't know how to start with it.So i followed the tutorial in the web site: http://net-snmp.sourceforge.net/wiki...g_a_MIB_Module. As this is an example of ho

Re: UCD-SNMP-MIB::memAvailSwap.0 returns -2 value

2008-08-28 Thread ravindra Chavalam
Hi Thomas, Before sending the actual patch i need some clarification about the changes i have made. Below are the changes i have done in agent/mibgroup/hardware/memory/memory_hpux.c in *get_swapinfo* function Before: 120 mem->units = pss.pss_swapchunk; 121 mem->si

Re: UCD-SNMP-MIB::memAvailSwap.0 returns -2 value

2008-08-28 Thread Thomas Anders
ravindra Chavalam wrote: > I solved the issue by doing some source code changes Now that we've been providing help, would you mind returning the favor and submit your changes back to the project? http://www.net-snmp.org/patches would be the ideal place. Thank you. +Thomas -- Thomas Anders (t

Re: UCD-SNMP-MIB::memAvailSwap.0 returns -2 value

2008-08-28 Thread ravindra Chavalam
Hi Thomas, I solved the issue by doing some source code changes Now the o/p looks like this #/opt/iexpress/net-snmp/bin/snmpwalk -v 1 -c public 127.0.0.1 UCD UCD-SNMP-MIB::memIndex.0 = INTEGER: 0 UCD-SNMP-MIB::memErrorName.0 = STRING: swap UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 4194304 kB UCD

Re: UCD-SNMP-MIB::memAvailSwap.0 returns -2 value

2008-08-27 Thread ravindra Chavalam
free; //changed line Then i got the following o/p for when i run the modified snmpwalk command # /opt/iexpress/net-snmp/bin/snmpwalk -v 1 -c public 127.0.0.1 UCD UCD-SNMP-MIB::memIndex.0 = INTEGER: 0 UCD-SNMP-MIB::memErrorName.0 = STRING: swap UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 838

Re: UCD-SNMP-MIB::memAvailSwap.0 returns -2 value

2008-08-26 Thread Thomas Anders
ravindra Chavalam wrote: > Thanks for the response. I can help you in finding the problem in > the agent/mibgroup/hardware/ > > memory/memory_hpux.c. Also can you tell me which binary tracks the > changes of this file. I fail to understand your question. Please rephrase. In case you d

Re: UCD-SNMP-MIB::memAvailSwap.0 returns -2 value

2008-08-26 Thread ravindra Chavalam
nmp ( FYI) Ravindranath On Tue, Aug 26, 2008 at 2:46 PM, Thomas Anders <[EMAIL PROTECTED]>wrote: > ravindra Chavalam wrote: > > I am getting an error with net-snmp 5.4.1.2 which i > > have built for HP-UX 11iv2.Below is the details of the error > > > > UCD-SNMP-MIB::mem

Re: UCD-SNMP-MIB::memAvailSwap.0 returns -2 value

2008-08-26 Thread Thomas Anders
ravindra Chavalam wrote: > I am getting an error with net-snmp 5.4.1.2 which i > have built for HP-UX 11iv2.Below is the details of the error > > UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: -2 kB Known bug: http://sourceforge.net/tracker/index.php?func=detail&aid=1736828&

UCD-SNMP-MIB::memAvailSwap.0 returns -2 value

2008-08-26 Thread ravindra Chavalam
I am getting an error with net-snmp 5.4.1.2 which i have built for HP-UX 11iv2.Below is the details of the error #/opt/iexpress/net-snmp/bin/snmpwalk -v 2c -c public 127.0.0.1 UCD When i run the above command i am getting output similar to this UCD-SNMP-MIB::memIndex.0 = INTEGER: 0 UCD-SNMP

Re: Need snmp-mib match

2006-02-13 Thread Wes Hardaker
> On Fri, 10 Feb 2006 10:48:01 +0530, "Santhosh" <[EMAIL PROTECTED]> said: santhosh> I am new to MIB2C and i need to work on the same I have got santhosh> Red Hat 9 (2.4.20-8) version of linux on my system in which santhosh> net-snmp-5.0.6-17 is preinstalled as mentioned in santhosh> README.mi

Need snmp-mib match

2006-02-09 Thread Santhosh
a match   please send me the net-snmp and snmp-mib matches and send me some instruction of how to install mib2c compiler and working on it as i am not able to find good documents on the net     Thanks   Suddavanda

Re: compile ucd-snmp mib for net-snmp

2005-08-30 Thread Robert Story
On Mon, 29 Aug 2005 08:06:49 -0700 (PDT) Alaios wrote: A> diffserv/diffServMib.c:6:20: config.h: No such file or A> directory Change the include to use net-snmp-config.h instead of config.h. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are reques

compile ucd-snmp mib for net-snmp

2005-08-29 Thread Alaios
Hi i have a mib for the ucd-snmp package http://dpnm.postech.ac.kr/research/01/ipqos/dsmib/ I have noticed that the specific software cant be compiled because the make returns the following error gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -g -O2 -Dlinux -c diffse

Re: Regarding net-snmp-MIB

2005-03-24 Thread Andy Smith
A good place to start would be: http://www.net-snmp.com/docs/FAQ.html#How_do_I_write_C_code_to_integrate_with_the_agent_ Then if there are specific problems we can probably help you work through them. Regards, Andy Vamsi Praveen wrote: Sir, Our's is a company developing the LAN switc

Regarding net-snmp-MIB

2005-03-23 Thread Vamsi Praveen
Sir,     Our's is a company developing the  LAN switch products.   We have done software implementation of  the brctl bridge commands code in C-language.   Software implementation comprises of Command line Interface and Web-GUI.   Now we are in to the management part of

UCD-SNMP-MIB getnext problem

2004-10-06 Thread Karthikeyan N
Hi, I am running the below test case using the SilverCreek and getting the following errors. Please let me know does anyone face this similar problem? Also, let me know, is there any patch/fix available in the repository for this : == 3.07 - 1.1.5 ~ SNMP Protocol Chapter 1.0 Test 1.1.5 - FAIL-