Search found 8 matches
- Mon Oct 21, 2013 3:43 am
- Forum: Open Source Nagios Projects
- Topic: Core 3.5.1 Error: Could not read object configuration data!
- Replies: 14
- Views: 12114
Re: Core 3.5.1 Error: Could not read object configuration da
Resolution was to use nagios 4.0.0 from source instead of 3.5.1 from yum...
- Thu Oct 17, 2013 8:03 am
- Forum: Open Source Nagios Projects
- Topic: Core 3.5.1 Error: Could not read object configuration data!
- Replies: 14
- Views: 12114
Re: Core 3.5.1 Error: Could not read object configuration da
Thanks abrist,
There's a breakthrough - i've managed nagios to work with nginx.
If you install it from source as described here: http://www.geekpeek.net/nagios-core-4-0-0-install/
it works without apache (with the same nginx configs from my first post)
So the thread could be closed.
Thanks!
There's a breakthrough - i've managed nagios to work with nginx.
If you install it from source as described here: http://www.geekpeek.net/nagios-core-4-0-0-install/
it works without apache (with the same nginx configs from my first post)
So the thread could be closed.
Thanks!
- Sat Oct 12, 2013 3:23 am
- Forum: Open Source Nagios Projects
- Topic: Core 3.5.1 Error: Could not read object configuration data!
- Replies: 14
- Views: 12114
Re: Core 3.5.1 Error: Could not read object configuration da
Hi all, Just wanted to say thanks for help! I've moved to apache and it worked right away... My steps were: 1) Tried to disable authentication for nagios cgis (/etc/nagios/cgi.cfg) use_authentication=0 - didn't help 2) Started httpd with preinstalled (/etc/httpd/conf.d/nagios.conf) - and it worked! ...
- Fri Oct 11, 2013 2:35 pm
- Forum: Open Source Nagios Projects
- Topic: Core 3.5.1 Error: Could not read object configuration data!
- Replies: 14
- Views: 12114
Re: Core 3.5.1 Error: Could not read object configuration da
Hi abrist, Yes, if i point my browser to the test.cgi file it asks for auth, as described in nginx rules from my first post. http://clip2net.com/s/5WbZsu If I put incorrect credentials: http://clip2net.com/s/5Wc34L If I pass the auth: http://clip2net.com/s/5Wc4sO So I understand, that nginx require ...
- Fri Oct 11, 2013 4:04 am
- Forum: Open Source Nagios Projects
- Topic: Core 3.5.1 Error: Could not read object configuration data!
- Replies: 14
- Views: 12114
Re: Core 3.5.1 Error: Could not read object configuration da
Hi slansing, Unfortunately both links you've posted are ubuntu related, and I have centos. Those things are about nginx configurations, but it seems that problem is somewhere between nagios and nginx, because: 1) nagios says no errors in config 2) nginx is working well and if i put my custom test.cg...
- Thu Oct 10, 2013 4:08 am
- Forum: Open Source Nagios Projects
- Topic: Core 3.5.1 Error: Could not read object configuration data!
- Replies: 14
- Views: 12114
Re: Core 3.5.1 Error: Could not read object configuration da
Forgot to mention: I've checked my custom cgi-bin PERL script in plugins dir, and it's running OK in browser... So maybe it's a problem of chown/chmod? [/etc/nagios]# ls -Z -rw-rw-r-- nagios nagios ? cgi.cfg drwxr-x--- nagios nagios ? conf.d -rw-rw-r-- nagios nagios ? nagios.cfg -rw-r--r-- nagios na...
- Thu Oct 10, 2013 1:49 am
- Forum: Open Source Nagios Projects
- Topic: Core 3.5.1 Error: Could not read object configuration data!
- Replies: 14
- Views: 12114
Re: Core 3.5.1 Error: Could not read object configuration da
# grep nag /etc/group
nagios
498:apache,nginx
Hadn't used nginx for cgis before...
All packages: nagios, nginx were installed using yum.
apache was also installed automatically with php-fpm, but it's not running and not used... nginx serves all the dynamic and static content
nagios
Hadn't used nginx for cgis before...
All packages: nagios, nginx were installed using yum.
apache was also installed automatically with php-fpm, but it's not running and not used... nginx serves all the dynamic and static content
- Wed Oct 09, 2013 4:34 am
- Forum: Open Source Nagios Projects
- Topic: Core 3.5.1 Error: Could not read object configuration data!
- Replies: 14
- Views: 12114
Core 3.5.1 Error: Could not read object configuration data!
Centos 6.4 64bit SElinux disabled Running Nginx with following rules: location /nagios { alias /usr/share/nagios/html; index index.php; auth_basic "Nagios"; auth_basic_user_file /etc/nagios/passwd; } location ~ ^/nagios/(.*\.php)$ { root /usr/share/nagios/html/; auth_basic "Nagios&quo...