Web Hosting Talk Australia


Go Back   Web Hosting Talk Australia : Web Hosting Forums : Technical Support : Nagios error in the links
Reply

Technical Support Technical and security issues

 
LinkBack Thread Tools
Old 04-01-2005, 03:38 PM   #1 (permalink)
markwaugh
Account Disabled
 
Join Date: Dec 2003
Location: Sydney, Australia
Posts: 37
delete thread

thread deleted

Last edited by markwaugh; 06-01-2005 at 07:58 PM.. Reason: delete thread
markwaugh is offline  
View Public Profile Find all posts by markwaugh Reply With Quote
Old 04-01-2005, 06:03 PM   #2 (permalink)
perlboy
Cooking? Traderecipes.net
 
perlboy's Avatar
 
Join Date: Jun 2002
Location: Brisbane, QLD, Australia
Posts: 1,439
Re: Nagios error in the links

And did you do this:

Quote:
1. Verify configuration options using the -v command-line option to check for errors.
2. Check the Nagios log file for messages relating to startup or status data errors.
3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file).

Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org.
Provide more information.

Stuart
__________________
Something big is coming.

perlboy is offline  
View Public Profile Visit perlboy's homepage! Find all posts by perlboy Reply With Quote
Old 04-01-2005, 07:37 PM   #3 (permalink)
markwaugh
Account Disabled
 
Join Date: Dec 2003
Location: Sydney, Australia
Posts: 37
Re: Nagios error in the links

1. how to Verify configuration options using the -v command ? what is the path and how to check for errors ?

2. where is the Nagios log file for messages relating to startup or status data errors ?

3. compiled the cgi program as well.

I have no idea how to make this crap work
markwaugh is offline  
View Public Profile Find all posts by markwaugh Reply With Quote
Old 05-01-2005, 04:59 PM   #4 (permalink)
pizzaboy_au
Account Disabled
 
pizzaboy_au's Avatar
 
Join Date: Nov 2003
Location: Brisbane
Posts: 681
Re: Nagios error in the links

Hi Markwaugh,

If you want to give me access i will get this going for you.
pizzaboy_au is offline  
View Public Profile Visit pizzaboy_au's homepage! Find all posts by pizzaboy_au Reply With Quote
Old 05-01-2005, 05:23 PM   #5 (permalink)
markwaugh
Account Disabled
 
Join Date: Dec 2003
Location: Sydney, Australia
Posts: 37
Re: Nagios error in the links

Thanks for ur efforts in fixing my nagios problem, but oppssss, this is a local intranet system..... what do i do ?

This is what i get when clicking on any of the links in the left :

Whoops!

Error: Could not read object configuration data!

Here are some things you should check in order to resolve this error:

1. Verify configuration options using the -v command-line option to check for errors.
2. Check the Nagios log file for messages relating to startup or status data errors.
3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file).

Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org.

this is the log :
[root@mark var]#tail -f nagios.log
[1104815737] LOG VERSION: 2.0
[1104815737] Bailing out due to one or more errors encountered in the configuration files. Run Nagios from the command line with the -v option to verify your config before restarting. (PID=3299)
[1104815776] Nagios 2.0b1 starting... (PID=3346)

[root@mark var]# nagios -v
bash: nagios: command not found

[root@mark var]# /etc/init.d/nagios start
Starting network monitor: nagios
No lock file found in /usr/local/nagios/var/nagios.lock

PLease let me know how to fix this issue. can you help me ? I would really thank u if u could help me and iĺl meet u when i come to brisbane

Thanks & Regards,
markwaugh is offline  
View Public Profile Find all posts by markwaugh Reply With Quote
Old 05-01-2005, 05:30 PM   #6 (permalink)
pizzaboy_au
Account Disabled
 
pizzaboy_au's Avatar
 
Join Date: Nov 2003
Location: Brisbane
Posts: 681
Re: Nagios error in the links

use this command to verify the errors wrong with nagios:

/usr/local/nagios/bin/nagios -v <destination_of_main_config_file>
pizzaboy_au is offline  
View Public Profile Visit pizzaboy_au's homepage! Find all posts by pizzaboy_au Reply With Quote
Old 05-01-2005, 05:51 PM   #7 (permalink)
markwaugh
Account Disabled
 
Join Date: Dec 2003
Location: Sydney, Australia
Posts: 37
Re: Nagios error in the links

THis is what i get :
[root@kiwi bin]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Nagios 2.0b1
Copyright (c) 1999-2004 Ethan Galstad (nagios@nagios.org)
Last Modified: 12-15-2005
License: GPL

Reading configuration data...

Error in configuration file '/usr/local/nagios/etc/nagios.cfg' - Line 868 (UNKNOWN VARIABLE)

***> One or more problems was encountered while processing the config files...

Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.

This is new installation (Version 2.0b1). Thanks for ur efforts, do u have any MSN / yahoo id ?
markwaugh is offline  
View Public Profile Find all posts by markwaugh Reply With Quote
Old 05-01-2005, 06:02 PM   #8 (permalink)
pizzaboy_au
Account Disabled
 
pizzaboy_au's Avatar
 
Join Date: Nov 2003
Location: Brisbane
Posts: 681
Re: Nagios error in the links

Hi Markwaugh,

Can you open up nagios.cfg and go to Line 868 and output what is on that line.
pizzaboy_au is offline  
View Public Profile Visit pizzaboy_au's homepage! Find all posts by pizzaboy_au Reply With Quote
Old 05-01-2005, 06:12 PM   #9 (permalink)
markwaugh
Account Disabled
 
Join Date: Dec 2003
Location: Sydney, Australia
Posts: 37
Re: Nagios error in the links

This is the entry in vi /usr/local/nagios/etc/nagios.cfg

868 : max_embedded_perl_calls=0

even i tried with the value with 1 or 2 no luck ....
markwaugh is offline  
View Public Profile Find all posts by markwaugh Reply With Quote
Old 05-01-2005, 06:16 PM   #10 (permalink)
pizzaboy_au
Account Disabled
 
pizzaboy_au's Avatar
 
Join Date: Nov 2003
Location: Brisbane
Posts: 681
Re: Nagios error in the links

Hi Markwaugh,

Remove the max_embedded_perl_calls line. It's not a valid variable in
Nagios 2.
pizzaboy_au is offline  
View Public Profile Visit pizzaboy_au's homepage! Find all posts by pizzaboy_au Reply With Quote
Old 05-01-2005, 06:48 PM   #11 (permalink)
markwaugh
Account Disabled
 
Join Date: Dec 2003
Location: Sydney, Australia
Posts: 37
Re: Nagios error in the links

ok, removed the max_embedded_perl_calls entry.

now /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg gives

Reading configuration data...

Error: Invalid hostgroup object directive 'contact_groups'.
Error: Could not add object property in file '/usr/local/nagios/etc/hostgroups.cfg' on line 4.

I have this entry in hostgroups.cfg

define hostgroup{
hostgroup_name flcd-servers
members example.com
members 10.10.22.220
}
markwaugh is offline  
View Public Profile Find all posts by markwaugh Reply With Quote
Old 05-01-2005, 06:58 PM   #12 (permalink)
pizzaboy_au
Account Disabled
 
pizzaboy_au's Avatar
 
Join Date: Nov 2003
Location: Brisbane
Posts: 681
Re: Nagios error in the links

Hi Mark,

You have not setup your hostgroup properly.

Have you read the manual at all?
pizzaboy_au is offline  
View Public Profile Visit pizzaboy_au's homepage! Find all posts by pizzaboy_au Reply With Quote
Old 06-01-2005, 06:49 PM   #13 (permalink)
perlboy
Cooking? Traderecipes.net
 
perlboy's Avatar
 
Join Date: Jun 2002
Location: Brisbane, QLD, Australia
Posts: 1,439
Re: Nagios error in the links

That's why I gave up Chris.

Clearly he hasn't read the entire manual back to front and also hasn't consulted anyone of a number of support resources available. Instead, he's come to WHTAU and posted [yet ANOTHER] thread requesting help and expecting people to stop what they are doing and help him free of charge.

Mark, unless you're paying something mate, you have to put more effort into working out your own problems. We'll give you pointers but we won't just hand you solutions on a silver platter.

Stuart
__________________
Something big is coming.

perlboy is offline  
View Public Profile Visit perlboy's homepage! Find all posts by perlboy Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:

Similar Threads
Thread Thread Starter Forum Replies Last Post
GroundworkOpensource Nagios platform bradburyn Web Hosting Australia 4 02-05-2007 02:39 PM
Related to back links to my page Ravi Web Site Reviews 5 20-04-2007 10:55 PM
Selling PR5 Text Links - Just $4/m SEOArt Australia 0 10-08-2006 03:34 PM
Check your website's popularity. WEBDOMAIN.com Web Hosting Australia 0 01-08-2006 12:34 AM
Gigabit links? AndrewK Lounge Bar 7 19-04-2006 11:44 PM


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.