Operating System - HP-UX
1826126 Members
4785 Online
109690 Solutions
New Discussion

Re: Internet Net-SNMP on a HP-UX server

 
Carlos Bulleri
New Member

Internet Net-SNMP on a HP-UX server

We managed to install the netSNMP agent obtained fromt he HP Depot site. We verify that the version of the OS and Agent coincide.

THe Agent copiled OK and we got the SNMP agent configured so we can conect to it, we also got the factory SNMP agent disable.

The problem that we have now is that we are getting even less information than before. We can only get the Description of the system and that's it.

Look to me that we are not loading the necessary agents to collect information on CPU memory, partitions, and hardware state, etc.

Any help would be greatlly appreciated.

Thanks

4 REPLIES 4
Tim Nelson
Honored Contributor

Re: Internet Net-SNMP on a HP-UX server

the net-snmp delivered with Internet Express does NOT have the hrresrouces compiled. If you want the hrresources ( common location for CPU, MEM, Disk etc.. ) you need to recompile net-snmp to include it.

BTW, the HPUX Emanate SNMP ( delivered with HPUX ) does have CPU, MEM, DISK etc, they just are located in a different OID, ...private.hp.something...
Carlos Bulleri
New Member

Re: Internet Net-SNMP on a HP-UX server

Thanks Tim for the tip, I figure we were missing something. In my case I'm a newbe to SNMP and I'm not sure what components I need to add to the compiling process to add this funtionality, Do you know if there is some documentation I can access that could help me figure out how to complete this process?

Thanks

Carlos
Tim Nelson
Honored Contributor

Re: Internet Net-SNMP on a HP-UX server

In the /opt/iexpress/net-snmp folder ( maybe under source ) there are README files. If you stick with the HPUX delivered source you should not have any issues.

Unfortunately I do not remember what was needed. I think something to the effect of "host" in one of the include statements. Maybe search in this forum or googleit.

(my reason for useing net-snmp with host resrouces in my past life was so What's Up could read the host stats by default instead of creating a custome report that points to the other OIDs )

Not sure if your reason is the same. If you have a different reason maybe post it. Your solution may be to just point your snmp app at the correct OIDs for the HPUX native snmpd.



Tim Nelson
Honored Contributor

Re: Internet Net-SNMP on a HP-UX server

BTW,

The OID for the HPUX system information is.
.1.3.6.1.4.1.11.2.3.1.1

Filesystem info is.
.1.3.6.1.4.1.11.2.3.1.2

I can tell you how to get the HPUX MIB if you would like. This puts a name with the numbers.

net-snmp is cool because it does allow you to create entries generated by simple scripts.
e.g. I would like to have an snmp OID that registers the output of a custom script, lets say specific application processes vs all processes, or a specific application stat.