Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Sample demo to create a live snapshot report with graphs

Howto to embed a graph in html report.

  1. Select the graph
  2. click to zoom
  3. copy link from Query URL
  4. paste link into IMG tag

    Code Block
    <img src="http://sysnetmon.diglinks.com/perl/rrd2graph.cgi?action=image&hostname=core.diglinks.com&service=03_PING&display=Daily&graph_height=120&graph_width=440&el=0">
    
    

    and replace above query string params "action=zoom" to "action=image".

  5. The rest is up to you

Sample Daily Report

System details

Hostname

core.diglinks.com

IP Address

217.86.160.114

Operating System

OpenSuSE

Location

Germany

SLA

NONE

Nagios

Status

Notes

Info

This is a development and test system.

Services Monitored (Daily Report)

NET_PING

Iframe

Image Modified

PING

HTML
<div align="center">
<img src="http://sysnetmon.diglinks.com/perl/rrd2graph.cgi?action=image&hostname=core.diglinks.com&service=03_PING&display=Daily&graph_height=120&graph_width=440&el=0">
</div>

Netstat

Right Aligned

HTML
<div align="right">
<img src="http://sysnetmon.diglinks.com/perl/rrd2graph.cgi?action=image&hostname=localhost&service=01_netstat&display=Daily&graph_height=100&graph_width=400&el=0">
</div>

SVC_http

HTML
<img src="http://sysnetmon.diglinks.com/cgi-bin/rrd2graph.cgi?action=image&hostname=core.diglinks.com&service=SVC_http&display=Daily&graph_height=120&graph_width=500&el=0">

SYS_load

HTML
<img src="
http://sysnetmon.diglinks.com/perl/rrd2graph.cgi?action=image&hostname=localhost&service=02_collectd-load&hostalias=localhost&display=Daily&graph_height=120&graph_width=500&el=0">