Search found 17 matches

by ukzerosniper
Thu Feb 14, 2013 4:22 pm
Forum: Open Source Nagios Projects
Topic: Error: Could not read object configuration data!
Replies: 31
Views: 14847

Re: Error: Could not read object configuration data!

It starts Automatically on boot
by ukzerosniper
Thu Feb 14, 2013 3:44 pm
Forum: Open Source Nagios Projects
Topic: Error: Could not read object configuration data!
Replies: 31
Views: 14847

Re: Error: Could not read object configuration data!

Lol, thanks for the help so far, I am still getting this message :? Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: Verify configuration options using the -v command-line option to check for errors. Check the Nagios log f...
by ukzerosniper
Thu Feb 14, 2013 2:49 pm
Forum: Open Source Nagios Projects
Topic: Error: Could not read object configuration data!
Replies: 31
Views: 14847

Re: Error: Could not read object configuration data!

That produces the following /usr/bin/nagios -v /etc/nagios/nagios.cfg Nagios Core 3.2.3 Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 10-03-2010 License: GPL Website: http://www.nagios.org Reading configuration da...
by ukzerosniper
Thu Feb 14, 2013 1:10 pm
Forum: Open Source Nagios Projects
Topic: Error: Could not read object configuration data!
Replies: 31
Views: 14847

Re: Error: Could not read object configuration data!

Sure thing. # ls -la /etc/nagios total 156 drwxr-xr-x. 3 root root 4096 Feb 14 16:56 . drwxr-xr-x. 69 root root 4096 Feb 4 16:22 .. -rw-rw-r--. 1 nagios nagios 9506 Oct 20 20:50 cgi.cfg -rw-r--r--. 1 root root 4816 Oct 20 20:50 checkcommands.cfg -rw-r--r--. 1 root root 15860 Nov 26 2010 command-plug...
by ukzerosniper
Thu Feb 14, 2013 12:02 pm
Forum: Open Source Nagios Projects
Topic: Error: Could not read object configuration data!
Replies: 31
Views: 14847

Re: Error: Could not read object configuration data!

Hi, Mine is located at /etc/nagios/objects/commands.cfg and is configured as follows. # 'notify-host-by-email' command definition define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HO...
by ukzerosniper
Thu Feb 14, 2013 11:08 am
Forum: Open Source Nagios Projects
Topic: Error: Could not read object configuration data!
Replies: 31
Views: 14847

Re: Error: Could not read object configuration data!

I searched in my nagios.cfg file and could not find anywhere "nagios-admin". I didnt include the "" :).
by ukzerosniper
Thu Feb 14, 2013 3:55 am
Forum: Open Source Nagios Projects
Topic: Error: Could not read object configuration data!
Replies: 31
Views: 14847

Re: Error: Could not read object configuration data!

If you don't have this config (and obviously don't need it :)), open nagios.cfg in a text editor and look for this entry. If you see something like this: cfg_file=/etc/nagios/misccommands.cfg change it to: # cfg_file=/etc/nagios/misccommands.cfg and verify your configuration again: /usr/bin/nagios ...
by ukzerosniper
Thu Feb 14, 2013 3:50 am
Forum: Open Source Nagios Projects
Topic: Error: Could not read object configuration data!
Replies: 31
Views: 14847

Re: Error: Could not read object configuration data!

This is my nagios.cfg ############################################################################## # # NAGIOS.CFG - Sample Main Config File for Nagios # # Read the documentation for more information on this configuration # file. I've provided some comments here, but things may not be so # clear wi...
by ukzerosniper
Wed Feb 13, 2013 1:57 pm
Forum: Open Source Nagios Projects
Topic: Error: Could not read object configuration data!
Replies: 31
Views: 14847

Re: Error: Could not read object configuration data!

It appears not. Where can I get one or how can I create one?

Code: Select all

# cd /etc/nagios/
# ls
cgi.cfg              
htpasswd.users  
nrpe.cfg  
resource.cfg
checkcommands.cfg    
minimal.cfg     
nsca.cfg  
send_nsca.cfg
command-plugins.cfg  
nagios.cfg      
objects
by ukzerosniper
Wed Feb 13, 2013 1:19 pm
Forum: Open Source Nagios Projects
Topic: Error: Could not read object configuration data!
Replies: 31
Views: 14847

Re: Error: Could not read object configuration data!

Looks like my config file is stuffed...

Any ideas on how I can fix this, also, it would apear that Nagios is not up to date. Do we have an easy update option?