LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-27-2004, 09:00 AM   #1
sbrewer
Member
 
Registered: Jul 2004
Location: Huntsville, AL
Distribution: RedHat 9
Posts: 43

Rep: Reputation: 15
Nagios Problem


I have install Nagios 1.2 and am having some problems. I want to change the icons in the status map. I have followed the directions and have added the line:

xedtemplate_config_file=/etc/nagios/hostextinfo.cfg

into the cgi.cfg file. I have created the file hostextinfo.cfg and added the following lines:

define hostextinfo{
host_name novel1
icon_image novell40.png
icon_image_alt IntranetWare 4.11
}

What am I doing wrong?

Thanks in advance.
 
Old 12-19-2004, 04:49 AM   #2
ahmed4linux
LQ Newbie
 
Registered: Aug 2004
Posts: 23

Rep: Reputation: 15
it ok

hi,
it ok
just make sure that you have appropriate all you icons in the default directory
/usr/lcoal/nagios/share/images/logos
all icons should have read permisions for all

the files needed to be modified on the nagios server
1> cgi.cfg
2> hostextinfo.cfg

edit your cgi.cfg
add
xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg

the hostextinfo.cfg file provides file names of images used in the status map screen.

edit hostextinfo.cfg
add this
define hostextinfo{
host_name ahmed
icon_image Compaq_xxxx_yyyyp.jpg
icon_image_alt Ahmed
vrml_image Compaq_xxxx_yyyyp.jpg
statusmap_image Compaq_xxxx_yyyyp.jpg

gd2_image Compaq_xxxx_yyyyp.jpg
register 1
}
______________________________________________
i hope the host for which u need to add image in status map is already there
and nagios is working fine.
this config works fine for me i am using RedHat 9
your milage may vary
if any errors plzz mail me
at
ms_dream@rediffmail.com
 
  


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
Nagios IP problem sumux Linux - Software 0 11-18-2005 06:19 AM
Nagios Problem kingcomein Linux - General 4 11-09-2005 11:31 PM
Nagios problem I_AM Linux - General 1 10-03-2005 03:22 PM
Nagios problem denis Linux - Software 1 04-27-2005 11:23 AM
Nagios Problem kopite2012 Linux - Newbie 9 04-02-2004 11:21 AM


All times are GMT -5. The time now is 01:35 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration