- Download this
- Install Python environnment
- python2.x (if possible) (It works with python1.5)
- pythonX.X-dev
- python-gnome
- python-gtk (pygtk)
- python-glade
- python-gdbm
- swig
- Install nagios/python wraper
tar xfz ~/dl/nagios-1.0b6.tar.gz -C /tmp/
cd /tmp/nagios-1.0b6
./configure --prefix=/your/path ... -- your nagios compile options
tar xfz ~/dl/gng-current.tgz -C /tmp
cd /tmp/gng/wraper
vi Makefile
NAGIOS=/tmp/nagios-1.0b6 -- path to nagios src
PYTHON_INC=/usr/include/python2.1 -- path to your python version
make
do a symlink to your logos directory
cd /tmp/gng/
ln -s /usr/local/nagios/share/images/logos .
launch with your cgi.cfg file
./main.py /usr/local/nagios/etc/cgi.cfg
Usage : ./main.py [ /chemin/vers/cgi.cfg ]
Use Nagios lib : None