RE: snmp using chroot

2013-06-12 Thread Jatin Bodarya
/usr/sbin/chroot /var/snmp3 /bin/df /bin/df: `/dev/pts': Too many levels of symbolic links Filesystem 1K-blocksUsed Available Use% Mounted on /dev/sda6 74035840 7559084 62715944 11% / /dev/sda1 74035840 7559084 62715944 11% /boot /dev/sda9 74035840 7559084 62715944 1

Re: snmp using chroot

2013-06-12 Thread Niels Baggesen
On Thu, Jun 13, 2013 at 10:04:02AM +0530, Jatin Bodarya wrote: > Now my issue is as my SNMP packaging is in /var partition and I suppose to > use it with CHROOT , > > Its just returning me how many space is available in “/var/snmp” > directory, which is ultimately /var directory... > > I want

RE: snmp using chroot

2013-06-12 Thread Jatin Bodarya
[root@manage /root]# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/sda6 1035660762684220368 78% / /dev/sda1 101086 17581 78286 18% /boot /dev/sda9 202219 5659186120 3% /home /dev/sda7

Re: Net-SNMP: How to build and load modules

2013-06-12 Thread Clay Sikes
Hi Neils, Sorry I haven't gotten back to you sooner. Things have been crazy. I did read the TUT several time, but initially I didn't really understand it. With your advice, I read it vary carefully and was eventually able to successfully build, load a dynamically loadable object, and execute

snmp using chroot

2013-06-12 Thread Jatin Bodarya
Hello all, I am using netsnmp 5.7.1 as my packaging is in /var partition. Running binary using "chroot" command" with "mounted environment" snmpwalk -c public -v 2c 127.0.0.1 1.3.6.1.4.1.2021.9.1 This all OIDs give output of only /var partition as its rooted in /var !!! How Can I gr