Re: [Nagios-users] 3-D Status Map not working

2008-10-06 Thread Mark Young

On Oct 3, 2008, at 6:31 PM, Rick Knight wrote:
 The only config file I have that points to /usr/local/nagios/sbin is  
 the Apache2 config file for Nagios, nagios.conf. I've included it  
 below...

 ## Apache2 config file for Nagios

This looks to be the standard sample config for apache which should  
not be a problem.



 What is the next step in trouble shooting this problem?

I believe the clear next step for you is to work on your configuration  
files.  I would backup your configuration, stop nagios, install the  
sample config files ('make install-config' in the source directory),  
then start nagios.  If that fixes the problem I'd look at the cgi.cfg  
and nagios.cfg as having some problem settings.  If it does not  
work... It could be a number of things including the openvrml plugin  
you are using.  A better tracing of the program and looking deeper  
into the logs might be required.

The VRML components have largely been unmaintained for a long time.   
VRML technology never really took off.  And sadly the 3D map is not as  
useful as you may hope. :(  If you are looking to enhanced maps I  
would look at the great NagVis (http://www.nagvis.org/) project.  If  
you are looking for more enhanced interactive mapping however, you may  
have to wait for something coming in the near future. ;)


Mark Young
___
Nagios Enterprises, LLC
Web:www.nagios.com

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] 3-D Status Map not working

2008-10-03 Thread Rick Knight
Mark Young wrote:
 On Oct 2, 2008, at 7:11 PM, Izz Abdullah wrote:

   
 Hi Rick,
 I've also done this just to make Nagios pretty to the users and  
 customize for our customers.  If you see the documentation, you must  
 create the logos directory with 40x40 pixel png (other formats  
 acceptable) for the VRML logos to work, also, this will create  
 little logos in your regular status map as well as a pic next to the  
 host in the summary page.  If I am not mistaken, you will need to  
 put together a:
 define hostextinfo{...} declaration, but it's all in the  
 documentation.  Here is an example completely specific to my  
 internal setup for APAC usage justification:
 in the say...windows.cfg file:
 define hostextinfo{
 host_name#APAC-TEST #this should be the host you want
  #the special pic for which is located in your  
 logos directory in which you created
 notesTest 2003 Domain Controller
 icon_image   Simpsons_couch_gag.jpg
 statusmap_image  Simpsons_couch_gag.jpg
 vrml_image   Simpsons_couch_gag.jpg
 }
 

 Hi Izz,
 These can now be included in the actual host/service definitions (or  
 better yet, their templates).  'hostextinfo' and 'serviceextinfo' are  
 no longer necessary but are still supported as of now.  It is now just  
 a style decision.


   
 Rick Knight wrote:
   
 I've installed openvrml with it's Mozilla plugin. I've tested the  
 plugin
 and it works fine with the models supplied with openvrml, but not  
 with
 Nagios. When I click on 3-D Status Map I get a black screen. I found
 this error in my apache2 log...

 [Thu Oct 02 11:08:50 2008] [error] [client 127.0.0.1] script not  
 found
 or unable to stat: /usr/local/nagios/sbin/nagios

 I get this each time I try to view the 3-D maps. Is this a  
 configuration
 issue? I don't have a /usr/local/nagios/sbin/nagios, I do have
 /usr/local/bin/nagios.

 Thanks,
 Rick
 

 Hi Rick,
 Did you compile this from source?  What version of nagios are you  
 running?  It is obvious from the logs that the CGI is looking for  
 something that does not exist.  My idea of the problem might be that  
 you are, pointing 'vrml_image' or another such script url in the  
 configs to the nonexistant location.  Which could be from an error in  
 how Nagios was originally configured.


   
 Also, when I save a map to my Desktop on my PC and then try to open  
 with
 sdl-viewer, I get this error (the first line is the command to open  
 the
 file)...

 [EMAIL PROTECTED]:~/Desktop/NewDownloads/openvrml-0.17.8/examples$
 ./sdl-viewer ~/Desktop/statuswrl.wrl

 file:///home/rknight/Desktop/nagios/images/logos/nagiosvrml.png:
 unrecognized error during resolution
 no alternative URI could be resolved

 The path to my Nagios images directory is
 /usr/local/nagios/share/images. Where is the path above comming from?

 Thanks,
 Rick
   

 The vrml should not be able to run from your desktop as it needs to  
 communicate with the CGI to read the relative host relationships from  
 the Nagios server.

 Good luck.

 Mark Young
 ___
 Nagios Enterprises, LLC
 Web:www.nagios.com

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue. 
 ::: Messages without supporting info will risk being sent to /dev/null
   
Mark,

I'm running 3.0b3, compiled from source about a year ago, just now
getting around to trying to use it. I'm sure the only compile time
option I used would have been --prefix=/usr. Where can I look for this
error? Or should I use a newer version and re-compile or use the Nagios2
in the Kubuntu 8.04 repositories?

Thanks,
Rick

Thanks


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] 3-D Status Map not working

2008-10-03 Thread Mark Young


On Oct 3, 2008, at 11:28 AM, Rick Knight wrote:


Mark Young wrote:

On Oct 2, 2008, at 7:11 PM, Izz Abdullah wrote:



Hi Rick,
I've also done this just to make Nagios pretty to the users and
customize for our customers.  If you see the documentation, you must
create the logos directory with 40x40 pixel png (other formats
acceptable) for the VRML logos to work, also, this will create
little logos in your regular status map as well as a pic next to the
host in the summary page.  If I am not mistaken, you will need to
put together a:
define hostextinfo{...} declaration, but it's all in the
documentation.  Here is an example completely specific to my
internal setup for APAC usage justification:
in the say...windows.cfg file:
define hostextinfo{
host_name#APAC-TEST #this should be the host you want
#the special pic for which is located in your
logos directory in which you created
notesTest 2003 Domain Controller
icon_image   Simpsons_couch_gag.jpg
statusmap_image  Simpsons_couch_gag.jpg
vrml_image   Simpsons_couch_gag.jpg
}



Hi Izz,
These can now be included in the actual host/service definitions (or
better yet, their templates).  'hostextinfo' and 'serviceextinfo' are
no longer necessary but are still supported as of now.  It is now  
just

a style decision.




Rick Knight wrote:


I've installed openvrml with it's Mozilla plugin. I've tested the
plugin
and it works fine with the models supplied with openvrml, but not
with
Nagios. When I click on 3-D Status Map I get a black screen. I  
found

this error in my apache2 log...

[Thu Oct 02 11:08:50 2008] [error] [client 127.0.0.1] script not
found
or unable to stat: /usr/local/nagios/sbin/nagios

I get this each time I try to view the 3-D maps. Is this a
configuration
issue? I don't have a /usr/local/nagios/sbin/nagios, I do have
/usr/local/bin/nagios.

Thanks,
Rick



Hi Rick,
Did you compile this from source?  What version of nagios are you
running?  It is obvious from the logs that the CGI is looking for
something that does not exist.  My idea of the problem might be that
you are, pointing 'vrml_image' or another such script url in the
configs to the nonexistant location.  Which could be from an error in
how Nagios was originally configured.




Also, when I save a map to my Desktop on my PC and then try to open
with
sdl-viewer, I get this error (the first line is the command to open
the
file)...

[EMAIL PROTECTED]:~/Desktop/NewDownloads/openvrml-0.17.8/ 
examples$

./sdl-viewer ~/Desktop/statuswrl.wrl

file:///home/rknight/Desktop/nagios/images/logos/nagiosvrml.png:
unrecognized error during resolution
no alternative URI could be resolved

The path to my Nagios images directory is
/usr/local/nagios/share/images. Where is the path above comming  
from?


Thanks,
Rick



The vrml should not be able to run from your desktop as it needs to
communicate with the CGI to read the relative host relationships from
the Nagios server.

Good luck.

Mark Young
___
Nagios Enterprises, LLC
Web:www.nagios.com


Mark,

I'm running 3.0b3, compiled from source about a year ago, just now
getting around to trying to use it. I'm sure the only compile time
option I used would have been --prefix=/usr. Where can I look for this
error? Or should I use a newer version and re-compile or use the  
Nagios2

in the Kubuntu 8.04 repositories?

Thanks,
Rick

Thanks


Well I'll try to send this out.  I sent a message at 9:30 CDT and it  
is yet to appear. :)


If you have the option, I would suggest to first backup your current / 
usr/local/nagios/* files, then recompile/reinstall with the latest  
Nagios 3.0.3 source and follow the quickstart guides (without using  
the 'make install-config' which overwrites your config files).  This  
would bring you down to it being a problem with your Nagios  
configuration or your system configuration.  Though this is a drastic  
step but a good chance to upgrade.


Is the rest of your interface looking alright?  Have you made any  
changes to the cgi.cfg file (maybe involving web root directory)?  Did  
you try to take away all the url references from you config files?  
(the  'vrml_image', 'icon_image', 'statusmap_image' )  I would need  
more log data to help narrow it down.



Mark Young
___
Nagios Enterprises, LLC
Web:www.nagios.com


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without 

Re: [Nagios-users] 3-D Status Map not working

2008-10-03 Thread Rick Knight
Mark Young wrote:

 On Oct 3, 2008, at 11:28 AM, Rick Knight wrote:

 Mark Young wrote:
 On Oct 2, 2008, at 7:11 PM, Izz Abdullah wrote:


 Hi Rick,
 I've also done this just to make Nagios pretty to the users and  
 customize for our customers.  If you see the documentation, you must  
 create the logos directory with 40x40 pixel png (other formats  
 acceptable) for the VRML logos to work, also, this will create  
 little logos in your regular status map as well as a pic next to the  
 host in the summary page.  If I am not mistaken, you will need to  
 put together a:
 define hostextinfo{...} declaration, but it's all in the  
 documentation.  Here is an example completely specific to my  
 internal setup for APAC usage justification:
 in the say...windows.cfg file:
 define hostextinfo{
 host_name#APAC-TEST #this should be the host you want
 #the special pic for which is located in your  
 logos directory in which you created
 notesTest 2003 Domain Controller
 icon_image   Simpsons_couch_gag.jpg
 statusmap_image  Simpsons_couch_gag.jpg
 vrml_image   Simpsons_couch_gag.jpg
 }


 Hi Izz,
 These can now be included in the actual host/service definitions (or  
 better yet, their templates).  'hostextinfo' and 'serviceextinfo' are  
 no longer necessary but are still supported as of now.  It is now just  
 a style decision.



 Rick Knight wrote:

 I've installed openvrml with it's Mozilla plugin. I've tested the  
 plugin
 and it works fine with the models supplied with openvrml, but not  
 with
 Nagios. When I click on 3-D Status Map I get a black screen. I found
 this error in my apache2 log...

 [Thu Oct 02 11:08:50 2008] [error] [client 127.0.0.1] script not  
 found
 or unable to stat: /usr/local/nagios/sbin/nagios

 I get this each time I try to view the 3-D maps. Is this a  
 configuration
 issue? I don't have a /usr/local/nagios/sbin/nagios, I do have
 /usr/local/bin/nagios.

 Thanks,
 Rick


 Hi Rick,
 Did you compile this from source?  What version of nagios are you  
 running?  It is obvious from the logs that the CGI is looking for  
 something that does not exist.  My idea of the problem might be that  
 you are, pointing 'vrml_image' or another such script url in the  
 configs to the nonexistant location.  Which could be from an error in  
 how Nagios was originally configured.



 Also, when I save a map to my Desktop on my PC and then try to open  
 with
 sdl-viewer, I get this error (the first line is the command to open  
 the
 file)...

 [EMAIL PROTECTED]:~/Desktop/NewDownloads/openvrml-0.17.8/examples$
 ./sdl-viewer ~/Desktop/statuswrl.wrl

 file:///home/rknight/Desktop/nagios/images/logos/nagiosvrml.png:
 unrecognized error during resolution
 no alternative URI could be resolved

 The path to my Nagios images directory is
 /usr/local/nagios/share/images. Where is the path above comming from?

 Thanks,
 Rick


 The vrml should not be able to run from your desktop as it needs to  
 communicate with the CGI to read the relative host relationships from  
 the Nagios server.

 Good luck.

 Mark Young
 ___
 Nagios Enterprises, LLC
 Web:www.nagios.com http://www.nagios.com

 Mark,

 I'm running 3.0b3, compiled from source about a year ago, just now
 getting around to trying to use it. I'm sure the only compile time
 option I used would have been --prefix=/usr. Where can I look for this
 error? Or should I use a newer version and re-compile or use the Nagios2
 in the Kubuntu 8.04 repositories?

 Thanks,
 Rick

 Thanks

 Well I'll try to send this out.  I sent a message at 9:30 CDT and it 
 is yet to appear. :)

 If you have the option, I would suggest to first backup your current 
 /usr/local/nagios/* files, then recompile/reinstall with the latest 
 Nagios 3.0.3 source and follow the quickstart guides (without using 
 the 'make install-config' which overwrites your config files).  This 
 would bring you down to it being a problem with your Nagios 
 configuration or your system configuration.  Though this is a drastic 
 step but a good chance to upgrade. 

OK, I can do that.
 Is the rest of your interface looking alright?  Have you made any 
 changes to the cgi.cfg file (maybe involving web root directory)?  Did 
 you try to take away all the url references from you config files? 
 (the  'vrml_image', 'icon_image', 'statusmap_image' )  I would need 
 more log data to help narrow it down.
I haven't customized anything yet. Just added my servers to windows.cfg


 Mark Young
 ___
 Nagios Enterprises, LLC
 Web:www.nagios.com http://www.nagios.com




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/

Re: [Nagios-users] 3-D Status Map not working

2008-10-03 Thread Rick Knight
Mark Young wrote:

 On Oct 3, 2008, at 11:28 AM, Rick Knight wrote:

 Mark Young wrote:
 On Oct 2, 2008, at 7:11 PM, Izz Abdullah wrote:


 Hi Rick,
 I've also done this just to make Nagios pretty to the users and  
 customize for our customers.  If you see the documentation, you must  
 create the logos directory with 40x40 pixel png (other formats  
 acceptable) for the VRML logos to work, also, this will create  
 little logos in your regular status map as well as a pic next to the  
 host in the summary page.  If I am not mistaken, you will need to  
 put together a:
 define hostextinfo{...} declaration, but it's all in the  
 documentation.  Here is an example completely specific to my  
 internal setup for APAC usage justification:
 in the say...windows.cfg file:
 define hostextinfo{
 host_name#APAC-TEST #this should be the host you want
 #the special pic for which is located in your  
 logos directory in which you created
 notesTest 2003 Domain Controller
 icon_image   Simpsons_couch_gag.jpg
 statusmap_image  Simpsons_couch_gag.jpg
 vrml_image   Simpsons_couch_gag.jpg
 }


 Hi Izz,
 These can now be included in the actual host/service definitions (or  
 better yet, their templates).  'hostextinfo' and 'serviceextinfo' are  
 no longer necessary but are still supported as of now.  It is now just  
 a style decision.



 Rick Knight wrote:

 I've installed openvrml with it's Mozilla plugin. I've tested the  
 plugin
 and it works fine with the models supplied with openvrml, but not  
 with
 Nagios. When I click on 3-D Status Map I get a black screen. I found
 this error in my apache2 log...

 [Thu Oct 02 11:08:50 2008] [error] [client 127.0.0.1] script not  
 found
 or unable to stat: /usr/local/nagios/sbin/nagios

 I get this each time I try to view the 3-D maps. Is this a  
 configuration
 issue? I don't have a /usr/local/nagios/sbin/nagios, I do have
 /usr/local/bin/nagios.

 Thanks,
 Rick


 Hi Rick,
 Did you compile this from source?  What version of nagios are you  
 running?  It is obvious from the logs that the CGI is looking for  
 something that does not exist.  My idea of the problem might be that  
 you are, pointing 'vrml_image' or another such script url in the  
 configs to the nonexistant location.  Which could be from an error in  
 how Nagios was originally configured.



 Also, when I save a map to my Desktop on my PC and then try to open  
 with
 sdl-viewer, I get this error (the first line is the command to open  
 the
 file)...

 [EMAIL PROTECTED]:~/Desktop/NewDownloads/openvrml-0.17.8/examples$
 ./sdl-viewer ~/Desktop/statuswrl.wrl

 file:///home/rknight/Desktop/nagios/images/logos/nagiosvrml.png:
 unrecognized error during resolution
 no alternative URI could be resolved

 The path to my Nagios images directory is
 /usr/local/nagios/share/images. Where is the path above comming from?

 Thanks,
 Rick


 The vrml should not be able to run from your desktop as it needs to  
 communicate with the CGI to read the relative host relationships from  
 the Nagios server.

 Good luck.

 Mark Young
 ___
 Nagios Enterprises, LLC
 Web:www.nagios.com http://www.nagios.com

 Mark,

 I'm running 3.0b3, compiled from source about a year ago, just now
 getting around to trying to use it. I'm sure the only compile time
 option I used would have been --prefix=/usr. Where can I look for this
 error? Or should I use a newer version and re-compile or use the Nagios2
 in the Kubuntu 8.04 repositories?

 Thanks,
 Rick

 Thanks

 Well I'll try to send this out.  I sent a message at 9:30 CDT and it 
 is yet to appear. :)

 If you have the option, I would suggest to first backup your current 
 /usr/local/nagios/* files, then recompile/reinstall with the latest 
 Nagios 3.0.3 source and follow the quickstart guides (without using 
 the 'make install-config' which overwrites your config files).  This 
 would bring you down to it being a problem with your Nagios 
 configuration or your system configuration.  Though this is a drastic 
 step but a good chance to upgrade. 

 Is the rest of your interface looking alright?  Have you made any 
 changes to the cgi.cfg file (maybe involving web root directory)?  Did 
 you try to take away all the url references from you config files? 
 (the  'vrml_image', 'icon_image', 'statusmap_image' )  I would need 
 more log data to help narrow it down.


 Mark Young
 ___
 Nagios Enterprises, LLC
 Web:www.nagios.com http://www.nagios.com


Mark,

As you suggested I backed up my config files and then removed nagios 
from my PC. Then I did a fresh install with nagios-3.0.3 and 
nagios-plugins-1.4.13 following the quick start guide for Ubuntu. I 
copied my configuration file backups to the appropriate locations, 
verified the configuration with sudo /usr/local/nagios/bin/nagios -v 
/usr/local/nagios/etc/nagios.cfg and then started nagios.  Everything 
looks OK. I can see the hosts I've configured, I can 

Re: [Nagios-users] 3-D Status Map not working

2008-10-03 Thread Rick Knight
 snipped 
 Mark,

 I'm running 3.0b3, compiled from source about a year ago, just now
 getting around to trying to use it. I'm sure the only compile time
 option I used would have been --prefix=/usr. Where can I look for this
 error? Or should I use a newer version and re-compile or use the Nagios2
 in the Kubuntu 8.04 repositories?

 Thanks,
 Rick

 Thanks

 Well I'll try to send this out.  I sent a message at 9:30 CDT and it 
 is yet to appear. :)

 If you have the option, I would suggest to first backup your current 
 /usr/local/nagios/* files, then recompile/reinstall with the latest 
 Nagios 3.0.3 source and follow the quickstart guides (without using 
 the 'make install-config' which overwrites your config files).  This 
 would bring you down to it being a problem with your Nagios 
 configuration or your system configuration.  Though this is a drastic 
 step but a good chance to upgrade. 

 Is the rest of your interface looking alright?  Have you made any 
 changes to the cgi.cfg file (maybe involving web root directory)?  Did 
 you try to take away all the url references from you config files? 
 (the  'vrml_image', 'icon_image', 'statusmap_image' )  I would need 
 more log data to help narrow it down.


 Mark Young
 ___
 Nagios Enterprises, LLC
 Web:www.nagios.com http://www.nagios.com


The only config file I have that points to /usr/local/nagios/sbin is the 
Apache2 config file for Nagios, nagios.conf. I've included it below...

## Apache2 config file for Nagios

# nagios.conf

ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin

Directory /usr/local/nagios/sbin
#  SSLRequireSSL
   Options ExecCGI
   AllowOverride None
   Order allow,deny
   Allow from all
#  Order deny,allow
#  Deny from all
#  Allow from 127.0.0.1
   AuthName Nagios Access
   AuthType Basic
   AuthUserFile /usr/local/nagios/etc/htpasswd.users
   Require valid-user
/Directory

Alias /nagios /usr/local/nagios/share

Directory /usr/local/nagios/share
#  SSLRequireSSL
   Options None
   AllowOverride None
   Order allow,deny
   Allow from all
#  Order deny,allow
#  Deny from all
#  Allow from 127.0.0.1
   AuthName Nagios Access
   AuthType Basic
   AuthUserFile /usr/local/nagios/etc/htpasswd.users
   Require valid-user
/Directory

Could this be causing the problem?

Thanks,
Rick

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] 3-D Status Map not working

2008-10-02 Thread Rick Knight
I've installed openvrml with it's Mozilla plugin. I've tested the plugin 
and it works fine with the models supplied with openvrml, but not with 
Nagios. When I click on 3-D Status Map I get a black screen. I found 
this error in my apache2 log...

[Thu Oct 02 11:08:50 2008] [error] [client 127.0.0.1] script not found 
or unable to stat: /usr/local/nagios/sbin/nagios

I get this each time I try to view the 3-D maps. Is this a configuration 
issue? I don't have a /usr/local/nagios/sbin/nagios, I do have 
/usr/local/bin/nagios.

Thanks,
Rick

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] 3-D Status Map not working

2008-10-02 Thread Rick Knight
Rick Knight wrote:
 I've installed openvrml with it's Mozilla plugin. I've tested the plugin 
 and it works fine with the models supplied with openvrml, but not with 
 Nagios. When I click on 3-D Status Map I get a black screen. I found 
 this error in my apache2 log...

 [Thu Oct 02 11:08:50 2008] [error] [client 127.0.0.1] script not found 
 or unable to stat: /usr/local/nagios/sbin/nagios

 I get this each time I try to view the 3-D maps. Is this a configuration 
 issue? I don't have a /usr/local/nagios/sbin/nagios, I do have 
 /usr/local/bin/nagios.

 Thanks,
 Rick

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue. 
 ::: Messages without supporting info will risk being sent to /dev/null
   
Also, when I save a map to my Desktop on my PC and then try to open with 
sdl-viewer, I get this error (the first line is the command to open the 
file)...

[EMAIL PROTECTED]:~/Desktop/NewDownloads/openvrml-0.17.8/examples$ 
./sdl-viewer ~/Desktop/statuswrl.wrl

file:///home/rknight/Desktop/nagios/images/logos/nagiosvrml.png: 
unrecognized error during resolution
no alternative URI could be resolved

The path to my Nagios images directory is 
/usr/local/nagios/share/images. Where is the path above comming from?

Thanks,
Rick

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] 3-D Status Map not working

2008-10-02 Thread Izz Abdullah
Hi Rick,
I've also done this just to make Nagios pretty to the users and customize for 
our customers.  If you see the documentation, you must create the logos 
directory with 40x40 pixel png (other formats acceptable) for the VRML logos to 
work, also, this will create little logos in your regular status map as well as 
a pic next to the host in the summary page.  If I am not mistaken, you will 
need to put together a:
define hostextinfo{...} declaration, but it's all in the documentation.  Here 
is an example completely specific to my internal setup for APAC usage 
justification:
in the say...windows.cfg file:
define hostextinfo{
 host_name#APAC-TEST #this should be the host you want 
  #the special pic for which is located in your logos 
directory in which you created
 notesTest 2003 Domain Controller
 icon_image   Simpsons_couch_gag.jpg
 statusmap_image  Simpsons_couch_gag.jpg
 vrml_image   Simpsons_couch_gag.jpg
}

The icon, statusmap, and vrml image doesn't have to be the same, I just opted 
for the same...

Hope this helps.

Regards - Izz

 -Original Message-
 From: [EMAIL PROTECTED]
 Sent: Thu, 02 Oct 2008 14:24:15 -0700
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] 3-D Status Map not working
 
 Rick Knight wrote:
 I've installed openvrml with it's Mozilla plugin. I've tested the plugin
 and it works fine with the models supplied with openvrml, but not with
 Nagios. When I click on 3-D Status Map I get a black screen. I found
 this error in my apache2 log...
 
 [Thu Oct 02 11:08:50 2008] [error] [client 127.0.0.1] script not found
 or unable to stat: /usr/local/nagios/sbin/nagios
 
 I get this each time I try to view the 3-D maps. Is this a configuration
 issue? I don't have a /usr/local/nagios/sbin/nagios, I do have
 /usr/local/bin/nagios.
 
 Thanks,
 Rick
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null
 
 Also, when I save a map to my Desktop on my PC and then try to open with
 sdl-viewer, I get this error (the first line is the command to open the
 file)...
 
 [EMAIL PROTECTED]:~/Desktop/NewDownloads/openvrml-0.17.8/examples$
 ./sdl-viewer ~/Desktop/statuswrl.wrl
 
 file:///home/rknight/Desktop/nagios/images/logos/nagiosvrml.png:
 unrecognized error during resolution
 no alternative URI could be resolved
 
 The path to my Nagios images directory is
 /usr/local/nagios/share/images. Where is the path above comming from?
 
 Thanks,
 Rick
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] 3-D Status Map not working

2008-10-02 Thread Mark Young

On Oct 2, 2008, at 7:11 PM, Izz Abdullah wrote:

 Hi Rick,
 I've also done this just to make Nagios pretty to the users and  
 customize for our customers.  If you see the documentation, you must  
 create the logos directory with 40x40 pixel png (other formats  
 acceptable) for the VRML logos to work, also, this will create  
 little logos in your regular status map as well as a pic next to the  
 host in the summary page.  If I am not mistaken, you will need to  
 put together a:
 define hostextinfo{...} declaration, but it's all in the  
 documentation.  Here is an example completely specific to my  
 internal setup for APAC usage justification:
 in the say...windows.cfg file:
 define hostextinfo{
 host_name#APAC-TEST #this should be the host you want
  #the special pic for which is located in your  
 logos directory in which you created
 notesTest 2003 Domain Controller
 icon_image   Simpsons_couch_gag.jpg
 statusmap_image  Simpsons_couch_gag.jpg
 vrml_image   Simpsons_couch_gag.jpg
 }

Hi Izz,
These can now be included in the actual host/service definitions (or  
better yet, their templates).  'hostextinfo' and 'serviceextinfo' are  
no longer necessary but are still supported as of now.  It is now just  
a style decision.


 Rick Knight wrote:
 I've installed openvrml with it's Mozilla plugin. I've tested the  
 plugin
 and it works fine with the models supplied with openvrml, but not  
 with
 Nagios. When I click on 3-D Status Map I get a black screen. I found
 this error in my apache2 log...

 [Thu Oct 02 11:08:50 2008] [error] [client 127.0.0.1] script not  
 found
 or unable to stat: /usr/local/nagios/sbin/nagios

 I get this each time I try to view the 3-D maps. Is this a  
 configuration
 issue? I don't have a /usr/local/nagios/sbin/nagios, I do have
 /usr/local/bin/nagios.

 Thanks,
 Rick

Hi Rick,
Did you compile this from source?  What version of nagios are you  
running?  It is obvious from the logs that the CGI is looking for  
something that does not exist.  My idea of the problem might be that  
you are, pointing 'vrml_image' or another such script url in the  
configs to the nonexistant location.  Which could be from an error in  
how Nagios was originally configured.


 Also, when I save a map to my Desktop on my PC and then try to open  
 with
 sdl-viewer, I get this error (the first line is the command to open  
 the
 file)...

 [EMAIL PROTECTED]:~/Desktop/NewDownloads/openvrml-0.17.8/examples$
 ./sdl-viewer ~/Desktop/statuswrl.wrl

 file:///home/rknight/Desktop/nagios/images/logos/nagiosvrml.png:
 unrecognized error during resolution
 no alternative URI could be resolved

 The path to my Nagios images directory is
 /usr/local/nagios/share/images. Where is the path above comming from?

 Thanks,
 Rick

The vrml should not be able to run from your desktop as it needs to  
communicate with the CGI to read the relative host relationships from  
the Nagios server.

Good luck.

Mark Young
___
Nagios Enterprises, LLC
Web:www.nagios.com

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null