mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
- Moved check-services.php to a poller module
- Added performance data collection to the poller
- Centralised DB functions to includes/services.inc.php
- Created add/edit/delete functions off the device, services page
- Removed legacy edit/delete interfaces.
- Moved and modified check.inc scripts
- Documentation Updates
- Modified services table
6 lines
230 B
PHP
6 lines
230 B
PHP
<?php
|
|
|
|
// provide some sane default
|
|
if ($service['service_param']) { $dbname = $service['service_param']; } else { $dbname = "mysql"; }
|
|
$check_cmd = $config['nagios_plugins'] . "/check_mysql -H ".$service['hostname']." ".$dbname;
|