I had a look at the depots from a CD I found for OV's NNM suite aka OVNNMgr, and was a bit shocked to see the vast resource greed of this tool.
Because I'm not at all interested in the GUI of but only in a few SNMP client commands for scripting (e.g. snmpwalk, snmpget) I'm definitely not going to waste well over 100 MBs for it (I haven't got the space)
# swlist -l fileset -a size -s /cdrom/OVNNMDEPOT_HPUX11.00 OVNNMgr
# Initializing...
# Contacting target "delilah"...
WARNING: Ignoring unknown keyword "is_locatable" at line 1039.
WARNING: Ignoring unknown keyword "is_locatable" at line 1085.
#
# Target: delilah:/cdrom/OVNNMDEPOT_HPUX11.00
#
# OVNNMgr 133089246
OVNNMgr.OVMIB-CONTRIB 4475303
OVNNMgr.OVNNM-RUN 110297044
OVNNMgr.OVNNMGR-JPN 13415875
OVNNMgr.OVRPT-RUN 2673492
OVNNMgr.OVWWW-JPN 2227532
Thus, I realized I will have to stick with 3rd party open source suite Net-SNMP.
So I got the sources, ran configure and started the make.
This didn't build, and the preprocesser fell over a macro redfinition in container_iterator.c
cpp: "../include/net-snmp/net-snmp-config.h", line 1407: warning 2001: Redefinition of macro NETSNMP_INLINE.
cpp: "../include/net-snmp/net-snmp-config.h", line 1409: warning 2001: Redefinition of macro NETSNMP_STATIC_INLINE.
cc: "container_iterator.c", line 89: error 1588: "__FUNCTION__" undefined.
cc: "container_iterator.c", line 89: warning 563: Argument #3 is not the correct type.
Though I haven't found a hint in the README.hpux I finally ended up in the CVS tree of the Net-SNMP project where I even found various patch additions that fix build problems especially on HP-UX 11.00 and 11i caused by invalid macro redefinitions.
But I got lost in CVS when trying to actually download that very patch.
Has anyone tried to build Net-SNMP on HP-UX 11i and 11.00 who can tell me how to patch?
(n.b. I can only read C code but am not terribly good in writing C myself)
Madness, thy name is system administration