mpstat
Author | Eric Meddaugh |
---|---|
Compatibility | Xymon 4.2 |
Requirements | Solaris 10 |
Download | None |
Last Update | 2006-11-26 |
Description
Monitor zones status under Solaris 10.
Installation
Client Configuration
- Add script to client's ext folder
- Add the following to client hobbitlaunch.cfg
[mpstat] ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg CMD $HOBBITCLIENTHOME/ext/mpstat.sh LOGFILE $HOBBITCLIENTHOME/logs/mpstat.log INTERVAL 5m
Server Configuration
- Xymon only supports 1 data reader on the server. To make it as configurable as possible (we use multiple items to send stats too). Perl was used to help make it quicker. Inside the script has the graph definitions as well. You will have to add the information as documented below to the [rrddata] section to the hobbitlaunch.cfg file. Modify the hobbitlaunch.cfg file on the server under the rrddata section (add the –extra-tests and –extra-script segments):
# "rrddata" updates RRD files with information that arrives as "data" messages. # If you want RRD graphs of your monitoring BB data, then you want to run this. [rrddata] ENVFILE /home/hobbit/server/etc/hobbitserver.cfg NEEDS hobbitd CMD hobbitd_channel --channel=data --log=$BBSERVERLOGS/rrd-data.log hobbitd_rrd --extra-tests=mpstat,zonestat --extra-script=/home/hobbit/server/ext/rrd_data.pl --rrddir=$BBVAR/rrd
<note important>This step is not needed if you have the zonestat monitor installed.</note>
- Add 'mpstat:mpstatusr|mpstatsys|mpstatwt|mpstatidl' to the bb-hosts entry.
0.0.0.0 myserver # "TRENDS:*,mpstat:mpstatusr|mpstatsys|mpstatwt|mpstatidl"
- Update hobbitgraph.cfg with:
- Add 'mpstat' to the GRAPHS and TEST2RRD entry in hobbitserver.cfg.
Source
mpstat.sh
rrd_data.pl
Known Bugs and Issues
- No known bugs
To Do
Credits
Changelog
- 2006-11-26
- Initial release