Networking Forums

Networking Forums > Computer Networking > Linux Networking > Re: nagios networking 2D 3D statusmap cgi coordinates statuswrl

Reply
Thread Tools Display Modes

Re: nagios networking 2D 3D statusmap cgi coordinates statuswrl

 
 
Andrey Asadchev
Guest
Posts: n/a

 
      07-16-2003, 07:36 PM
On 16 Jul 2003 00:58:28 -0700
(E-Mail Removed) (Michi) wrote:

> Hello,
>
> i installed nagios on a linux machine _suse 7.3" and it works fine!
> Now i want to configure the CGI script in order to display my hosts in
> a 2 D and 3 D statusmap and it works fine too, but the coordinates are
> standard and it doesn't display the network i like.
> I want to give the hosts other coordinates. _ but this doesn't work!
> I have read something about this, but everything don't work. I think
> nagios doesn't find my self configurated coordinates??
>
> In order to configure the coordinates i configured the
> /install/nagios/nagios-1.1/sample-config/template-extinfo/hostextinfo.cfg
> For example:
>
>
> define hostextinfo{
> use hei1
>
> host_name Server1
> 2d_coords 100,350
> 3d_coords 4.0,0.0,0.0
> }
>
>
>
> define hostextinfo{
> use hei1
>
> host_name Server2
> 2d_coords 100,350
> 3d_coords 6.0,0.0,0.0
> }
>
>
> then i compile and install nagios again. But nothing changes???????
>
> My questions:
>
> - how can i configure/compile nagios to give me the option to
> configure 2d coordinates and 3d coordinates?
> - Can someone give me an example about a running configuration script
> (cgi.cfg, hostextendinfo.cfg...) ??????
>
> I hope someone can help me
>
> Michi


When you compile nagios, which hostextinfo method did you use?

--with-mysql-extinfo - hostextinfo is kept in mysql database.
--with-pgsql-extinfo - hostextinfo is kept in postgres database.
--with-default-extinfo - hostextinfo is kept in CGI config file (deprecated)
--with-template-extinfo - hostextinfo using templates ( what you are trying to do)

If you want to use templates, compile nagios with --with-template-extinfo.
Then in your CGI config, tell it where template-extinfo file is.
xedtemplate_config_file=/install/nagios/nagios-1.1/sample-config/template-extinfo/hostextinfo.cfg

Hope this helps



 
Reply With Quote
 
 
 
 
Michi
Guest
Posts: n/a

 
      07-17-2003, 07:19 AM
hello again,

i am just working in compiling nagios again
now i guess i have two possibilities to set coordinates???? is that right?

################################################## ####
one opportunity is to configure the following?:

"hostextinfo.cfg"
and the link in the cgi.cfg file
xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg )

example:define hostextinfo
{
use hei1
host_name SERVER
2d_coords 300,300
icon_image turbolinux.png
icon_image_alt SERVER
vrml_image turbolinux.png
statusmap_image turbolinux.gd2

3d_coords 1.0,0.0,0.0
}

why does this not work???????

################################################## ###
the other opportunity is to configure coordinates directly in the cgi.cfg???

hostextinfo[es-eds]=/serverinfo/es-eds.html;novell40.gif;novell40.jpg;
IntranetWare4.11;100,50;3.5,0.0,-1.5;

why does this not work???????
################################################## #

i hope you could help me???

Michi
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
nagios camerota Linux Networking 0 09-20-2006 09:21 AM
Nagios and Sendmail Eric Linux Networking 1 04-24-2004 11:13 PM
Check_snmp in Nagios mallu0987 Linux Networking 0 07-25-2003 07:24 PM
nagios networking statusmap demo Michi Linux Networking 1 07-25-2003 02:46 PM
Nagios monitor says nagios isn't running but it is. Eric Vanderveer Linux Networking 0 06-28-2003 09:59 AM



1 2 3 4 5 6 7 8 9 10 11