Page 1 of 1

Ubuntu missing windows-server host group

Posted: Mon Feb 20, 2012 5:12 pm
by fritz
For some reason when you do the nagios install that is found in the Ubuntu repository everything is in a different place. And for some reason for the life of me I can't find the windows-server host group template. I finally figured out how to add a host in the core installation. It didn't work how it looked in other implementations when it built from source. I might have to build it from source in order to get it to run correctly.

Thank you for your help

Please keep in mind that I am very new to Nagios. I'm trying to get it all configured but it simply doesn't like me.

Thank you,
Fritz

Re: Ubuntu missing windows-server host group

Posted: Tue Feb 21, 2012 2:00 pm
by fritz
After loading up a new server (got to love virtual servers and templates... lol) I built nagios from source and followed the quick start guide here:
http://nagios.sourceforge.net/docs/nagi ... buntu.html

There was only one spot where I had to get the make install working correctly (Thanks to .:grunge:. in the Ubuntu forums) I had to run this to get the make install to work

Code: Select all

sed -i 's:for file in includes/rss/\*;:for file in includes/rss/\*.\*;:g' ./html/Makefile
sed -i 's:for file in includes/rss/extlib/\*;:for file in includes/rss/extlib/\*.\*;:g' ./html/Makefile


After that got all setup, everything was fat and happy. I was able to add a windows box to monitor the basics. Now... off to the documentation to keep reading! (RTFM fritz... lol)

Fritz

Re: Ubuntu missing windows-server host group

Posted: Tue Feb 21, 2012 6:06 pm
by jsmurphy
I've personally never used one of the distribution specific installs... I've always built from the source but this might help you find things: http://jsquaredconsulting.com/blog/2010 ... ntu-10-10/