LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-26-2013, 03:48 AM   #1
Moinul18
LQ Newbie
 
Registered: May 2013
Posts: 1

Rep: Reputation: Disabled
Nagios FAN


hi Guys,iam new here. its a great place to share problem.so igot an problem in my Nagios fan:
i got an error while i run:

Error: Template 'linux-server' specified in host definition could not be not found (config file '/etc/nagios/objects/localhost.cfg', starting on line 922)
Error processing object config files!

what should i do please help !!!
This is an emergency!!!

Thanking you
Moinul
 
Old 05-26-2013, 04:00 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello and Welcome to LinuxQuestions,

First of all, this is only an emergency to you, not to us. The error is pretty clear, you don't have any template definition for 'linux-server' and you're using it in your configuration file. So follow the documentation and create a template in the correct file so that Nagios can use it. A template in Nagios is used so that you don't have to retype repeating variables / values for each and every host to which you want to apply those. Check in your Nagios directory structure for a file called templates.cfg (nagios/etc/objects maybe?). That one holds a lot of examples. Also check in your nagios.cfg if you're including the templates file.

Looking forward to your participation in the forums. Have fun with Linux.

Kind regards,

Eric
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
CPU, Motherboard HDD, Fan etc monitor through Nagios vnc Linux - Software 4 12-08-2012 11:11 PM
Cutting fan yellow wire to disable fan speed control Mr. Alex General 2 07-30-2011 06:48 PM
PWM Fan Control - Lowering The CPU Fan RPM S3P3HR Linux - Software 1 04-24-2011 06:46 AM
[SOLVED] GeForce 7900 GS fan constant whirring is too much - help for fan/gpu control required NirvanaII Linux - Hardware 17 04-02-2011 12:11 PM
ACPI or lm-sensors fan control on Sony Vaio (fan runs at full speed) roanm Linux - Hardware 7 11-14-2009 08:37 PM


All times are GMT -5. The time now is 11:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration