From b3745c45d040837400af12335c73c4471a90d352 Mon Sep 17 00:00:00 2001 From: Ariel Antigua Date: Thu, 23 Aug 2018 11:25:23 -0400 Subject: [PATCH] initial commit --- includes/polling/os/atswatts.inc.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 includes/polling/os/atswatts.inc.php diff --git a/includes/polling/os/atswatts.inc.php b/includes/polling/os/atswatts.inc.php new file mode 100644 index 0000000..d5bb85b --- /dev/null +++ b/includes/polling/os/atswatts.inc.php @@ -0,0 +1,17 @@ +addDataset('requests', 'GAUGE', 0); + + $fields = array( + 'requests' => $requests, + ); + + $tags = compact('rrd_def'); + data_update($device, 'atswatts', $tags, $fields); + $graphs['atswatts'] = true; +}