3D World

Ethan Galstad nagios at nagios.org
Wed Oct 16 00:54:28 CEST 2002


There are some definite bugs in the CGI, which I must have created 
recently.  These include:

1) User-defined layout always failed, regardless of whether coords 
were specified or not
2) Z-coordinate in auto-layout modes was incorrectly taken from user-
supplied coords (if available)

Fixes for both of these issues are now in CVS, so you might want to 
give that a try.



On 15 Oct 2002 at 9:29, Carroll, Jim P [Contractor] wrote:

> >From the docs describing the 3d_coords directive:
> 
> "This variable is used to define coordinates to use when drawing the host in
> the statuswrl CGI. Coordinates can be positive or negative real numbers. The
> origin for drawing is (0.0,0.0,0.0). For reference, the size of the host
> cubes drawn is 0.5 units on each side (text takes a little more space). The
> coordinates you specify here are used as the center of the host cube."
> 
> Unless I missed something, this means that this specifies the X,Y,Z
> coordinates of the image, and that the size of the image is a constant.
> 
> jc
> 
> > -----Original Message-----
> > From: Louie Cagasan [mailto:fireant at zpdee.net]
> > Sent: Monday, October 14, 2002 10:29 PM
> > To: Carroll, Jim P [Contractor]
> > Cc: 'Jon Lyons'; chris_lockwood at ckeurope.com;
> > nagios-users at lists.sourceforge.net
> > Subject: RE: [Nagios-users] 3D World
> > 
> > 
> > Well, from what I understand about it in the docs, the coords you
> > specify for a node there don't exactly mean its position on 
> > the map, but
> > something like the size of the icon you'll use for that node.  And the
> > layout there means how the nodes are "laid out" onscreen.  
> > 
> > Using user-defined layout in the status map doesn't work for 
> > me: I don't
> > see all the nodes I specified. Oh well, as long as I see the whole map
> > of my whole network, that's just fine with me. =)
> > 
> > 
> > On Tue, 2002-10-15 at 07:26, Carroll, Jim P [Contractor] wrote:
> > > Verrrry interesting.  Mine was set to "0", so I went 
> > through the ranks...
> > > 4... 3... 2... all of those work, no problem.  This is where I say,
> > > "Hooray!"  I'm puzzling why it doesn't work for 
> > user-defined co-ordinates,
> > > but this will likely make my job simpler.
> > >  
> > > Thanks for the tip!
> > >  
> > > jc
> > > 
> > > -----Original Message-----
> > > From: Jon Lyons [mailto:jlyons30 at yahoo.com]
> > > Sent: Monday, October 14, 2002 5:27 PM
> > > To: Louie Cagasan; Carroll, Jim P [Contractor]
> > > Cc: chris_lockwood at ckeurope.com; nagios-users at lists.sourceforge.net
> > > Subject: RE: [Nagios-users] 3D World
> > > 
> > > 
> > > 
> > > Are you sure it's working?? Did you change 
> > "default-statuswrl_layout=0" ?I
> > > bet you're still on auto(4).. :) My 2d maps work fine with 
> > my coords, but
> > > the 3d maps just give the error... 
> > > 
> > > 
> > >  Louie Cagasan <fireant at zpdee.net> wrote: 
> > > 
> > > 
> > > 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
> > > > coordinate! s 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
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > > 
> > > 
> > > 
> > > 
> > >   _____  
> > > 
> > > Do you Yahoo!?
> > > Faith Hill <http://faith.yahoo.com>  - Exclusive 
> > Performances, Videos, &
> > > more
> > > faith.yahoo.com <http://faith.yahoo.com> 
> > > 
> > 
> > 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 



Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org



-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm




More information about the Users mailing list