Mike Rostermund
a1261a0aeb
Replace utime() for microtime(true)
2016-01-08 08:41:12 +01:00
Mike Rostermund
51d2e32c36
Print runtimes for each individual polling and discovery module.
2016-01-07 12:04:51 -08:00
Paul Gear
2244a5f31d
Fix issues flagged by scrutinizer
2016-01-02 07:10:43 +10:00
Paul Gear
953ea3fa15
Add device OID storage and display
2016-01-02 07:10:42 +10:00
Paul Gear
40a1cef050
Generalise arp discovery cache; move to common
2016-01-02 07:10:42 +10:00
Eldon Koyle
fb0501588e
Fix librenms auto-discovery
2015-11-18 14:48:54 -07:00
laf
76f862fddd
Updated to disable auto-discovery by ip
2015-10-20 16:12:03 +00:00
Mark Schouten
677a4f3f5f
Remove all unneeded if($debug)-statements and replace them with d_echo . discovery dir..
2015-08-21 16:10:01 +02:00
laf
4b49c148b6
Added mysqli support
2015-08-08 19:27:18 +00:00
laf
746c52046b
Updated discovery to log new type + updated eventlog page to show this
2015-08-05 20:05:45 +00:00
Mike Rostermund
5369112d48
Fix some scrutinizer coding style issues
2015-08-04 18:36:03 +02:00
laf
c2bcb69982
Fixes Debugging code issues from scrut
2015-07-15 21:32:18 +01:00
Job Snijders
d8693f05ae
Fix coding style part 2
2015-07-15 11:04:22 +02:00
laf
adb036759e
Updated autodiscovery to use log_event better
2015-07-13 11:52:38 +01:00
Paul Gear
05d315775f
Merge pull request #1414 from laf/issue-1197
...
Updated BGP discovery code to perform autodiscovery if enabled
2015-07-13 08:21:41 +10:00
laf
1bbe1b7ccf
Updated to log discovery info via discover_new_device()
2015-07-12 19:57:25 +01:00
laf
4e1713bbc5
Improved the discovery of IP based devices
2015-07-07 19:43:25 +01:00
Paul Gear
afa5ec2d54
Allow multiple comma-separated discovery modules to be specified
2015-06-13 09:43:55 +10:00
Paul Gear
ab66b453e4
Make OSPF & ARP autodiscovery independent of xDP autodiscovery
...
Both OSPF & ARP discovery use discover_new_device(), but it was checking
$config[autodiscovery][xdp] internally, meaning xDP had to be enabled for the other two to work.
2015-05-18 20:32:11 +10:00
Daniel Preussker
f19edab751
Merge pull request #971 from laf/issue-963
...
Added Temperature sensor support for NetApp
2015-05-14 13:34:48 +00:00
laf
a586eb21d0
Added a new db field to record when custom high/low limits are set and stop them being overwrote
2015-05-12 10:10:03 +01:00
laf
0d2148c8bc
Added Temperature sensor support for NetApp
2015-05-11 22:01:26 +01:00
f0o
34f1f11923
Set defaults for AddHost on xDP discovery
2015-05-08 17:47:25 +00:00
laf
8f5d6e8a94
Added code to rediscovery links and include device ids
2015-03-28 14:05:40 +00:00
laf
7f823b6d49
Adding more updates found by f0o
2015-03-01 12:23:31 +00:00
laf
ba5eb4e51a
Tidying up
2015-02-26 23:04:12 +00:00
laf
15cc00c27d
Tidying up
2015-02-26 23:04:10 +00:00
mchasteen
9d3b866202
This probably should have been commited earlier. Added some logic to remove NULL values from sensor DB inserts.
2015-02-26 23:04:02 +00:00
mchasteen
4781e6d05e
Fixed the discovered_last field update thing.
2015-02-26 23:03:45 +00:00
mchasteen
c2ab3e1d0d
Fixed the discover_links function so that it can not blow up with NULL values.
2015-02-26 23:03:43 +00:00
mchasteen
d47952f69e
Fixed mempools function.
2015-02-26 23:03:25 +00:00
mchasteen
469a06ae93
Fixed processor discovery. SQL correctly inserts and updates now. Also fixed usage field for cisco devices.
2015-02-26 23:03:23 +00:00
Neil Lathwood
cd43e11032
Fixed some scrut major issues
2015-02-22 19:28:09 +00:00
Tuomas Riihimäki
ec802efd3b
Do not add empty $config['mydomain'] when autodiscovering
...
When \$config['mydomain'] variable is empty, '.' is appended to
the device hostname. This patch adds a check to prevent that."
2015-01-23 18:49:19 +02:00
Paul Gear
d49a0b697d
Add some debug statements to assist with troubleshooting discovery failure
2014-07-17 15:43:46 +10:00
laf
3483952dd7
Fixed more backticks missing
2014-06-24 02:43:05 +01:00
laf
38918c9348
Fixes for dbInsert / dbUpdate queries
2014-06-10 22:21:10 +01:00
Paul Gear
ee3ba9ceff
Revert "Merge pull request #158 from laf/issue-156"
...
This reverts commit e6fa7d433d
, reversing
changes made to e2280aa603
.
This commit does not constitute agreement with the claim of copyright violation made by Adam Armstrong at
e6fa7d433d
2014-04-28 20:14:06 +10:00
Paul Gear
e6fa7d433d
Merge pull request #158 from laf/issue-156
...
Urgent: Updated external_exec to use proc_open
2014-04-28 09:24:54 +10:00
laf
becc1caca8
Fixed issues report by scrutinizer
2014-03-30 15:50:09 +01:00
laf
02792176fa
Updated most files to use dbFacile
2014-03-12 22:21:33 +00:00
laf
413ef2082f
Updated external_exec to use proc_open
2014-03-05 14:22:29 +00:00
Paul Gear
510c2b0fc4
Add ARP discovery patch (untested)
2013-10-28 15:55:57 +10:00
Adam Amstrong
b273e04241
/// -> //
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3240 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 12:24:34 +00:00
Adam Amstrong
cacf913a55
# -> / for phpdoc
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3239 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 11:29:53 +00:00
Tom Laermans
f2be2f33d2
add agent sensor capacity, hddtemp script in agent-local as demo, possibly needs a little more work
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3213 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-20 18:23:40 +00:00
Adam Amstrong
1d3c5bcf17
remove temporary debugging
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3201 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-17 11:41:38 +00:00
Adam Amstrong
d1450f90a1
extra debugging
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3200 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-17 11:31:17 +00:00
Adam Amstrong
4db1454e92
move from port_id to interface_id. make ports discovery only discover. add some cleaner functions. add a tiny bit of alerting infrastructure.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3195 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-16 13:25:50 +00:00
Tom Laermans
baa4f44c4e
make sure capacity oid actually ends up in database for already existing toner
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3140 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-06 20:07:03 +00:00