Skip to main content

Thread: Help with Nagios


hello,

installed nagios on ubuntu 10.04 server using apt-get , when accessed web console, ok. made changes apache (creating new virtual sites) , since nagios gives me warning message http message, http warning: http/1.1 404 not found.

sites created working perfectly.

noticed attemps 4/4. need reset or nagios automatically reset once detects issue resolved?

when nagios giving 404 mean
1) webserver giving 404 saying can't nagios.
2) can nagios not information shown (eg left bar showing main window shows 404)
3) service on nagios relating local http service showing error?
4) else entirely?
can give (sanatised) version of httpd.conf , nagios webconf (/etc/apache2/conf.d/nagios.conf)? i'm guessing virtualhost setup nagios isn't quite right. screenshot of error nice.

virtualhost config nagios follows if helps (ignore ad auth stuff)
httpd.conf
code:
<virtualhost *:443> serveradmin me@my.domain servername nagios.my.domain documentroot /usr/local/nagios/share scriptalias /cgi-bin "/usr/local/nagios/sbin" </virtualhost> <virtualhost *:80> serveradmin me@my.domain servername nagios.my.domain documentroot /usr/local/nagios/share scriptalias /cgi-bin "/usr/local/nagios/sbin </virtualhost>
/etc/apache2/conf.d/nagios.conf
code:
scriptalias /nagios/cgi-bin "/usr/local/nagios/sbin" <directory "/usr/local/nagios/sbin">    sslrequiressl    options execcgi    allowoverride none    order allow,deny    allow    authname "active directory"    authtype basic    authbasicprovider ldap    authldapurl  "ldap://myadserver.my.domain:389/ou=m...b?(objectclass=*)"    authldapbinddn "ldapuser@my.domain"    authldapbindpassword 'mypassword'    require valid-user </directory> alias /nagios "/usr/local/nagios/share" <directory "/usr/local/nagios/share">    sslrequiressl    options none    allowoverride none    order allow,deny    allow    authname "active directory"    authtype basic    authbasicprovider ldap    authldapurl  "ldap://myadserver.my.domain:389/ou=m...b?(objectclass=*)"    authldapbinddn "ldapuser@my.domain"    authldapbindpassword 'mypassword'    require valid-user </directory>


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Help with Nagios


Ubuntu

Comments

Popular posts from this blog

CS5 Adobe Media Encoder: Encode failed because the source duration is nil.

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support