Page 1 of 1

Incorrect documentation for Ubuntu agent monitoring

Posted: Thu Jan 26, 2012 3:22 pm
by cwscribner
Hi all.

I have an Ubuntu server that I want to monitor so I followed this http://assets.nagios.com/downloads/nagi ... _Agent.pdf install documentation. It mentioned the Linux config wizard having an Ubuntu/Debian option but the wizard has no such option. Should I proceed by manually creating the commands or is there an updated version of the wizard that I can grab?

Re: Incorrect documentation for Ubuntu agent monitoring

Posted: Thu Jan 26, 2012 3:40 pm
by scottwilkerson
We need it modify this wizard again. For now you can edit the following:

/usr/local/nagiosxi/html/includes/configwizards/linux-server/linux-server.inc.php

on ~ line 76 you will see

Code: Select all

<!--
 	<option value="Fedora" '.is_selected($linuxdistro,"Fedora").'>Fedora Core</option>
 	<option value="Ubuntu" '.is_selected($linuxdistro,"Ubuntu").'>Ubuntu</option>
 	<option value="Debian" '.is_selected($linuxdistro,"Debian").'>Debian</option>
 	<option value="Other" '.is_selected($linuxdistro,"Other").'D>Other</option>
	-->
make it

Code: Select all

 	<option value="Fedora" '.is_selected($linuxdistro,"Fedora").'>Fedora Core</option>
 	<option value="Ubuntu" '.is_selected($linuxdistro,"Ubuntu").'>Ubuntu</option>
 	<option value="Debian" '.is_selected($linuxdistro,"Debian").'>Debian</option>
 	<option value="Other" '.is_selected($linuxdistro,"Other").'D>Other</option>
	
This was my fault, edited the wizard but needed to make different edits...