Re: ./snmpd -f -L -c /usr/local/share/snmp/mibs/snmpd.conf & snmpd routine auto termination problem

2010-01-21 Thread Dave Shield
2010/1/21 Alexander King : > is OK, all the problem was triggered by my private routine(uit subagent) >I attached my uit.c file,would you mind take a few minutes to check it > for me ? Sorry - I've got a real (paid) job that needs to take precedence. I don't have the time to search for

About MIB creation in Windows using NET_SNMP...

2010-01-21 Thread ganeshyellapu
Hello Friends, I installed netsnmp in windows os. i started snmpagent. i am getting results for snmptranslate. when i try to execute the mib2c command i am not getting result c:\> usr>bin>mib2c -c mib.scalar.conf ucdDemoPublc c:\> usr>bin>mib2c requires perl to run. I installed activeperl

Re: build net-snmp5.5 under freebsd7

2010-01-21 Thread Alexander Bubnov
Hello all, again! net-snmp is compiled fine under freebsd. My errors are related to cross-compiling and this topic is not for net-snmp list. I am sorry to post them. Good day! Bye! 2010/1/21 Alexander Bubnov > Hello, all! > Does everybody try to build net-snmp under freebsd? If so, Can you ple

Re: help - SNMP Trap manager registration and deregistrationdynamically...

2010-01-21 Thread Dave Shield
2010/1/21 Borra, Kishore Babu : > Also I had basic question about the input parameters getting passed to the > notifyTable_unregister_notifications(), . > > i..e What are the input parameters major, minor, void *serverarg, void > *clientarg serves as ? The first two parameters (major, minor) ma

build net-snmp5.5 under freebsd7

2010-01-21 Thread Alexander Bubnov
Hello, all! Does everybody try to build net-snmp under freebsd? If so, Can you please help me? initial configure options are: ./configure --host=i686-pc-freebsd7.0 --with-sys-contact=a...@localhost--with-logfile=/home/alek/installed/var/log/snmpd.log --with-persistent-directory=/home/alek/installe

./snmpd -f -L -c /usr/local/share/snmp/mibs/snmpd.conf & snmpd routine auto termination problem

2010-01-21 Thread Alexander King
Hi Dave: 2010/1/21 Alexander King : > sys-man snmp # /usr/local/sbin/snmpd -f -L > Warning: no access control information configured. > It's unlikely this agent can serve any useful purpose in this state. > Can anybody tell me where maybe I am wrong? This error message tells you exactly what is

RE: help - SNMP Trap manager registration and deregistrationdynamically...

2010-01-21 Thread Borra, Kishore Babu
Hi, For deregistration- I had experimented with the below api,s, for Notification reciever deregistration dynamically, using extension mib:- [ update_config(), free_config() & notifyTable_unregister_notifications(int major, int minor, void *serverarg, void *clientarg).. ] update_config(), fre

Re: NetSNMP and lm_sensors - Where can I find the MIBS for lm_sensors

2010-01-21 Thread Dave Shield
2010/1/20 Marcus Moment : > Can someone point to the MIB for lm_sensor? mibs/LM-SENSORS-MIB.txt >  Do I have to build Net-SNMP with lm_sensor load variables or flags? ./configure --with-mib-modules=ucd-snmp/lmSensors (original version) or ./configure --with-mib-modules=ucd-sn

NetSNMP and lm_sensors - Where can I find the MIBS for lm_sensors

2010-01-21 Thread Marcus Moment
I am trying to access lm_sensor values via Net-SNMP on a Fedora machine. I am using Net-SNMP 5.5 and lm_sensors 2.10.4 versions. Both software packages work fine individually but I cannot get them to talk. Can someone point to the MIB for lm_sensor? How are they generated/created? Do I have to

Re: v1 v2 trap oid define problem

2010-01-21 Thread Dave Shield
2010/1/21 Alexander King : > sys-man snmp # /usr/local/sbin/snmpd -f -L > Warning: no access control information configured. > It's unlikely this agent can serve any useful purpose in this state. > Can anybody tell me where maybe I am wrong? This error message tells you exactly what is wrong. Th

Re: ./snmpd -f -L -c /usr/local/share/snmp/mibs/snmpd.conf problem

2010-01-21 Thread Dave Shield
2010/1/21 Alexander King : > snmpd.conf: line 62:com2sec mynetwork NETWORK/24 COMMUNITY > > what is wrong with my snmpd.conf? You haven't specified the IP addresses for your network (or which community string to use) Please read the comments in the example snmpd.conf file, at the top of the Access

Re: subagent dynamic table data

2010-01-21 Thread Dave Shield
2010/1/20 Ashish vashishtha : > how we can create a approach with which the table rows can be > inserted/deleted and updated at any instance. > > is any existing approach of mib configuration files solves the issue ? Most of the mib2c templates support the idea of "cached data", where the agent wi

Re:About MIB Creation using NET-SNMP...

2010-01-21 Thread Alexander King
Yes,you need perl module support. The Perl Perl grammar parser can recognize the generator tool scripts,it can make the scripts analysis your mib file and generate the code files. just install it! http://win32.perl.org/wiki/index.php?title=Main_Page Dave,I really think it is.