3D World

Louie Cagasan fireant at zpdee.net
Mon Oct 14 23:22:14 CEST 2002


Hi Jim/Chris,

Try this one.  I have this in my hostextinfo.cfg:
Just make sure you declared this in your cgi.cfg, like:

xed_template_configfile=/usr/local/nagios/etc/hostextinfo.cfg

or something like that, then below is the entries for your
hostextinfo.cfg.  

define hostextinfo{
        host_name       NOCswitch
        vrml_image      ng-switch40.png
        icon_image      ng-switch40.gif
        vrml_image      ng-switch40.jpg
        statusmap_image ng-switch40.gd2
        2d_coords       200,400
        3d_coords       50.0,100.0,50.0
        }

This works for me.  And the "no dots" rule is,
well, a rule.  You can vary the values in the coords as well.

hth.
--------------------------------------------------------------------

I never did get this working.  The common response is "make sure you =
don't
have dots in your hostnames", which I don't.

VRML works, but Cortona does start; it comes up with "You have not =
supplied
any 3-D drawing coordinates.  Read the FAQs for more information on =
doing
this."

Not to say this can't be done, but I've largely given up on making it =
work
(for now).

I'll be migrating Nagios to another server, so maybe when I have a =
'bare
bones' config set up, I'll try the 3-D Status Map again, just to see =
whether
it works at all.  If I have an 'aha!' moment, I'll share it with =
everyone.
;)

jc

> -----Original Message-----
> From: Chris at lockwood.fsnet.co.uk [mailto:Chris at lockwood.fsnet.co.uk]
> Sent: Monday, October 14, 2002 2:53 AM
> To: nagios-users at lists.sourceforge.net
> Cc: chris.lockwood at ckeurope.com
> Subject: [Nagios-users] 3D World
>=20
>=20
> I'm having problems with the 3D world configuration, everything else
> seems to work (excellent program). The 2D status map seems to take =
the
> coordinates I have inputted, but the 3D version is having non of it.
>=20
> At this point it may be worth mentioning that I did not use the:
>=20
> --with-template-objects
>=20
> argument when I compiled, however having said that the 2D Map=20
> works ok.
> I realize its not the end of the world but I'd really like to=20
> have full
> functionality, so I can show of to my manager :-)
>=20
> Thanks all
>=20
> Chris L
>=20
>=20
>=20
> ____________________________________________



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list