Welcome to the Pandora FMS Module Library

 
This is a library with modules, documentation and tools for Pandora FMS users, both public Open Source and Enterprise. Please use your support credentials (same as used to enter support/ticketing system) in the menu to your right. You will be granted access to a resourceful module library, such as Oracle, VMware, JBoss and others, ready to be used in production enviroments, with official professional support from Artica. If you do not own an enterprise account, you still can browse and download lots of modules, you can even register a free account and contribute with your own modules/tools for other public users.

Home > Operating Systems > HP-UX

HP-UX Monitoring Manual

Author: Create in: 06/29/2012 Update in: 06/20/2013
Rating:
Module type : Local module


This is a manual which helps you to monitor HP-UX based devices using Pandora FMS.

Module data

1. CPU user
module_begin
module_name CPU User
module_type generic_data
module_exec vmstat 1 2 | tail -1 | awk '{ print $17 }' | tr -d “\n”
module_max 100
module_min 0
module_description CPU (%) use by user
module_end

2. CPU system
module_begin
module_name CPU System
module_type generic_data
module_cpuusage all
module_max 100
module_min 0
module_description CPU (%) used by system
module_end

3. Virtual Mem Free
module_begin
module_name Virtual Mem Free
module_type generic_data
module_exec swapinfo | grep memory | tr -d "%" | awk '{ print 100-$5 }' | tr -d “\n”
module_max 100
module_min 0
module_description % Virtual mem free
module_end

4. Physical Mem Free
module_begin
module_name Physical Mem Free
module_type generic_data
module_freepercentmemory
module_description % Physical mem free
module_end

5. Free swap
module_begin
module_name Free swap
module_type generic_data
module_exec swapinfo -t | grep memory | tr -d "%" | awk '{ print 100-$5 }' | tr -d “\n”
module_description Free swap
module_end

6. Services
module_begin
module_name Service xxx
module_type generic_proc
module_service xxx
module_description Service xxx
module_end

7. Free disk
module_begin
module_name Disco_Libre
module_type generic_data
module_freepercentdisk /
module_description Free disk
module_end

8. Used disk
module_begin
module_name Used disk xxx
module_type generic_data
module_occupiedpercentdisk /xxx
module_description % used disk
module_end

9. Number processes
module_begin
module_name Number processes
module_type generic_data
module_exec echo $(((`ps -e | wc -l`)-1)) | tr -d “\n”
module_description Total processes
module_end

10. Zombie processes
module_begin
module_name Zombie processes
module_type generic_data
module_exec ps -elf | awk '$2~/'Z'/{print $2}' | wc -l | tr -d “\n”
module_description Zombie processes
module_end

11. Instances xntpd
module_begin
module_name Instances xntpd
module_type generic_data
module_exec ps -elf | grep "xntpd" | wc -l | tr -d "\n"
module_description Instances xntpd
module_end

Included files