snmp binary start command line arguments

2014-09-04 Thread Jatin Bodarya
Hi all, I have installed net-snmp 5.7.2.1 in my various linux machine... I have requirements like : 1)Start snmp service only with IF-MIB and SNMPv2-MIB support. 2)Start snmp service which support all MIB but not IF-MIB and SNMPv2-MIB. Can anyone help me what should be my argumen

Remove IF-MIB and IP-MIB

2013-12-02 Thread Jatin Bodarya
Hi all, I want to remove these mibs from my snmp agent. How can I achieve it ? at configure level as well as runtime ? Also I suppose to stop all the MIB from master and just want to include my own MIBs. And run it as a subagent. How can I achieve it ? Thanks in Advance. J

Remove IF-MIB and IP-MIB

2013-12-02 Thread Jatin Bodarya
NET-SNMP version: 5.7.2.rc1 Ubuntu 12.04 Hi all, I want to remove these mibs from my snmp agent. How can I achieve it ? at configure level as well as runtime ? Also I suppose to stop all the MIB from master and just want to include my own MIBs. And run it as a subagent. How can I ach

segfault in net-snmp

2013-10-11 Thread Jatin Bodarya
Hi all, I found something in my RED HAT machine : Net-snmp version : 5.7.2.rc1 Service snmpd status snmpd dead but subsys locked cat /var/log/messages | grep 'snmp' Oct 07 13:21:12 1381148472 kernel: snmpd[5718]: segfault at 58 ip b76eace1 sp bfb10df0 error 4 in libnetsnmpmibs.so.

need information about system health OIDS

2013-01-09 Thread Jatin Bodarya
Hey all, I need some information related to "system health" and different "QOS" of machine. Which standard OIDS I suppose to use for that ? Can anyone suggest me some good documents regarding that ? Using version : uname -a Linux manage 2.6.39.4-1smp #16 SMP Thu Jul 19 13:37:54

RE: net-snmp packaging.

2012-12-31 Thread Jatin Bodarya
Message- From: dave.shi...@gmail.com [mailto:dave.shi...@gmail.com] On Behalf Of Dave Shield Sent: 31 December 2012 18:04 To: Jatin Bodarya Cc: net-snmp-users@lists.sourceforge.net Subject: Re: net-snmp packaging. On 31 December 2012 05:10, Jatin Bodarya wrote: > I have manually installed NET-SNMP version:

net-snmp packaging.

2012-12-30 Thread Jatin Bodarya
Hello All, I have manually installed NET-SNMP version: 5.7.2.rc1.I have done net-snmp packaging for my Linux machine as I want to run it as root mode. My question is Do I need "agent" and "perl " folder in this packaging ? Do I need .lo files for responding particular "snmpwalk"? If not than wh

snmpd is not working with old kernel

2012-11-05 Thread Jatin Bodarya
Hello all, Can anyone help me to recompile "snmpd.c" with proper changes and adding proper libs with it ... I want to use it with old kernel... file /usr/local/sbin/snmpd /usr/local/sbin/snmpd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared l

executing snmpd::FATAL: kernel too old

2012-11-05 Thread Jatin Bodarya
Hello all... can anyone help me to resolve kernel dependency ? I have done net-snmp packaging on linux-3.0.2-generic and trying to make it work on below version. uname -a Linux manage 2.6.18.8-1 #3 Wed May 28 14:06:14 UTC 2008 i686 unknown Snmp version : 5.7.2.rc1 /usr/sbin/chroot /v

executing snmpd::FATAL: kernel too old

2012-11-05 Thread Jatin Bodarya
Hello all... can anyone help me to resolve kernel dependency ? I have done net-snmp packaging on linux-3.0.2-generic and trying to make it work on below version. uname -a Linux manage 2.6.18.8-1 #3 Wed May 28 14:06:14 UTC 2008 i686 unknown Snmp version : 5.7.2.rc1 /usr/sbin/chroot /v

net-snmp cache reload:no response from the host

2012-10-31 Thread Jatin Bodarya
Hello all I have implemented AgentX using mib2c.create-dataset.conf ( with cache enabled) In my snmd.conf :: agentXTimeout 15 In testtable.h file I have changed cache value as below... #define testTABLE_TIMEOUT60 According to my understanding It loads data every 60 sec

Snmpwalk on "IP-MIB" gives errors !!

2012-10-15 Thread Jatin Bodarya
Hello Sir, uname -a :Linux manage 2.6.39.4-1smp #7 SMP snmpwalk -V :NET-SNMP version: 5.7.2.rc1 Snmpwalk on "IP-MIB" gives such errors in var/log/messages...What is it ? How can I stop it ? error on subcontainer 'dr_addr' insert (-1) Thanks in advance. --

snmpd errors :error on subcontainer 'dr_addr' insert (-1)

2012-10-15 Thread Jatin Bodarya
Hello sir, I have done packaging of net-snmp 5.7.2.rc.1 in that I am facing following errors..please help me to resolve it.. Snmpd with following command "snmpd -f -Le" starts normally. But when I fires "snmpwalk" on whole system in terminal of snmpd is showing me such errors.Why

net-snmp with chroot is not giving correct values

2012-10-12 Thread Jatin Bodarya
Hello sir, While I am running snmpd as following (using net-snmp 5.7.2.rc1,ubuntu-12.04) [root@manage /root]#snmpd -f -Le [root@manage /root]# snmpwalk -c public -v 2c 127.0.0.1 IF-MIB::ifInOctets.1 It is working fine and answering me values Eg. IF-MIB::ifOutOctets.1 = Counter32: 35497924

RE: snmptrapd

2012-10-04 Thread Jatin Bodarya
Example of snmptrapd.conf at location "/usr/local/share/snmp/snmptrapd.conf" disableAuthorization yes authCommunity log,execute,net public From: Saikrishna E [mailto:saikrishn...@comavia.com] Sent: 04 October 2012 14:51 To: net-snmp-users@lists.sourceforge.net Subject: snmptrapd Hi

SNMP startup error...

2012-09-26 Thread Jatin Bodarya
I have placed binary of snmpd on /usr/local/sbin/ and also I have placed snmpd.conf on both /etc/snmp and /usr/local/share/snmp, I have copied all dependency to the needed location.. But can't recognize such warnings/errors... Snmpd -f -Le :: Warning: no access control information conf

errors with SNMPD.

2012-09-26 Thread Jatin Bodarya
Hello,sir.. Please help me with these errors while running SNMPD.. ./snmpd: /lib/libc.so.6: version `GLIBC_2.3.4' not found (required by ./snmpd) ./snmpd: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /usr/lib/libnetsnmpagent.so.30) ./snmpd: /lib/libc.so.6: version `GLIBC_2.

SNMPD error

2012-09-25 Thread Jatin Bodarya
When I m starting snmpd it is working fine,but after executing SNMPWALK SNMPD stops with following error.. snmpd: symbol lookup error: /usr/lib/libnetsnmpmibs.so.30: undefined symbol: netsnmp_ready_monotonic Can any one help me with that? Thank you in advance. --

Errores While Loading user define MIB and Generating traps with snmpd.conf

2012-09-21 Thread Jatin Bodarya
Hello sir, I have implemented one mib file (with mib2c tool) with snmpwalk and snmpget It is working fine. But when I am trying to generate trap with DISMAN mib through snmpd.conf but it's not working. The following error is popping out: Disman:even

net-snmp setup issue

2012-09-19 Thread Jatin Bodarya
Hello Dave, I have installed net-snmp 5.7.1 in my system. After that I wrote a C module (using mib2c). It is working good as a subagent. But When I am restarting "SNMPD" agentx disconnects and reconnects after 15secs. What I suppose to do to add it as a master agent? Is

snmpd.conf: Monitoring OId and trap generation problems !!!

2012-09-18 Thread Jatin Bodarya
Hello Sir, Below is my snmpd.conf file. When I am start my service "snmpd" as I have configure with DISMAN mib, It is generating "coldstart" trap. I am able to see it on remote machine. snmpv3 queries are also working fine with GET/WALK requests.also when I first starts the agent "snmpd

snmpd.conf: Monitoring OId and trap generation problems !!!

2012-09-18 Thread Jatin Bodarya
From: Jatin Bodarya [mailto:jatin.boda...@elitecore.com] Sent: 17 September 2012 18:50 To: 'prashant.n...@gmail.com' Subject: snmpd.conf: trap generation errors !!! Hello, Prashant..Can you help me with this ?? Below is my snmpd.conf file. When I am start

snmpd.conf: need help for trigger traps

2012-09-18 Thread Jatin Bodarya
-Original Message- From: Jatin Bodarya [mailto:jatin.boda...@elitecore.com] Sent: 18 September 2012 18:59 To: 'net-snmp-cod...@lists.sourceforge.net' Subject: snmpd.conf: need help for trigger traps Hello sir, In my snmpd.conf file following lines are generating a tra

snmp configuration...

2012-08-27 Thread Jatin Bodarya
Hello sir, I want to know that how can I configure mymib.c and mymib.h file in to my system. Without main() function they r giving compilation error. And than also I can not configure this files in to my system.. I have attached my ionline.c file with it.kindly reply me.