mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-26 00:18:03 +02:00
# -> / for phpdoc
git-svn-id: http://www.observium.org/svn/observer/trunk@3239 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
+21
-21
@@ -1,34 +1,34 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
########################################################################################
|
||||
##
|
||||
## 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
|
||||
##
|
||||
## Version 1.0 By:
|
||||
## All In One - Dennis de Houx <info@all-in-one.be>
|
||||
##
|
||||
########################################################################################
|
||||
///////////////////////////////////////////////////////////////////////////////////////
|
||||
///
|
||||
/// 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
|
||||
///
|
||||
/// 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
|
||||
///
|
||||
///////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
function doSNMPv2($vars) {
|
||||
$stats = array();
|
||||
|
||||
Reference in New Issue
Block a user