About Linux template and Linux OID

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
oxy
Posts: 18
Joined: Wed Sep 01, 2004 3:58 am

About Linux template and Linux OID

Post by oxy »

Hi,

There's something i don't understand,

When adding a linux machine in Cacti, the whole information i'm getting are the one from the localhost (that is a linux one).

I don't get information from any remote linux machine,

When i do :

*************************************************************
snmpwalk -c public -v 1 [remote linux machine] .1.3.6.1.4.1.2021.11.9.0
*************************************************************

that is the oid for CPU information i'm getting this error :

********************
End of MIB
********************


I'm running a debian Woody with ucd-snmp 4.3, and I have installed today net-snmp 5.1 thinking that it would help, without success.

it seems like the MIB is not completed enough ...

but i get response on snmp resquest on the oid .1.3.6.1 which means that I can make snmp requests

and something else :

on localhost (the machine in which cacti is running) i can graph Memory usage, but when i make an snmpwalk \ snmpget on the memory:

*************************************************************
snmpwalk -c public -v 1 127.0.0.1 .1.3.6.1.4.1.2021.4.6.0
*************************************************************

i do not get any information, unbelieveble !!

Can anybody help me ?

Thanks a lot
lorcro2000
Posts: 5
Joined: Tue Sep 07, 2004 5:20 am

Post by lorcro2000 »

Did you compile net-snmp with the mibs added? The readme file for Solaris (which is what I'm working on now) has the following suggestion for running configure:

./configure --with-mib-modules="host disman/event-mib ucd-snmp/diskio smux agentx mibII/mta_sendmail" --with-cc=gcc

I just made the mistake earlier of compiling using nothing but ./configure (laziness...) and that didn't give me a whole lot in the way of MIB's to query...
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests