Xymon EN

Information about the monitor system Hobbit (now renamed to Xymon). Written in English.

AIX: Power 5



With power5 processors, you can share the processor capacity between the lpars. The vmstat has 2 extra numbers:
vmstat 1 1
System configuration: lcpu=2 mem=512MB ent=0.10

kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------------------
r b avm fre re pi po fr sr cy in sy cs us sy id wa pc ec
0 0 180484 5857 0 0 0 0 0 0 18 190 182 1 5 93 0 0.01 10.7
From man vmstat:
Number of physical processors consumed. Displayed only if the partition is running with
shared processor.

Linux iotstat graphs


Server patch

Patch the server so it accepts trends messages: http://www.hswn.dk/hobbiton/2007/01/msg00236.html

Client script

Make sure the command iostat is installed (for debian/ubuntu this is package =sysstat=) Add the script to the file clientlaunch.cfg on the linux client so it is executed every 5 minutes (remove the .txt extension):
   ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
   CMD $HOBBITCLIENTHOME/ext/linux-iostat.pl
   LOGFILE $HOBBITCLIENTHOME/logs/linux-iostat.log

Debug graph problems

If you have strange graphs, there is a way to create the graphs like hobbit should do. You can completely remove any Xymon code from the graph generation and see if the graph image still looks weird.

find the needed options

Get one of the graphs in your browser and note the URL for the graph image. (If using Firefox,then right-click and "View image" will bring up only the graph image, with the URL for this in the address bar). It will be something like (one long line):

AIX tip: vmstat trends

Add this in bb-hosts to the AIX servers you are monitoring: TRENDS:*vmstat:vmstat1|vmstat8|vmstat-avm|vmstat-free-list
  • vmstat1: CPU status with wait (normally you get only system + user + idle)
  • vmstat8: page-in and page-out statistics
  • vmstat-avm: total access virtual memory
  • vmstat-free-list: available free memory
Add this to hobbitgraph.cfg:
        TITLE Memory Accessed Virtual Memory
        YAXIS Size kB
        -b 1024

Script to add DS to rrd


This script can be used to add a DS to a rrd file. Use at own risk. Example to add 2 extra DS entries for Power5 counters to an existing vmstat.rrd:

add_ds_to_rrd.pl /home/users/hobbit/data/rrd vmstat.rrd cpu_ec:GAUGE:600:1:U
add_ds_to_rrd.pl /home/users/hobbit/data/rrd vmstat.rrd cpu_pc:GAUGE:600:1:U

AIX 5.1, 5.2, 5.3 Hobbit Client


Hobbit 4.2 client compiled on AIX with IBM C-compiler version Compiled on AIX 5.1 and tested AIX 5.2 and 5.3

AIX 4.3 Hobbit Client


Hobbit 4.2 client compiled on AIX with IBM C-compiler version

Subscribe to RSS - Xymon EN