I wanted to try out the latest revision of Icinga and decided that Debmon would be the fastest. I thought that, anyway, until I wasted two hours trying to get aptitude to play nice with Debmon.
In an effort to save someone else some time, here are my notes for installing Debmon on Debian 6 (squeeze)…
Be sure that the server timezone is set to UTC. Use dpkg-reconfigure tzdata to change it as necessary
nano /etc/apt/sources.list
deb http://ftp.us.debian.org/debian stable main deb-src http://ftp.us.debian.org/debian stable main deb http://ftp.debian.org/debian/ squeeze-updates main deb-src http://ftp.debian.org/debian/ squeeze-updates main deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main deb http://backports.debian.org/debian-backports squeeze-backports main deb http://debmon.org/debmon debmon-squeeze main
Command line:
gpg --keyserver pgpkeys.mit.edu --recv-key DC0EE15A29D662D2 gpg -a --export DC0EE15A29D662D2 | apt-key add - apt-get update apt-get upgrade apt-get install mysql-server apt-get install icinga-web icinga-phpapi icinga-web-pnp
After this follow the Debmon write-up at http://debmon.org/IcingaIdoutilsIcingaWebInstallation
For PNP, use https://wiki.icinga.org/display/howtos/Setting+up+PNP+with+Icinga#SettingupPNPwithIcinga-RRDToolandPerlBindings