/// -> //

git-svn-id: http://www.observium.org/svn/observer/trunk@3240 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2012-05-25 12:24:34 +00:00
parent cacf913a55
commit b273e04241
247 changed files with 716 additions and 716 deletions
+12 -12
View File
@@ -3,30 +3,30 @@
///////////////////////////////////////////////////////////////////////////////////////
///
/// A small script to grab the MailScanner statistics from a MailScanner server
/// Needed commands: php, MailScanner, WatchMailLog, perl
// A small script to grab the MailScanner statistics from a MailScanner server
// Needed commands: php, MailScanner, WatchMailLog, perl
///
/// Install:
/// Add the WatchMailLog Daemon to the rc.local so its start on server boot
/// Run the WatchMailLog Daemon to start grabbing statistics from log files
/// Add the following to your snmpd.conf file:
/// extend mailwatch /opt/observium/scripts/mailwatch.php
// Install:
// Add the WatchMailLog Daemon to the rc.local so its start on server boot
// Run the WatchMailLog Daemon to start grabbing statistics from log files
// Add the following to your snmpd.conf file:
// extend mailwatch /opt/observium/scripts/mailwatch.php
///
/// Version 1.0 By:
/// All In One - Dennis de Houx <info@all-in-one.be>
// Version 1.0 By:
// All In One - Dennis de Houx <info@all-in-one.be>
///
///////////////////////////////////////////////////////////////////////////////////////
/// START SETTINGS ///
// START SETTINGS ///
$mailstats = "/opt/observium/scripts/watchmaillog/watchmaillog_counters";
/// END SETTINGS ///
// END SETTINGS ///
///
/// DO NOT EDIT BENETH THIS LINE
// DO NOT EDIT BENETH THIS LINE
///
///////////////////////////////////////////////////////////////////////////////////////
+10 -10
View File
@@ -3,31 +3,31 @@
///////////////////////////////////////////////////////////////////////////////////////
///
/// A small script to grab the NTP Client statistics from a NTPD server
/// Needed commands: php, ntpd, ntpq
// A small script to grab the NTP Client statistics from a NTPD server
// Needed commands: php, ntpd, ntpq
///
/// Install:
/// Add the following to your snmpd.conf file:
/// extend ntpclient /opt/observium/scripts/ntp-client.php
// Install:
// Add the following to your snmpd.conf file:
// extend ntpclient /opt/observium/scripts/ntp-client.php
///
/// Version 1.1 By:
/// All In One - Dennis de Houx <info@all-in-one.be>
// Version 1.1 By:
// All In One - Dennis de Houx <info@all-in-one.be>
///
///////////////////////////////////////////////////////////////////////////////////////
/// START SETTINGS ///
// START SETTINGS ///
$ntpq = "/usr/sbin/ntpq";
# Change this to true if you have clk_jitter, sys_jitter in the ntpq -c rv output
$newstats_style = false;
/// END SETTINGS ///
// END SETTINGS ///
///
/// DO NOT EDIT BENETH THIS LINE
// DO NOT EDIT BENETH THIS LINE
///
///////////////////////////////////////////////////////////////////////////////////////
+10 -10
View File
@@ -3,20 +3,20 @@
///////////////////////////////////////////////////////////////////////////////////////
///
/// A small script to grab the NTPD Server statistics from a NTPD server
/// Needed commands: php, ntpd, ntpq, ntpdc
// A small script to grab the NTPD Server statistics from a NTPD server
// Needed commands: php, ntpd, ntpq, ntpdc
///
/// Install:
/// Add the following to your snmpd.conf file:
/// extend ntpdserver /opt/observium/scripts/ntpd-server.php
// Install:
// Add the following to your snmpd.conf file:
// extend ntpdserver /opt/observium/scripts/ntpd-server.php
///
/// Version 1.1 By:
/// All In One - Dennis de Houx <info@all-in-one.be>
// Version 1.1 By:
// All In One - Dennis de Houx <info@all-in-one.be>
///
///////////////////////////////////////////////////////////////////////////////////////
/// START SETTINGS ///
// START SETTINGS ///
$ntpq = "/usr/sbin/ntpq";
$ntpdc = "/usr/sbin/ntpdc";
@@ -24,11 +24,11 @@
# Change this to true if you have clk_jitter, sys_jitter in the ntpq -c rv output
$newstats_style = false;
/// END SETTINGS ///
// END SETTINGS ///
///
/// DO NOT EDIT BENETH THIS LINE
// DO NOT EDIT BENETH THIS LINE
///
///////////////////////////////////////////////////////////////////////////////////////
+10 -10
View File
@@ -3,28 +3,28 @@
///////////////////////////////////////////////////////////////////////////////////////
///
/// A small script to grab the DNS statistics from a PowerDNS server
/// Needed commands: php, pdns_control
// A small script to grab the DNS statistics from a PowerDNS server
// Needed commands: php, pdns_control
///
/// Install:
/// Add the following to your snmpd.conf file:
/// extend powerdns /opt/observium/scripts/powerdns.php
// Install:
// Add the following to your snmpd.conf file:
// extend powerdns /opt/observium/scripts/powerdns.php
///
/// Version 1.0 By:
/// All In One - Dennis de Houx <info@all-in-one.be>
// Version 1.0 By:
// All In One - Dennis de Houx <info@all-in-one.be>
///
///////////////////////////////////////////////////////////////////////////////////////
/// START SETTINGS ///
// START SETTINGS ///
$pdnscontrol = "/usr/bin/pdns_control";
/// END SETTINGS ///
// END SETTINGS ///
///
/// DO NOT EDIT BENETH THIS LINE
// DO NOT EDIT BENETH THIS LINE
///
///////////////////////////////////////////////////////////////////////////////////////
+13 -13
View File
@@ -3,32 +3,32 @@
///////////////////////////////////////////////////////////////////////////////////////
///
/// A small script to grab the realtime statistics from a ShoutCast server
/// Needed commands: php
// A small script to grab the realtime statistics from a ShoutCast server
// Needed commands: php
///
/// Install:
/// Edit the shoutcast.conf file
/// Add a crontab (every 5 min) for:
/// /opt/observium/scripts/shoutcast.php makeCache
/// Add the following to your snmpd.conf file:
/// extend shoutcast /opt/observium/scripts/shoutcast.php
// Install:
// Edit the shoutcast.conf file
// Add a crontab (every 5 min) for:
// /opt/observium/scripts/shoutcast.php makeCache
// Add the following to your snmpd.conf file:
// extend shoutcast /opt/observium/scripts/shoutcast.php
///
/// Version 1.1 By:
/// All In One - Dennis de Houx <info@all-in-one.be>
// Version 1.1 By:
// All In One - Dennis de Houx <info@all-in-one.be>
///
///////////////////////////////////////////////////////////////////////////////////////
/// START SETTINGS ///
// START SETTINGS ///
$config = "/opt/observium/scripts/shoutcast.conf";
$cache = "/opt/observium/scripts/shoutcast.cache";
/// END SETTINGS ///
// END SETTINGS ///
///
/// DO NOT EDIT BENETH THIS LINE
// DO NOT EDIT BENETH THIS LINE
///
///////////////////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -15,7 +15,7 @@ if ($fd = @fopen($argv[1],'r'))
foreach (explode("\n", $data) as $line)
{
$update = mysql_query($line);
/// FIXME check query success?
// FIXME check query success?
echo("$line \n");
}
}