Files
librenms-librenms/html/includes/graphs/device/secureplatform_sessions.inc.php
ricardcc fc610195f7 device: Added CheckPoint SecurePlatform support (#8000)
* Added CheckPoint SecurePlatform support

* Changed some issues

* Changed some issues

* Update splat.yaml

* Changed os name to secureplatform intead of splat

* Changed os name to secureplatform

* Changed some issues
2018-01-05 22:06:07 +00:00

21 lines
694 B
PHP

<?php
/*
* NTTCOM MS module for printing CheckPoint SecurePlatform sessions
*/
require 'includes/graphs/common.inc.php';
$rrd_filename = rrd_name($device['hostname'], 'secureplatform_sessions');
$rrd_options .= " DEF:connections=$rrd_filename:NumConn:AVERAGE";
$rrd_options .= " DEF:connections_max=$rrd_filename:NumConn:MAX";
$rrd_options .= " DEF:connections_min=$rrd_filename:NumConn:MIN";
$rrd_options .= ' AREA:connections_min';
$rrd_options .= " LINE1.5:connections#cc0000:'".rrdtool_escape('Current connections')."'";
$rrd_options .= ' GPRINT:connections_min:MIN:%4.0lf';
$rrd_options .= ' GPRINT:connections:LAST:%4.0lf';
$rrd_options .= ' GPRINT:connections_max:MAX:%4.0lf\l';