I had 10min to modify you script to monitor HP-UX memory and swap.
I used check_snmp_mem.pl (Version 0.6).
All I did is replace the OIDs for netsnmp and renamed the script to check_snmp_hpux.pl
my $nets_ram_free = "1.3.6.1.4.1.11.2.3.1.1.7.0"; # Real memory free hp-ux
my $nets_ram_total = "1.3.6.1.4.1.11.2.3.1.1.8.0"; # Real memory total hp-ux
my $nets_swap_free = "1.3.6.1.4.1.11.2.3.1.1.12.0"; # swap memory free hp-ux
my $nets_swap_total = "1.3.6.1.4.1.11.2.3.1.1.11.0"; # Swap memory total hp-ux
Thanks for the script. This is my way of giving back to the community.
I can leave it up to you what switch letter you want to use in the public released script.
sysFreeMemory=1.3.6.1.4.1.11.2.3.1.1.7.0
sysPhysMemory=1.3.6.1.4.1.11.2.3.1.1.8.0
sysEnabledSwap=1.3.6.1.4.1.11.2.3.1.1.11.0
sysFreeSwap=1.3.6.1.4.1.11.2.3.1.1.12.0
Modified script that was modified to monitor hp-ux servers. -N switch was used.