Page 1 of 1

How to Print Hypermap

Posted: Fri May 15, 2015 3:15 pm
by cdipoce
Is there a way to export Hypermap so that I can print it on a large scale printer?

Re: How to Print Hypermap

Posted: Mon May 18, 2015 10:05 am
by ssax
You could install a PDF writer (CutePDF, pdfcreator, etc) and click the popout button
popout.png
and print it to PDF and print from there or directly to printer.

Re: How to Print Hypermap

Posted: Tue May 19, 2015 5:12 pm
by cdipoce
I would need to zoom out all the way out.

Is there another way?

Re: How to Print Hypermap

Posted: Wed May 20, 2015 11:45 am
by tmcdonald
Short of using a 60" TV as a monitor, setting the resolution really high, then zooming out to preserve the scale... I don't think we have anything at the moment.

We can certainly put this in as a feature request, but I can't say one way or the other whether this would be implemented, or if so, when.

Re: How to Print Hypermap

Posted: Thu May 28, 2015 4:41 pm
by ssax
This might get you close but it will be overwritten when you do an upgrade:

Make a backups of:

/usr/local/nagiosxi/html/includes/components/hypermap/dashlet.inc.php
/usr/local/nagiosxi/html/includes/components/hypermap/css/base.css

In dashlet.inc.php, remove this chunk of code (around line 129):

Code: Select all

<div id="hypermap-right-container">

<div id="hypermap-inner-details"></div>

<div id="hypermap-help">
<h3>' . gettext('About This Map') . '</h3>
<p>
' . gettext('The hypermap displays the current status of network devices (hosts).') . '
</p>
<p>
' . gettext('Click on a node to center it and obtain detailed status information.') . '
</p>
</div>

</div>
Then edit base.css and change all occurrences of 600px to 1024px or whatever size you want.

Then view it by clicking the popout button (3 horizontal blue lines) on the top right.

That should give you a start but it is by no means complete and you may have to play around with it.