Network Status Map
Network Status Map
Hi
In NagioXI in Maps have Network Status Map. But the image of the map not informative. Pile of circles of different radius - that's how it looks (add an image file).
Please, tell me, how to dissolve all of the devices in the right place for me on the map manually and provide them with native icons: for Cisco - cisco icons, for HP servers - hp servers icons, for Switches - their icons... In this configuration, Network Status Map would be a beautiful, clear and informative.
Thanks
Best Regards
Valery
In NagioXI in Maps have Network Status Map. But the image of the map not informative. Pile of circles of different radius - that's how it looks (add an image file).
Please, tell me, how to dissolve all of the devices in the right place for me on the map manually and provide them with native icons: for Cisco - cisco icons, for HP servers - hp servers icons, for Switches - their icons... In this configuration, Network Status Map would be a beautiful, clear and informative.
Thanks
Best Regards
Valery
You do not have the required permissions to view the files attached to this post.
Re: Network Status Map
You can define the parent relationships, that will help but there is no way to customize the host status map, you're better off using NagVis to achieve that style of functionality.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Network Status Map
In you Host objects you can define 2D co-ordinates.
However this appears to have no affect in XI.
But in core, you can view a User-supplied coords map which ONLY shows objects with defined co-ordinates.
However this appears to have no affect in XI.
But in core, you can view a User-supplied coords map which ONLY shows objects with defined co-ordinates.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Network Status Map
Hi
Thank you for reply.
I watched this field "2D coords". But I did not understand what values to write in this field. If you take the map screen "Map" (Core) - how to orient it along the coordinate axes X and Y?
Thank you for reply.
I watched this field "2D coords". But I did not understand what values to write in this field. If you take the map screen "Map" (Core) - how to orient it along the coordinate axes X and Y?
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Network Status Map
In the host object definition you're looking for the statusmap_image (must be a png) directive and 2d_coords directive:
http://nagios.sourceforge.net/docs/3_0/ ... tions.html
As Box293 indicated though, I don't think that the 2d_coords directive is well behaved in XI, namely there is no way to select the "user supplied coords" view - it does work properly when using the statusmap in core however.
NagVis is currently your best option. There are some changes coming into core, currently available in the unstable source that gives you some much better graph layout functionality. It hasn't yet been merged into the stable code yet however and it is unsure if and when it will be implemented in XI.
http://nagios.sourceforge.net/docs/3_0/ ... tions.html
As Box293 indicated though, I don't think that the 2d_coords directive is well behaved in XI, namely there is no way to select the "user supplied coords" view - it does work properly when using the statusmap in core however.
NagVis is currently your best option. There are some changes coming into core, currently available in the unstable source that gives you some much better graph layout functionality. It hasn't yet been merged into the stable code yet however and it is unsure if and when it will be implemented in XI.
Re: Network Status Map
Thanks for the help guys
I realized that this thing 2d_coords, empirically, that's not what we need. In the end, the result is - will translate network map on NagVis. He, too, is not easy, but nothing to do, it is necessary to study the subject for use in practice.
I realized that this thing 2d_coords, empirically, that's not what we need. In the end, the result is - will translate network map on NagVis. He, too, is not easy, but nothing to do, it is necessary to study the subject for use in practice.
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Network Status Map
Yeah, sorry we don't have a better answer for you. I have seen the new code that's coming for maps in practice and it looks much nicer than the old code. It is certain that we haven't abandoned the mapping part of the product.
Can we lock this thread?
Can we lock this thread?
Re: Network Status Map
Hi,
I'm running into this problem too. I tried the 2d_coords, but that didn't help in XI. I've been asked that since it is not very usable, if I can remove it from the XI left side menu. Is there a quick fix to comment out some PHP code to remove the link?
Thanks.
I'm running into this problem too. I tried the 2d_coords, but that didn't help in XI. I've been asked that since it is not very usable, if I can remove it from the XI left side menu. Is there a quick fix to comment out some PHP code to remove the link?
Thanks.
Re: Network Status Map
toodaly, are you running 2014R2.7?
*** Note: This will get reverted if you upgrade and will need to be reimplemented.
*** Make sure that you have known-good backups/vm snapshots before making any modifications
If so, edit this file:
Change this code (around line 1849) from:
To:
That will remove the link for you.
*** Note: This will get reverted if you upgrade and will need to be reimplemented.
*** Make sure that you have known-good backups/vm snapshots before making any modifications
If so, edit this file:
Code: Select all
/usr/local/nagiosxi/html/includes/utils-menu.inc.phpCode: Select all
// Maps
add_menu_item(MENU_HOME, array(
"type" => "menusection",
"title" => gettext("Maps"),
"id" => "menu-home-section-maps",
"order" => 400,
"opts" => array(
"id" => "maps",
"expanded" => true,
//"url" => $nagioscoreui_path."statusmap.php"
"url" => get_statusmap_link()
)
));
add_menu_item(MENU_HOME, array(
"type" => "link",
"title" => gettext("Network Status Map"),
"id" => "menu-home-networkstatusmap",
"order" => 401,
"opts" => array(
//"href" => $nagioscoreui_path."statusmap.php"
"href" => get_statusmap_link()
)
));Code: Select all
// Maps
add_menu_item(MENU_HOME, array(
"type" => "menusection",
"title" => gettext("Maps"),
"id" => "menu-home-section-maps",
"order" => 400,
"opts" => array(
"id" => "maps",
"expanded" => true,
//"url" => $nagioscoreui_path."statusmap.php"
"url" => get_base_url() . 'includes/components/hypermap/'
)
));
add_menu_item(MENU_HOME, array(
"type" => "link",
"title" => '',
"id" => "menu-home-networkstatusmap",
"order" => 401,
"opts" => array(
//"href" => $nagioscoreui_path."statusmap.php"
//"href" => get_statusmap_link()
)
));Re: Network Status Map
That worked great. Exactly what I needed. Thanks!!!