nagios to mrtg

Harper Mann hmann at itgroundwork.com
Wed Oct 19 23:55:31 CEST 2005


Hi,

It's in nagios/share/side.html:

<tr>
    <td width=13><img src="images/greendot.gif" width="13" height="14"
name="notifications-dot"></td>
    <td nowrap><a href="/nagios/cgi-bin/notifications.cgi?contact=all"
target="main" onMouseOver="switchdot('notifications-dot',1)"
onMouseOut="switchdot('notifications-dot',0)"
class="NavBarItem">Notifications</a></td>
  </tr>
  <tr>
    <td width=13><img src="images/greendot.gif" width="13" height="14"
name="logfile-dot"></td>
    <td nowrap><a href="/nagios/cgi-bin/showlog.cgi" target="main"
onMouseOver="switchdot('logfile-dot',1)"
onMouseOut="switchdot('logfile-dot',0)" class="NavBarItem">Event
Log</a></td>
  </tr>

Copy between <tr> and </tr> and duplicate for your MRTG entry, something
like:

  <tr>
    <td width=13><img src="images/greendot.gif" width="13" height="14"
name="mrtg-dot"></td>
    <td nowrap><a href="/mrtg/myhost.html" target="main"
onMouseOver="switchdot(mrtg-dot',1)" onMouseOut="switchdot(mrtg-dot',0)"
class="NavBarItem">MRTG</a></td>
  </tr>

Good luck!

Regards,

- Harper

Harper Mann
Groundwork
510-599-2075 (cell)

> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Jun Li
> Sent: Wednesday, October 19, 2005 2:51 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] nagios to mrtg
> 
> Hi,
> 
> Anyone can let me know how to put some link in the main frame not the side
> bar,for example in service detail main frame in my nagios web site to link
> to ../www/html/mrtg/myhost.html, so, for example, people can see the
> charts
> as well as can check mrtg log.
> 
> Thanks in advance,
> JUn
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list