2015-05-19 01:04:17 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
|
|
|
* LibreNMS
|
|
|
|
*
|
|
|
|
* Copyright (c) 2014 Neil Lathwood <https://github.com/laf/ http://www.lathwood.co.uk/fa>
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
* Free Software Foundation, either version 3 of the License, or (at your
|
|
|
|
* option) any later version. Please see LICENSE.txt at the top level of
|
|
|
|
* the source code distribution for details.
|
|
|
|
*/
|
|
|
|
|
2015-07-13 20:10:26 +02:00
|
|
|
echo 'States: ';
|
2015-05-19 01:04:17 +01:00
|
|
|
|
2015-07-13 20:10:26 +02:00
|
|
|
$include_dir = 'includes/discovery/states';
|
|
|
|
require 'includes/include-dir.inc.php';
|
2015-05-19 01:04:17 +01:00
|
|
|
|
2015-08-20 15:59:43 +02:00
|
|
|
d_echo($valid['sensor']['states']);
|
2015-05-19 01:04:17 +01:00
|
|
|
|
|
|
|
check_valid_sensors($device, 'states', $valid['sensor']);
|
|
|
|
|
|
|
|
echo "\n";
|