#!/bin/sh #------------------------------------------------------------------------------ # status_system.cgi - Display Status Hosts-Ping (rrdtool graph) # # Creation: 20109.08.08 Lanspezi # Last Update: $Id$ # #------------------------------------------------------------------------------ # get main helper functions # set_debug=yes . /srv/www/include/cgi-helper SEC_ACTION='view' headtitle="Host-Ping-Status" # Security check_rights "status" "$SEC_ACTION" show_html_header "$headtitle" "${ref}" if [ -e /srv/www/include/rrd-status_ping.inc ] then . /srv/www/include/rrd-common.inc . /srv/www/include/rrd-status_ping.inc : ${FORM_rrd_graphtime_rrdping:=$rrd_default_graphtime} _rrdping="rrdping" : ${FORM_action:=$_rrdping} show_tab_header $_rrdping $myname?action=rrdping rrd_open_tab_list $FORM_action rrd_render_graph $FORM_action rrd_close_tab_list show_tab_footer fi show_html_footer