mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
THIS. IS. OBSERVIUM. also some indexes on sql tables.
git-svn-id: http://www.observium.org/svn/observer/trunk@1373 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
#!/usr/bin/php
|
||||
<?php
|
||||
|
||||
### ObserverNMS Device Poller
|
||||
### Observium Device Poller
|
||||
|
||||
include("includes/defaults.inc.php");
|
||||
include("config.php");
|
||||
include("includes/functions.php");
|
||||
|
||||
$poller_start = utime();
|
||||
echo("ObserverNMS Poller v".$config['version']."\n\n");
|
||||
echo("Observium Poller v".$config['version']."\n\n");
|
||||
|
||||
$options = getopt("h:t:i:n:d::a::");
|
||||
|
||||
@@ -261,7 +261,7 @@ $poller_end = utime(); $poller_run = $poller_end - $poller_start; $poller_time =
|
||||
|
||||
$string = $argv[0] . " $doing " . date("F j, Y, G:i") . " - $polled_devices devices polled in $poller_time secs";
|
||||
if ($debug) echo("$string\n");
|
||||
shell_exec("echo '".$string."' >> ".$config['install_dir']."/observernms.log"); # FIXME EWW
|
||||
shell_exec("echo '".$string."' >> ".$config['install_dir']."/observium.log"); # FIXME EWW
|
||||
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user