Commit Graph

2255 Commits

Author SHA1 Message Date
Paul Gear
a2baae3ccf Move convenience functions into common; d_echo no longer adds "\n" automatically 2015-06-16 08:27:57 +10:00
Paul Gear
e884bfa860 Include to read graphs from the graph_types table 2015-06-16 08:27:57 +10:00
Paul Gear
942e5047e5 Graph sections must be lower case 2015-06-16 08:27:57 +10:00
Paul Gear
70c415124d Remove graph_types note 2015-06-16 08:27:57 +10:00
Paul Gear
0cc75d7d1d Separate convenience function for RRD filename generation; tidy formatting 2015-06-16 08:27:57 +10:00
Paul Gear
96bee67394 Do not attempt to create file if there are no DS definitions 2015-06-16 08:27:56 +10:00
Paul Gear
db2f57f2bc Poll sysObjectID by default 2015-06-16 08:27:56 +10:00
Paul Gear
982faeb869 Implement more efficient is_dev_attrib_enabled() 2015-06-16 08:27:56 +10:00
Paul Gear
e02ed25dee temporary testing graph 2015-06-16 08:27:56 +10:00
Paul Gear
984ec0d060 Save MIB graphs in database, tag devices for graphing 2015-06-16 08:27:56 +10:00
Paul Gear
e77d4d3063 Reverse the logic to make it clearer what is happening 2015-06-16 08:27:56 +10:00
Paul Gear
1ddaa5c288 Minor fixup to MIB polling 2015-06-16 08:27:56 +10:00
Paul Gear
4af7dd8225 First cut at working poller for MIBs 2015-06-16 08:27:56 +10:00
Paul Gear
8f5bc4cdb6 Minor tidies 2015-06-16 08:27:56 +10:00
Paul Gear
f27de0b8ff Remove duplicate code 2015-06-16 08:27:55 +10:00
Paul Gear
6874d32904 Save results of polling sysObjectID to the database 2015-06-16 08:13:08 +10:00
Paul Gear
5bdf67ba6e Move MIB-based polling out of discovery altogether 2015-06-16 08:13:08 +10:00
Paul Gear
ddb6684108 Move MIB-based polling out of discovery altogether 2015-06-16 08:13:08 +10:00
Paul Gear
d969ef679b First cut at MIB-based discovery; not efficient 2015-06-16 08:13:08 +10:00
Paul Gear
874dc5ede5 Start at generic MIB parsing 2015-06-16 08:12:28 +10:00
Daniel Preussker
29af5f463e Merge pull request #1283 from laf/issue-467
Added basic detection for EqualLogic units
2015-06-15 16:19:42 +00:00
laf
71189b9ca1 Added basic detection for EqualLogic units 2015-06-15 16:08:35 +01:00
einhirn
46b0084741 Added support for CPU graphing of Alcatel-Lucent AOS 7 devices. Removed unused line from code. 2015-06-15 16:48:59 +02:00
laf
439b1e5d6d Updated if check with f0os code 2015-06-15 12:41:49 +01:00
laf
3179b4cf20 fixed junos bgp4 polling :( 2015-06-15 12:02:06 +01:00
Neil Lathwood
f192f4bde1 Merge pull request #1269 from Calvario/issue-1199
Added UPS load support to Synology
2015-06-15 11:22:03 +01:00
Calvario
39cc9b11a8 Added UPS load support to Synology 2015-06-15 08:41:14 +02:00
Mike Rostermund
f0337e989c Minor change to visual name of load sensor 2015-06-14 15:53:03 +02:00
Neil Lathwood
a112a1bc01 Merge pull request #1268 from rztuc/issue-1262
Issue 1262
2015-06-13 22:15:56 +01:00
einhirn
5c45400842 Added power metric discovery for rfc1628 UPS (fixes #1257) 2015-06-13 17:24:48 +02:00
einhirn
de123ad91a Add 'Seconds on Battery' and 'Estimated Minutes Remaining' as states 2015-06-13 17:20:36 +02:00
einhirn
f95f180a34 Add Estimated Battery Charge remaining 2015-06-13 17:20:21 +02:00
Paul Gear
6bfad7579c Add a couple of convenience functions to help make code tidier 2015-06-13 23:03:02 +10:00
Daniel Preussker
f7b8936473 Merge pull request #1266 from paulgear/mibdir-reduce-duplication
Reduce duplication of mibdir code
2015-06-13 14:27:57 +02:00
Neil Lathwood
3575da30d2 Merge pull request #1256 from rztuc/issue-1254
fixes #1254
2015-06-13 12:08:05 +01:00
Neil Lathwood
61c4526c5e Merge pull request #1267 from paulgear/ruckus-detection
Improve Ruckus detection
2015-06-13 11:43:54 +01:00
Daniel Preussker
3b225d28c7 Merge pull request #1263 from paulgear/multiple-discovery-modules
Allow multiple comma-separated discovery modules to be specified
2015-06-13 11:21:32 +02:00
Calvario
fbe2f94b5a Added UPS load support to Synology 2015-06-13 10:11:47 +02:00
Paul Gear
f236272acc Merge pull request #1184 from laf/issue-936
Updated BGP polling for Cisco to support CISCO-BGP4-MIB better
2015-06-13 10:20:58 +10:00
Paul Gear
b84b8de09f Merge pull request #1110 from laf/issue-279
Updated mysql DATE_FORMAT() and php date() to use $config variables
2015-06-13 10:15:23 +10:00
Paul Gear
0e3b0df29f Merge pull request #1248 from laf/issue-594-ip
Added function to check if ip already exists and updated addHost to use it
2015-06-13 10:09:06 +10:00
Paul Gear
53e61702f0 Ruckus: Add country to end of version 2015-06-13 10:01:01 +10:00
Paul Gear
ff63913adc Reorganise Ruckus detection to allow for standalone APs 2015-06-13 10:01:01 +10:00
Paul Gear
217202f18a Reduce duplication of mibdir code 2015-06-13 09:51:22 +10:00
Paul Gear
afa5ec2d54 Allow multiple comma-separated discovery modules to be specified 2015-06-13 09:43:55 +10:00
einhirn
ed05677f96 apply correct divider to rfc1628 current (Amps) values 2015-06-12 18:11:22 +02:00
laf
e478a495f9 Changed to return during function processing 2015-06-12 16:24:02 +01:00
einhirn
aa2edbaef2 Added discovery support for Alcatel-Lucent OmniSwitch 6900 2015-06-12 10:22:28 +02:00
Paul Gear
f06622c71f Merge pull request #1249 from SaaldjorMike/match-ecos
Add detection of additions HP ProCurve units
2015-06-12 09:26:50 +10:00
Neil Lathwood
ba9fccbda1 Merge pull request #1247 from SaaldjorMike/add-load-tab
Add load tab to device->health page
2015-06-11 23:56:02 +01:00
Mike Rostermund
7c576e0eb7 Add detection of additions HP ProCurve units 2015-06-11 22:11:27 +02:00
laf
15cd6d5662 Added fallback to false if it is not an IP 2015-06-11 19:42:54 +01:00
laf
fadc790040 Added function to check if ip already exists and updated addHost to use it 2015-06-11 19:34:11 +01:00
Mike Rostermund
fe8453b404 Fix use of check_valid_sensors for load sensors 2015-06-11 20:29:14 +02:00
Calvario
ced0804ba5 New line correction 2015-06-11 15:53:46 +02:00
Calvario
1e6755c4d5 UPS Support for Synology
Ready but need "load" sensors.
2015-06-11 15:20:09 +02:00
Calvario
7e2755dca3 System Status Support for Synology
It work with but need to change the management of status because it
isn't interessant actualy.
It will be good to chose a message for the display. Exemple "Ok",
"Failed", "On battery" etc..
2015-06-10 19:49:48 +02:00
Calvario
0150982fe9 Temperature Support for Synology
The poller return now the correct value for the System temperature.

Check in my Synology.
2015-06-10 18:02:32 +02:00
Paul Gear
ee1242380e Merge pull request #1227 from laf/issue-1213
Updated hpilo temp discovery to test for current value
2015-06-10 18:52:13 +10:00
laf
cc40aaeca6 Mainly for a scrut run 2015-06-09 23:39:05 +01:00
laf
c78a22d8a6 Updated hpilo temp discovery to test for current value 2015-06-09 22:28:12 +01:00
laf
4ee0b6f1f4 Alter Windows CPU descr when unknown 2015-06-09 20:07:32 +01:00
laf
a8c7499021 Mistake - sorted 2015-06-09 15:19:06 +01:00
f0o
2759008de6
Move mergecnf to own file. 2015-06-09 14:06:03 +00:00
laf
57b1ce7f33 Fix scrut bug 2015-06-09 15:04:07 +01:00
laf
851b7eb46f Fixed merge conflict 2015-06-09 14:36:45 +01:00
laf
f2cf1ca850 Updated snmp response from array to string 2015-06-09 14:30:28 +01:00
laf
3c77c920c5 Updated bgpPeers_cbgp 2015-06-09 14:30:25 +01:00
laf
01a71320e2 Updated bgp polling 2015-06-09 14:30:22 +01:00
laf
77b9adabc2 More updates to bgp polling/disco and webui 2015-06-09 14:30:19 +01:00
vitalisator
a059ed1809 Added Basic OS Support for Multimatic USV 2015-06-08 21:46:36 +02:00
vitalisator
267f07e1b2 Added Basic Support für Enterasys Devices 2015-06-08 14:27:33 +02:00
f0o
2467b11290 Merge branch 'issue-laf-110-new' of git://github.com/laf/librenms into laf-issue-laf-110-new
Conflicts:
	html/pages/health/mempool.inc.php
	includes/defaults.inc.php
2015-06-07 10:44:39 +00:00
Paul Gear
49833273e7 Make comment reflect code 2015-06-06 07:50:23 +10:00
Paul Gear
c149b0f47c Remove unused os type 2015-06-06 07:47:14 +10:00
laf
702b75c0b7 Updates 2015-06-03 15:41:10 +01:00
James Campbell
d99eca8137 Merge remote-tracking branch 'upstream/master' 2015-06-03 21:55:20 +10:00
James Campbell
676812b87e Updated indentation and moved some code 2015-06-03 21:32:57 +10:00
James Campbell
d191f34601 Improved Pushover transport code 2015-06-03 21:03:27 +10:00
laf
ffce63968f Fixed negative values for storage: http://munin-monitoring.org/ticket/1371 2015-06-02 17:36:10 +01:00
laf
1ca02fb3c5 Fix scrut issue 2015-06-02 17:07:47 +01:00
laf
b9dabae7d8 Updated BGP polling for Cisco to support CISCO-BGP4-MIB better 2015-06-02 16:32:39 +01:00
Daniel Preussker
9ea274e9a4 Merge pull request #1180 from neokjames/master
Added transport for Pushover alerting
2015-06-02 06:43:45 +00:00
James Campbell
cabcc04877 Created Pushover transport, requires testing
Moved print_r references to top for debug

Modified Pushover transport, testing required

Pushover transport, fixed syntax issue

Pushover transport, fixed another syntax issue

Pushover transport, added debug

Pushover transport, updated message code

Pushover transport, debug

Pushover transport, testing new code

Pushover transport, adding more parameters

and adding debug parameters

Pushover transport, added severity level support

Pushover transport, modified severity level code

Pushover transport, updated severity code

Pushover transport, debugging severity level

Pushover transport, more debugging

Pushover transport, debugging sound

Pushover transport, fixed sound syntax issue

Pushover transport, debugging sound API

Pushover transport, adjusted sound code

Updated contributors file to add myself

Updated Alerting doc to include Pushover

Pushover transport, modified code

Pushover transport, fixed syntax error

Pushover transport, removed debug code

Ready for deployment

Pushover transport, updated copyright
2015-06-02 10:48:12 +10:00
Neil Lathwood
2781a22de5 Merge pull request #1052 from f0o/obsolete-old-alerting
Disable Legacy-Alerting by default
2015-06-01 15:18:07 +01:00
Alan Gregory
3ee9d4f0f7 Changed temperature discovery per device model 2015-05-30 10:24:30 -03:00
Alan Gregory
343dbcc134 Default OID types should use default processor pooling 2015-05-30 10:07:34 -03:00
Alan Gregory
a5efb98a4e Changed discovery to Device based, diferent Oids for soem devices 2015-05-30 10:06:47 -03:00
Neil Lathwood
e878bf15e0 Merge pull request #1145 from vitalisator/issue-1140
Added PBN OS Logo
2015-05-29 11:10:44 +01:00
vitalisator
bc39cf2058 Added polling for serial and OS version 2015-05-29 11:01:55 +02:00
laf
7e6b51f75c Added f0os license 2015-05-28 17:18:05 +01:00
laf
6fab7cf718 Some last changes 2015-05-28 17:07:14 +01:00
laf
5b57e75b2e Final work getting alerts dynconfig done 2015-05-28 17:00:26 +01:00
Mike Rostermund
01f9387415 Added support for additional Netbotz models 2015-05-28 17:43:15 +02:00
vitalisator
20165f0382 Added PBN definition and pbn OS 2015-05-28 12:55:59 +02:00
Mike Rostermund
a41f0922a2 Added a few missing characters 2015-05-27 09:35:52 +02:00
Neil Lathwood
1b3ea81bdb Merge pull request #1134 from alangregory/fiberhome-sensors
Fiberhome - Cpu and Mempools support
2015-05-26 16:32:14 +01:00
Paul Gear
7b1ecf7424 Correct product MIB snmpget 2015-05-27 00:15:34 +10:00
Paul Gear
6ed4112b17 Add further Ruckus model/version/serial support 2015-05-27 00:15:34 +10:00
Paul Gear
bcee314aa8 Generalise ruckuswireless support 2015-05-27 00:15:34 +10:00