Re: [Nagios-users] Several map views of Nagios

2007-01-25 Thread Marc DeTrano
You may also be interested in NEXSM (Nagios extended status map). It
also requires a manual organization of the hosts, but you can get some
nice looking, data-connected maps using it.

http://www.nagiosexchange.org/Frontends.37.0.html?tx_netnagext_pi1[p_view]=625

Marc DeTrano
Gridshield, S.A.

 Well, i have similar problem,
 I have 530 hosts, so having all those on one map would be meaningless.
 I just need the routers and the wireless machines on there. If i chose
 what to exclude from the status map, it will still keep links pointing
 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] Several map views of Nagios

2007-01-24 Thread naim abu darwish
Well, i have similar problem,
I have 530 hosts, so having all those on one map would be meaningless.
I just need the routers and the wireless machines on there. If i chose
what to exclude from the status map, it will still keep links pointing
to hidden devices and thus the map will still be cluttered. I found a
patch on  the Pkg-nagios-devel debian mailing list, a post dating back
to Tue, 28 Jun 2005. so i guess that patch was made to work with maybe
nagios-1.x ?? anyway, link to original post ::

http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/2005-June/000804.html

this is supposed to make the map only show certain selective
hostgroups on the statusmap. i tried the patch on statusmap.c , I am
using nagios 2.5. the patch failed. Im not very good at reading C
code, could someone help out here ? maybe fix the patch for the
current nagios version, also seems a good idea to include in future
nagios versions

Help appreciated

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] Several map views of Nagios

2007-01-24 Thread Sébastien Barbereau

Hi,
you may want to have a look a nagvis (http://www.nagvis.org/doku.php) which
is interresting to provide different customisable views and has a simple
built in editor. Of course if you have more than 50 hosts it starts to be
difficult to set them up by hand. Therefor I'd suggest you also look at
graphviz ( http://www.graphviz.org/) to automagically calculate proper
coordinates for your hosts based on the parent relationship between them ...

Seb.

On 1/24/07, naim abu darwish [EMAIL PROTECTED] wrote:


Well, i have similar problem,
I have 530 hosts, so having all those on one map would be meaningless.
I just need the routers and the wireless machines on there. If i chose
what to exclude from the status map, it will still keep links pointing
to hidden devices and thus the map will still be cluttered. I found a
patch on  the Pkg-nagios-devel debian mailing list, a post dating back
to Tue, 28 Jun 2005. so i guess that patch was made to work with maybe
nagios-1.x ?? anyway, link to original post ::


http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/2005-June/000804.html

this is supposed to make the map only show certain selective
hostgroups on the statusmap. i tried the patch on statusmap.c , I am
using nagios 2.5. the patch failed. Im not very good at reading C
code, could someone help out here ? maybe fix the patch for the
current nagios version, also seems a good idea to include in future
nagios versions

Help appreciated

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
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] Several map views of Nagios

2007-01-24 Thread Chris Moody
The statusmap.cgi does not re-draw the map in regards to screen 
coordinates when hiding groups.  Your maps will remain cluttered even 
though you can filter what's even displayed.  This is a known limitation 
of the statusmap.cgi map.

I've had (very minor) success is setting the scale larger.
##
fittipaldi cgi # diff statusmap.c statusmap.c-ORIG
72,73c72,73
 #define DEFAULT_NODE_VSPACING   45
 #define DEFAULT_NODE_HSPACING   85
---
  #define DEFAULT_NODE_VSPACING   15
  #define DEFAULT_NODE_HSPACING   45
84c84
 #define CIRCULAR_DRAWING_RADIUS 200
---
  #define CIRCULAR_DRAWING_RADIUS 100
1745c1745
   /*else if(host_services_ratio=1.5)
---
else if(host_services_ratio=1.5)
1750c1750
 
outer_radius=DEFAULT_NODE_WIDTH*0.4;*/
---
  
outer_radius=DEFAULT_NODE_WIDTH*0.4;
1752,1754c1752
 
/*outer_radius=DEFAULT_NODE_WIDTH*0.2;*/
   /* MODIFIED BY CMOODY - 11.29.05 */
   outer_radius=DEFAULT_NODE_WIDTH;
---
  
outer_radius=DEFAULT_NODE_WIDTH*0.2;
2690c2688
   int parent_drawing_width=1;
---
int parent_drawing_width=0;
##

I have yet to find a perfect solution.  I'm in a situation where I have 
several thousand nodes to watch.

My interim solution has been to create multiple nagios instances with 
apache vhosts.  This way I can group systems logically and represent 
them in a cleaner fashion.  I have 0.1-rev code available via 
nagios-exchange to build the different vhosts. (I'm hoping to have a 
newer build available soon (with support for 2.x train of Nagios).)

Were my C skillz better, I'd try to take on a building a more adaptive 
drawing algo...

Cheers,
-Chris

naim abu darwish wrote:
 Well, i have similar problem,
 I have 530 hosts, so having all those on one map would be meaningless.
 I just need the routers and the wireless machines on there. If i chose
 what to exclude from the status map, it will still keep links pointing
 to hidden devices and thus the map will still be cluttered. I found a
 patch on  the Pkg-nagios-devel debian mailing list, a post dating back
 to Tue, 28 Jun 2005. so i guess that patch was made to work with maybe
 nagios-1.x ?? anyway, link to original post ::
 
 http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/2005-June/000804.html
 
 this is supposed to make the map only show certain selective
 hostgroups on the statusmap. i tried the patch on statusmap.c , I am
 using nagios 2.5. the patch failed. Im not very good at reading C
 code, could someone help out here ? maybe fix the patch for the
 current nagios version, also seems a good idea to include in future
 nagios versions
 
 Help appreciated
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 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
 
 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] Several map views of Nagios

2007-01-24 Thread naim abu darwish
using  something like  graphiz like  Sébastien Barbereau suggested, or
 nagviz  i could easily manage the locations of hosts on the map, its
a bit of a hassle since every time a host is added you have to move
around some 10 other hosts, but its better than nothing.

Algorithms that automatically draw maps and do proper spacing  would
be great, something like graphiz, but the more immediate problem is
getting only selected hostgroups to appear in the map, because even
when i hide certain hostgroups, lines still point to their hosts.

Really it should be a simple patch, just include some config below
default_statusmap_layout in cgi.cfg , say included_hostgroups=
routers,wireless... whatever.
But i dont know C,
any volunteers ? you get a big thankyou :D

On 1/25/07, Chris Moody [EMAIL PROTECTED] wrote:
 The statusmap.cgi does not re-draw the map in regards to screen
 coordinates when hiding groups.  Your maps will remain cluttered even
 though you can filter what's even displayed.  This is a known limitation
 of the statusmap.cgi map.

 I've had (very minor) success is setting the scale larger.
 ##
 fittipaldi cgi # diff statusmap.c statusmap.c-ORIG
 72,73c72,73
  #define DEFAULT_NODE_VSPACING   45
  #define DEFAULT_NODE_HSPACING   85
 ---
   #define DEFAULT_NODE_VSPACING   15
   #define DEFAULT_NODE_HSPACING   45
 84c84
  #define CIRCULAR_DRAWING_RADIUS 200
 ---
   #define CIRCULAR_DRAWING_RADIUS 100
 1745c1745
/*else if(host_services_ratio=1.5)
 ---
 else if(host_services_ratio=1.5)
 1750c1750
 
 outer_radius=DEFAULT_NODE_WIDTH*0.4;*/
 ---
  
 outer_radius=DEFAULT_NODE_WIDTH*0.4;
 1752,1754c1752
 
 /*outer_radius=DEFAULT_NODE_WIDTH*0.2;*/
/* MODIFIED BY CMOODY - 11.29.05 */
outer_radius=DEFAULT_NODE_WIDTH;
 ---
  
 outer_radius=DEFAULT_NODE_WIDTH*0.2;
 2690c2688
int parent_drawing_width=1;
 ---
 int parent_drawing_width=0;
 ##

 I have yet to find a perfect solution.  I'm in a situation where I have
 several thousand nodes to watch.

 My interim solution has been to create multiple nagios instances with
 apache vhosts.  This way I can group systems logically and represent
 them in a cleaner fashion.  I have 0.1-rev code available via
 nagios-exchange to build the different vhosts. (I'm hoping to have a
 newer build available soon (with support for 2.x train of Nagios).)

 Were my C skillz better, I'd try to take on a building a more adaptive
 drawing algo...

 Cheers,
 -Chris

 naim abu darwish wrote:
  Well, i have similar problem,
  I have 530 hosts, so having all those on one map would be meaningless.
  I just need the routers and the wireless machines on there. If i chose
  what to exclude from the status map, it will still keep links pointing
  to hidden devices and thus the map will still be cluttered. I found a
  patch on  the Pkg-nagios-devel debian mailing list, a post dating back
  to Tue, 28 Jun 2005. so i guess that patch was made to work with maybe
  nagios-1.x ?? anyway, link to original post ::
 
  http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/2005-June/000804.html
 
  this is supposed to make the map only show certain selective
  hostgroups on the statusmap. i tried the patch on statusmap.c , I am
  using nagios 2.5. the patch failed. Im not very good at reading C
  code, could someone help out here ? maybe fix the patch for the
  current nagios version, also seems a good idea to include in future
  nagios versions
 
  Help appreciated
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share your
  opinions on IT  business topics through brief surveys - and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  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
 
 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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 

Re: [Nagios-users] Several map views of Nagios

2007-01-23 Thread Herman (ISTD)
Dear Patrick,

Did you mean that we can groups several hosts as one hostgroup and then
we can select only to view the hosts in the hostgroup at the Map.
Previously I thought the hostgroup is used to define some correspond
parameters of several hosts, just know that it was for display purpose.

Thank you very much.

Best Regards,

Herman

 -Original Message-
 From: Morris, Patrick [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, January 23, 2007 1:33 PM
 To: Herman (ISTD); Nagios-Users (E-mail)
 Subject: RE: [Nagios-users] Several map views of Nagios
 
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf
  Of Herman (ISTD)
  Sent: Monday, January 22, 2007 9:13 PM
  To: Nagios-Users (E-mail)
  Subject: [Nagios-users] Several map views of Nagios
 
  Is it possible for Nagios to do several map views ?
 
 Sure. Take a look at the map page, and you'll see boxes to show or
hide
 all the hostgroups you've set up.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] Several map views of Nagios

2007-01-23 Thread Herman (ISTD)
Dear Morris,

I saw in the Map View, there is listbox to include/exclude drawing layer
of certain hostgroups. When I select to include hostgroups A, then
servers not in hostgroups A will disappear.
Unfortunately during the next automatic screen refresh, the listbox
selection was not pertained and the map view screen returned back all
map view. Any idea ?

Regards,

Herman

 -Original Message-
 From: Morris, Patrick [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, January 23, 2007 1:33 PM
 To: Herman (ISTD); Nagios-Users (E-mail)
 Subject: RE: [Nagios-users] Several map views of Nagios
 
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf
  Of Herman (ISTD)
  Sent: Monday, January 22, 2007 9:13 PM
  To: Nagios-Users (E-mail)
  Subject: [Nagios-users] Several map views of Nagios
 
  Is it possible for Nagios to do several map views ?
 
 Sure. Take a look at the map page, and you'll see boxes to show or
hide
 all the hostgroups you've set up.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] Several map views of Nagios

2007-01-22 Thread Herman (ISTD)
I learned several commercial software of NMS could defined several views
of Monitoring maps and customize it for certain need. I think it's a
good idea. 

Let say we have hundreds of server to monitor, and it would be very
crowded and quite invisible if we put all the servers in one monitoring
map.
So the idea is to classify the servers/network devices into several
categories such as routers, servers related with App A, servers with App
B. Then PIC for routers will only have to monitor the map with routers
devices, the same thing applies to PIC for application A only need to
monitor the map with App A servers.

Is it possible for Nagios to do several map views ?

Best Regards,

Herman

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] Several map views of Nagios

2007-01-22 Thread Morris, Patrick
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Herman (ISTD)
 Sent: Monday, January 22, 2007 9:13 PM
 To: Nagios-Users (E-mail)
 Subject: [Nagios-users] Several map views of Nagios
 
 Is it possible for Nagios to do several map views ?

Sure. Take a look at the map page, and you'll see boxes to show or hide
all the hostgroups you've set up.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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