Search found 17 matches

by zander_2
Tue Aug 20, 2013 4:22 pm
Forum: Open Source Nagios Projects
Topic: Web interface Error:Could not read object configuration data
Replies: 36
Views: 13929

Re: Web interface Error:Could not read object configuration

That looks good, lets just be 100% and check /etc/passwd. grep nagios /etc/passwd nagios:x:502:505::/home/nagios:/bin/bash Hm... So, I'm pretty sure that there's just some seriously messed up stuff going on with ssh on the remote host, because I successfully SSH'd from the Nagios server to another ...
by zander_2
Tue Aug 20, 2013 2:50 pm
Forum: Open Source Nagios Projects
Topic: Web interface Error:Could not read object configuration data
Replies: 36
Views: 13929

Re: Web interface Error:Could not read object configuration

abrist wrote:Do you have any restrictions on the nagios account on the remote host?

Code: Select all

grep nagios /etc/shadow
I ask because I have often seen "nologin" configured on the nagios user in /etc/shadow.,

Code: Select all

grep nagios /etc/shadow
nagios::15931:0:99999:7:::
by zander_2
Tue Aug 20, 2013 1:27 pm
Forum: Open Source Nagios Projects
Topic: Web interface Error:Could not read object configuration data
Replies: 36
Views: 13929

Re: Web interface Error:Could not read object configuration

abrist wrote:Is selinux enabled on the remote system?

Code: Select all

getenforce
Is your home directory encrypted?
No and no.
by zander_2
Mon Aug 19, 2013 3:23 pm
Forum: Open Source Nagios Projects
Topic: Web interface Error:Could not read object configuration data
Replies: 36
Views: 13929

Re: Web interface Error:Could not read object configuration

What is in the "authorized_keys" directory on the remote host? ls -la /home/nagios/.ssh/authorized_keys It's not a directory, it's a file containing the server's public key. It reads: ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA8PkNpfoe+QXEuD4MEt/pS7Jri4e5sYjwUDmCAIIioaPj7mACS/MhD3EAQ3l01qOaBjvE1...
by zander_2
Mon Aug 19, 2013 2:11 pm
Forum: Open Source Nagios Projects
Topic: Web interface Error:Could not read object configuration data
Replies: 36
Views: 13929

Re: Web interface Error:Could not read object configuration

If it is asking for your password, the keys are probably not in the right place. What is the output of: ls -la /home/nagios/.ssh Run this on both the nagios server and remote host. On the server, it's: drwx------ 2 nagios nagios 4096 Aug 19 14:13 . drwx------ 3 nagios nagios 4096 Aug 19 14:04 .. -r...
by zander_2
Mon Aug 19, 2013 1:17 pm
Forum: Open Source Nagios Projects
Topic: Web interface Error:Could not read object configuration data
Replies: 36
Views: 13929

Re: Web interface Error:Could not read object configuration

Nope, will not connect. It just keeps asking for a password, even though the nagios account doesn't even have a password. I set up a working SSH between two other VMs just the other day, so I don't know why it's acting any differently here. That's definitely the problem.
by zander_2
Wed Aug 14, 2013 4:06 pm
Forum: Open Source Nagios Projects
Topic: Web interface Error:Could not read object configuration data
Replies: 36
Views: 13929

Re: Web interface Error:Could not read object configuration

Try logging in as root, and then su'ing over to the user nagios. root should be able to su to any user . . . I can su to nagios, but after that when I'm trying to ssh an un-passworded account on another machine, it asks me for a password anyway. That's what I don't get; I can access the nagios acco...
by zander_2
Wed Aug 14, 2013 3:33 pm
Forum: Open Source Nagios Projects
Topic: Web interface Error:Could not read object configuration data
Replies: 36
Views: 13929

Re: Web interface Error:Could not read object configuration

When you are doing this via cli, are you running as root or the nagios user? You very possibly need to do this as the nagios user, or accept the ssh key as the nagios user via a manual ssh over first. Otherwise the plugin will just fail. However the 255 out of bounds is still a bit strange. Hm, wel...
by zander_2
Tue Aug 13, 2013 3:47 pm
Forum: Open Source Nagios Projects
Topic: Web interface Error:Could not read object configuration data
Replies: 36
Views: 13929

Re: Web interface Error:Could not read object configuration

Yeah, that makes sense. Still, nothing that could be causing the error. Anyone else have any input? I'd really like to get this fixed.
by zander_2
Tue Aug 13, 2013 8:08 am
Forum: Open Source Nagios Projects
Topic: Web interface Error:Could not read object configuration data
Replies: 36
Views: 13929

Re: Web interface Error:Could not read object configuration

abrist wrote:What linux distro are you running?
As I said earlier, CentOS 6.0.