librenms-librenms/html/includes/graphs/device/netstat_snmp_pkt.inc.php

20 lines
397 B
PHP
Raw Normal View History

<?php
$rrd_filename = rrd_name($device['hostname'], 'netstats-snmp');
$ds_in = 'snmpInPkts';
$ds_out = 'snmpOutPkts';
$colour_area_in = 'AA66AA';
$colour_line_in = '330033';
$colour_area_out = 'FFDD88';
$colour_line_out = 'FF6600';
$colour_area_in_max = 'cc88cc';
$colour_area_out_max = 'FFefaa';
$graph_max = 1;
$unit_text = 'Packets';
require 'includes/graphs/generic_duplex.inc.php';