No data returned for *correct* OID

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

Moderators: Developers, Moderators

Post Reply
rsradvan
Posts: 7
Joined: Thu Apr 08, 2004 2:47 pm
Location: planet earth
Contact:

No data returned for *correct* OID

Post by rsradvan »

I'm also attempting to view free/available memory from an HP-UX 11i server onto the Cacti server (running Fedora Linux).

I have the correct OID:

.1.3.6.1.4.1.11.2.3.1.1.7.0

This is free/available memory for that OID. I confirmed this via "snmpwalk". However... nothing is returned nor graphed. I've created all the proper entries using the "SNMP - Generic OID Template" option, which is using "SNMP - Get Data" data entry method.

What am I doing wrong?

-r
Bob Radvanovsky [/unixworks]
"knowledge squared is information shared"
rsradvan(at)unixworks(dot)com
rsradvan
Posts: 7
Joined: Thu Apr 08, 2004 2:47 pm
Location: planet earth
Contact:

No SNMP support???

Post by rsradvan »

There was a posting about how you *need* to compile PHP *WITH* SNMP support....grrrrrr......

Cross yer fingers folks.

Here are my "configure" options:

[step 1]
cd php*

[step 2]
./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--with-config-file=/usr/local/apache/conf \
--with-mysql \
--with-snmp

====

I'll try this and get back to 'da group about "no SNMP support" for generic OID specifications. Looks like is another "undocumented feature" of Cacti (OK -- DO NOT go into specifics that this is *publicly* known -- for someone who doesn't use SNMP that much, how 'da Heck would I've known that I *need* to have SNMP compiled into PHP?????)

I will confirm that this isn't a small 'gotcha' or RTFM within the documentation that states that SNMP-support *IS* required.

For Linux, it is. :(((

-r
Bob Radvanovsky [/unixworks]
"knowledge squared is information shared"
rsradvan(at)unixworks(dot)com
rthompson

Followup

Post by rthompson »

Did this solution for you? I have three HPUX 11.11 boxes I am wanting to monitor. I have no problems monitoring all my Redhat boxes, but the only info I can get from the HP boxes are interface stats.
Thomas
Cacti User
Posts: 112
Joined: Thu Dec 09, 2004 1:51 pm
Location: Austria

Post by Thomas »

I get memory statistics from a HP-UX box using the .1.3.6.1.4.1.11.2.3.1.1.7.0 OID and the SNMP Generic OID data template.
I haven't had to configure anything on the HP-UX side.
Thomas Rupp
robthky
Posts: 3
Joined: Wed Dec 29, 2004 10:03 am
Location: Franklin, KY

Post by robthky »

Here is what I get using the above OID:
snmpwalk -m all -v2c hptest (community_name) .1.3.6.1.4.1.11.2.3.1.1.7.0
enterprises.11.2.3.1.1.7.0 = No Such Object available on this agent


Am I doing something wrong?

Thanks,
Rob
User avatar
digger
Posts: 23
Joined: Tue Mar 05, 2002 7:00 pm
Location: Ft. Thomas, KY
Contact:

Check your MIBs

Post by digger »

Rob,

You need to ensure that the snmp daemon on your HPUX server has that MIB installed on it. Check the documentation of the snmp daemon for instructions on how to do so.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest