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:
Adam Amstrong
2010-07-17 12:58:09 +00:00
parent e9ebab6c81
commit e0944c233e
18 changed files with 63 additions and 51 deletions

View File

@@ -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
?>