====================== installation ====================== Please see the INSTALL file. ====================== running pymon ====================== If the python scripts bin dir is in your path, you can just run the following: sudo pymond If not, you can add that to your path, but you may as well add /usr/local/pymon/bin to your path too ;-) Then you can run that command. If you prefer to not make PATH changes, just run it like this: sudo PYMON_PREFIX/bin/pymond (The default would be "sudo /usr/local/pymon/bin/pymond"). ====================== creating a new monitor ====================== If you want to add more monitoring types, you will need to: * add the type to etc/pymon.conf * add the configuration to etc/schema.xml * add a new PyMonXXX protocol subclass to lib/protocols.py to handle data processing and saving. * add a XXXMonitor class lib/monitors.py, inheriting from MonitorMixin and an appropriate FactoryClass * update AbstractFactory in lib/monitors.py with a dispatch method for instantiating your new monitor class * enable the new monitoring type in etc/pymon.conf * rebuild pymon with 'python setup.py install' ====================== api notes ====================== The currently defined monitor types are as follows: * ping * http status ====================== port numbers ====================== How the port numbers were chosen: >>> from adytum.util import numerology >>> numerology.getNumerologicalValue('adytum pymon service web') 3293 >>> numerology.getNumerologicalValue('adytum pymon service xml-rpc') 3298