[Nagios-users] cgi.cfg
Dear list readers - I am somewhat new to nagios, but i have had a pretty good experience in building, installing, and configuring nagios to this point. I have built 2.7 on a Fedora Core 6 box - patched to the latest revs of all rpms. I am experiencing two issues, which i am having trouble getting around. The first issue, and probably the most concerning is that whenever i define the cgi.cfg in nagios.cfg and run nagios -v /etc/nagios/nagios.cfg it fails complaining about the first unremarked line in the file - so, i remark that one out, and rerun the check and again it complains about the next unremarked line - this continues until the entire file is remarked out. Now i have checked and i dont define any of the items in the cgi.cfg anywhere else, and i dont define that file more than once. I am really confused why it keeps failing, and why i cannot define things like the authentication in the file (using the sample cgi.cfg to start with). The second issue is alerts, that i am not receiving from nagios. I need to look at this a little more closely, but after installing nagiosweb to make the configuration files a little easier for a jr admin to understand and configure - i havent gotten any alerts - and i DO have 1 system not pingable, etc, so i should be getting 'some' Anyway i would appreciate any thoughts on the cgi.cfg problem Thank you in advance Michael Weiner - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] cgi.cfg
On 26/02/07, Michael Weiner [EMAIL PROTECTED] wrote: I am experiencing two issues, which i am having trouble getting around. The first issue, and probably the most concerning is that whenever i define the cgi.cfg in nagios.cfg and run nagios -v /etc/nagios/nagios.cfg it fails complaining about the first unremarked line in the file It would help greatly if you could post the relevant portion of your nagios.cfg and cgi.cfg files, and the exact error you get when you run nagios -v /etc/nagios/nagios.cfg. I would strongly recommend that you consider installing Nagios and the plugins from the source tarball which can be found at http://www.nagios.org rather than from .rpm . The .rpm install is quite different to a source tarball install - it puts various bits of Nagios in various different directories and makes it more difficult to support. Also, it will install a version which has embedded perl enabled - something you might find you don't want in the future. If you install from source tarball, it may take you a little longer than an rpm install, but you will learn more about Nagios while you do the install, and will find that if you want to try some of the various excellent add-ons for Nagios in the future, they are easier to get working if you have done a standard install from tarball. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] cgi.cfg
My guess is Nagios is trying to parse cgi.cfg as an object configuration file. IIRC, cgi.cfg should be in the same place as nagios.cfg, and NOT entered into the nagios.cfg as part of either a cfg_file or cfg_dir directive. As Jim said, it would help if you post the relevant portions of your nagios.cfg file. Andy. Jim Avery wrote: On 26/02/07, Michael Weiner [EMAIL PROTECTED] wrote: I am experiencing two issues, which i am having trouble getting around. The first issue, and probably the most concerning is that whenever i define the cgi.cfg in nagios.cfg and run nagios -v /etc/nagios/nagios.cfg it fails complaining about the first unremarked line in the file It would help greatly if you could post the relevant portion of your nagios.cfg and cgi.cfg files, and the exact error you get when you run nagios -v /etc/nagios/nagios.cfg. I would strongly recommend that you consider installing Nagios and the plugins from the source tarball which can be found at http://www.nagios.org rather than from .rpm . The .rpm install is quite different to a source tarball install - it puts various bits of Nagios in various different directories and makes it more difficult to support. Also, it will install a version which has embedded perl enabled - something you might find you don't want in the future. If you install from source tarball, it may take you a little longer than an rpm install, but you will learn more about Nagios while you do the install, and will find that if you want to try some of the various excellent add-ons for Nagios in the future, they are easier to get working if you have done a standard install from tarball. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list Nagios-users@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 !DSPAM:37,45e2e0b9103003857517878! -- Andy Shellam NetServe Support Team the Mail Network an alternative in a standardised world p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Nagios-users mailing list Nagios-users@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