Customizing Side Menu Page

Sand Philipp Philipp.Sand at sycor.de
Wed Aug 18 11:47:51 CEST 2004


>	I also edit nagios.conf: 
>	cfg_file=/etc/nagios/grouplist.cgi 

You don't have to add a cgi to the nagios.cfg, just put it into the
folder where all the other cgis are located (default is NAGIOSDIR/sbin/
Then you have to edit the side.html
	
	
>	But I get an error when I restart nagios. 
>	Error: Unexpected token or statement in file
'/etc/nagios/grouplist.cgi' on line 5. 
>	
>	line 5 contains the follow: 
>	1:        #!/bin/sh 
>	2:        #Change this if you have installed NAgios in a
non-standard location 
>	3:        # 
>	4:        NAGIOSDIR=/etc/nagios 
>	5:        # 
>	6:        #Dont change below 
	
The error means, that there is an error in line 5 of the cgi, not the
nagios.conf :)
And thats because the cgi is NO configfile.

Regards,
Philipp


************************************************

sycor plastics - die neue Branchenlösung für die Kunststoffindustrie

www.sycor-plastics.de

************************************************




Diese E-Mail ist vertraulich und kann darüber hinaus persönliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemäße Empfänger sind, löschen Sie bitte die E-Mail und deren Anhänge sofort und benachrichtigen Sie uns darüber. Die Firma sycor willigt in keine Verträge oder vertragliche Verpflichtungen ein oder übermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdrücklich in schriftlicher Form zwischen den Parteien vereinbart wurde.

This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form.



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list