I have implemented net.if monitoring keys for HP-UX agent, See attached patch. I have tested it only on HP-UX 11.31, since I do not have any earlier version available, but according to documentation, the added code should work at least on earlier versions as well.
The patch is probably missing configure checks for certain used header files - I was not sure where exactly to add these checks (since they are platform-specific), so I would like some help with that.