mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
11 lines
291 B
PHP
11 lines
291 B
PHP
<?php
|
|
|
|
$updated = '1';
|
|
|
|
$service_id = add_service(mres($_POST['device']), mres($_POST['type']), mres($_POST['descr']), mres($_POST['ip']), mres($_POST['params']));
|
|
|
|
if ($service_id) {
|
|
$message .= $message_break.'Service added ('.$service_id.')!';
|
|
$message_break .= '<br />';
|
|
}
|