Commit Graph

42 Commits

Author SHA1 Message Date
Tony Murray
e80a385b7f RRDtool dual process (remote creation/check) (#4104)
* Prepare for dual rrdtool processes
Disabled at this time
Split out rrdtool version checks into rrdtool_create_command()
Tests for rrdtool_create_command()
Fixes a few small issues.

* Enable dual process and remote rrd check/creation

* remove full path for remote commands

* Doc updates
minor fix to rrdtool_tune()

* Set up bootstrap for phpunit
Fix issues with FileExistsException

* Attempt to fix phpunit

* Fix classloader and bootstrap to use full paths only (not depending on $config)

* Fix phpunit tests, config.php does not exist.
2016-08-22 16:32:05 +01:00
Aaron Daniels
5028039b48 - Added influxdb options to check-services.php
- Confirmed to coding standards
2016-08-11 17:08:44 +10:00
Aaron Daniels
854812a457 - added rrd_pipes to check script
- renamed service_* to *_service
2016-03-22 16:40:51 +10:00
Aaron Daniels
870d3aee56 - Moved poller module back to check-services.php
- added debug option -d
2016-03-21 16:48:26 +10:00
Aaron Daniels
0d6cfec589 Nagios Services
- Moved check-services.php to a poller module
    - Added performance data collection to the poller
    - Centralised DB functions to includes/services.inc.php
    - Created add/edit/delete functions off the device, services page
    - Removed legacy edit/delete interfaces.
    - Moved and modified check.inc scripts
    - Documentation Updates
    - Modified services table
2016-03-15 22:23:14 +10:00
Daniel Preussker
4a79348759 Update services SQL 2016-03-09 18:30:59 +01:00
Tony Murray
9f22b18dc8 Split is removed in PHP7, replace with explode as none were using it as a regex.
Also fix two array keys without quotes in include/syslog.php
Fixes #2205
2016-02-25 14:34:06 -06:00
laf
5516ac89ce Dynamic use of nagios-service checks 2015-10-26 21:53:15 +00:00
laf
987634e463 Updated rrdtool_update() to use new array format 2015-08-18 16:26:55 +00:00
laf
17dac9e755 Removed old alerting system code 2015-08-01 15:54:15 +00:00
Job Snijders
ebd0f6fc35 Apply "Squiz" code style on old (pre-2014) files 2015-07-11 16:12:35 +02:00
Tyler Christiansen
63d428c0e1 Revert "update copyright notice" after discussion with Paul
This reverts commit 774233327e.
2013-10-28 12:01:36 -07:00
Tyler Christiansen
774233327e update copyright notice 2013-10-28 01:46:59 -07:00
Adam Amstrong
dbf212f652 phpDocumentator headers. retire static-config. IF YOU ARE READING THIS, REMOVE IT FROM THE BOTTOM YOUR CONFIG.PHP. YES. YOU.
git-svn-id: http://www.observium.org/svn/observer/trunk@3150 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-09 10:01:42 +00:00
Tom Laermans
7e96d87022 improvements to services
git-svn-id: http://www.observium.org/svn/observer/trunk@3144 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-06 23:02:18 +00:00
Adam Amstrong
77d055f9d6 fix services stuff
git-svn-id: http://www.observium.org/svn/observer/trunk@3090 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-26 13:05:52 +00:00
Adam Amstrong
4045c970af improved emailing and additional configuration options to use phpmailer. (#38 from Mike Stupalov)
git-svn-id: http://www.observium.org/svn/observer/trunk@3089 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-26 12:11:03 +00:00
Tom Laermans
6b210ea056 change directory to observium root, now also for other commandline tools
git-svn-id: http://www.observium.org/svn/observer/trunk@2990 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-08 10:44:41 +00:00
Tom Laermans
e68cc3246e syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@2974 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-06 15:19:43 +00:00
Tom Laermans
d864ce234f kill a whole bunch of trailing spaces
git-svn-id: http://www.observium.org/svn/observer/trunk@2516 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 09:55:11 +00:00
Adam Amstrong
bc0cdd2415 move poller.php (inc os/system) to db* (and others, but poller is biggest change)
git-svn-id: http://www.observium.org/svn/observer/trunk@2298 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-13 11:42:26 +00:00
Tom Laermans
f55a30f744 some formatting cleanups, introduce some more FIXMEs to look at, plus replace mysql_fetch_array by mysql_fetch_assoc, for great justice
git-svn-id: http://www.observium.org/svn/observer/trunk@2029 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-06 13:54:50 +00:00
Tom Laermans
de7ff537cc revert r1957 patch
git-svn-id: http://www.observium.org/svn/observer/trunk@1960 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-23 09:54:56 +00:00
Geert Hauwaerts
6501cd29b5 - Code cleanup by Bastian Widmer.
git-svn-id: http://www.observium.org/svn/observer/trunk@1957 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-22 20:27:39 +00:00
Tom Laermans
c6428480bc remove dead map.php code, rename some .inc to .inc.php files, general trailing space cleanup part 1, some reindent. No expected functionality change whatsoever ;)
git-svn-id: http://www.observium.org/svn/observer/trunk@1824 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-12 08:50:47 +00:00
Adam Amstrong
cd76567edb ginger patch
git-svn-id: http://www.observium.org/svn/observer/trunk@1699 61d68cd4-352d-0410-923a-c4978735b2b8
2010-09-03 18:26:59 +00:00
Adam Amstrong
79db0b9823 add leading slash to path postpend
git-svn-id: http://www.observium.org/svn/observer/trunk@1684 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-14 13:32:36 +00:00
Adam Amstrong
1790641e4d fix services bugs (thanks to neitsabes71)
git-svn-id: http://www.observium.org/svn/observer/trunk@1682 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-13 18:48:10 +00:00
Adam Amstrong
6a673c1cce updated email sending to allow global disabling and sysContact override
git-svn-id: http://www.observium.org/svn/observer/trunk@1344 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-11 19:11:46 +00:00
Tom Laermans
d8d42a55b5 use installdir path in check-services - patch by Steven Bens
git-svn-id: http://www.observium.org/svn/observer/trunk@1314 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-08 07:56:17 +00:00
Adam Amstrong
64628bd1fb services fixes
git-svn-id: http://www.observium.org/svn/observer/trunk@1222 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-20 19:20:56 +00:00
Adam Amstrong
ef8ee99000 count services as being down in the RRD when the host is down (for filthy SLA calculations?)
git-svn-id: http://www.observium.org/svn/observer/trunk@1077 61d68cd4-352d-0410-923a-c4978735b2b8
2010-04-24 23:53:11 +00:00
Tom Laermans
fca6fafb60 include defaults.php before config.php, not FROM config.php
git-svn-id: http://www.observium.org/svn/observer/trunk@966 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-27 14:44:38 +00:00
Geert Hauwaerts
74235000be - Send email alerts on interface flaps when $config['warn']['ifdown'] is true.
- Added the setting timestamp_format:
    Description: The timestamp format to use in logs or emails.
    Default:     d-m-Y H:i:s
- Modified timestamp dates.


git-svn-id: http://www.observium.org/svn/observer/trunk@952 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-25 20:40:35 +00:00
Adam Amstrong
de075546b0 add service history RRD and graph
git-svn-id: http://www.observium.org/svn/observer/trunk@926 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-21 19:32:08 +00:00
Tom Laermans
7bea8d4941 code cleanups
git-svn-id: http://www.observium.org/svn/observer/trunk@753 61d68cd4-352d-0410-923a-c4978735b2b8
2010-01-31 17:30:16 +00:00
Adam Amstrong
7b46376616 fixes
git-svn-id: http://www.observium.org/svn/observer/trunk@140 61d68cd4-352d-0410-923a-c4978735b2b8
2008-03-12 16:21:13 +00:00
Adam Amstrong
ab77b6e2f1 Fixing lots of bugs and fixing billing
git-svn-id: http://www.observium.org/svn/observer/trunk@129 61d68cd4-352d-0410-923a-c4978735b2b8
2008-03-09 21:13:27 +00:00
Adam Amstrong
b8f38d6d24 fixed service checker and added vlan display to customer list
git-svn-id: http://www.observium.org/svn/observer/trunk@124 61d68cd4-352d-0410-923a-c4978735b2b8
2007-12-03 16:56:58 +00:00
Adam Amstrong
89b6a9bf1a git-svn-id: http://www.observium.org/svn/observer/trunk@118 61d68cd4-352d-0410-923a-c4978735b2b8 2007-11-23 11:37:28 +00:00
Adam Amstrong
614520b28c Fixing HTTP checker
git-svn-id: http://www.observium.org/svn/observer/trunk@90 61d68cd4-352d-0410-923a-c4978735b2b8
2007-04-11 19:24:47 +00:00
Super User
ff70062aa9 Initial Import
git-svn-id: http://www.observium.org/svn/observer/trunk@2 61d68cd4-352d-0410-923a-c4978735b2b8
2007-04-03 14:10:23 +00:00