Commit Graph

1423 Commits

Author SHA1 Message Date
Tony Murray
6fbd8b3f05 fix: port ifLastChange polling (#4541)
* fix: port ifLastChange polling

* Small changes, default to 0

* Don't update 0->0
2016-09-22 11:39:15 -05:00
Tony Murray
299f4d91d3 feature: Add last changed, connected, and mtu to all ports data
Thanks to sysvival on reddit for the idea and help with the calculations
2016-09-21 13:19:52 -05:00
boudreau
eaa36771d2 Update sensors.inc.php 2016-09-19 11:10:37 -04:00
boudreau
8dbc9b4809 Update functions.inc.php 2016-09-19 11:09:29 -04:00
Neil Lathwood
b370ebb0ad newdevice: Added support for Cisco Callmanager
newdevice: Added support for Cisco Callmanager
2016-09-18 19:57:25 +01:00
crcro
2c5bd406ae only edgeswitch 2016-09-17 18:06:38 +03:00
crcro
a5f397ed68 fix for ubnt bad edgeswitch/edgeos uptime #4470 2016-09-17 03:49:39 +03:00
Rosiak
256c1087df smal change 2016-09-16 23:02:55 +02:00
Rosiak
a5e9988112 newdevice: Added support for Cisco Callmanager 2016-09-16 21:48:08 +02:00
crcro
7da4cca4e4 feature: new app: ups-nut (#4386)
* app: ups-nut

* newline ...

* removed code from another pr

* added battery charge status

* added battery charge status

* be happy travis...

* added UPS-nut to Applications
2016-09-12 21:59:33 -05:00
Neil Lathwood
a710c4a33c newdevice: Added support for Axis network video encoder #4395 (#4400)
* newdevice: Added support for Axis network video encoder #4395

* Merge the preg_match

* Add Network Camera test

Couldn't find one for "Video Server"
2016-09-12 12:19:24 -05:00
crcro
de707a259f refactor: ntp apps (#4333)
* updated nicecase function for ntp server and client app

* ntp applications refactoring

* removed agent for ntp-server: reported as not working

* removed ntpd from agent polling. thx @murrant
2016-09-10 07:37:00 -05:00
Neil Lathwood
7dec670494 refactor: Updated a lot of references to LibreNMS - copyright still left intact (#4339) 2016-09-08 08:12:23 -05:00
Aaron Daniels
948d4f67a1 feature: extended graphing for sla - icmp-jitter #4341
* - Added more graphs for rtt_type: icmpjitter

* - use $fields as that is the standard throughout the code.
2016-09-06 17:19:10 +01:00
Aaron Daniels
705a73bda2 webui: Added Pagination and server side search via Ajax to NTP (#4330)
webui: Added Pagination and server side search via Ajax to NTP (#4330)
2016-09-04 16:32:03 +01:00
crcro
20a452912f newdevice: hp online admin cpu and mem #4327
newdevice: hp online admin cpu and mem #4327
2016-09-04 16:30:09 +01:00
Søren Rosiak
7a3a785edb newdevice: Added support for Foundry Networks #4311
newdevice: Added support for Foundry Networks #4311
2016-09-04 16:28:06 +01:00
crcro
1110de3ab3 fix: toner nrg os capacity (#4177)
fix: ricoh/nrg toner levels #4177
2016-09-04 16:20:41 +01:00
Søren Rosiak
b81e67c656 fix: Cisco remote access stats bugfix #4293 (#4309) 2016-09-02 13:12:01 -05:00
Søren Rosiak
657ee386e0 newdevice: Added support for PLANET Networking & Communication switches (#4308) 2016-09-02 13:02:01 -05:00
Neil Lathwood
0d2c443ee9 fix: Added ability to force devices to use ifEntry instead of ifXEntry (#4100) 2016-09-02 12:53:35 -05:00
Søren Rosiak
f278a9281c newdevice: Added support for Nimble OS #4159 (#4298)
* newdevice: Added support for Nimble OS #4159

* Use Tony’s awesome stuff

* move image
2016-09-01 06:22:01 -05:00
Neil Lathwood
16a47ac5e9 fix: Use isset for checking poller option (#4291) 2016-08-31 09:23:35 -05:00
Søren Rosiak
583411046f newdevice: Added support for Fujitsu Primergy switches #4277 (#4280)
* newdevice: Added support for Fujitsu Primergy switches #4277
2016-08-30 17:31:58 +01:00
Søren Rosiak
a6b7f9c4b2 newdevice: Added support for Cisco IMC/UCS #4252 (#4276)
* newdevice: Added support for Cisco IMC/UCS #4252

* change name to cimc

* make travis happy && php 5.3
2016-08-30 14:30:52 +01:00
crcro
bc816ee461 discovery: ubnt edgeswitch os update (#4249)
newdevice: Improved support for UBNT EdgeSwitch OS #4249
2016-08-29 21:24:22 +01:00
ospfbgp
d62f2f9d08 Update support for avaya-vsp and fix problem in functions.php for avaya-vsp (#4237)
newdevice: Improved support for Avaya VSP #4237
2016-08-29 20:00:05 +01:00
Tony Murray
9284bc60ff Update code in includes to be PSR-2 compliant (#4220)
refactor: Update code in /includes to be psr2 compliant #4220
2016-08-28 18:32:58 +01:00
Tatermen
19f231d408 Freeswitch support (#4203)
* Added support for freeswitch via unix_agent

* Fixed display of graphs on apps overview

* Removed tab indents

* Fixed not sending port_descr_type (#4188)

* Removed / Updated version info to just be LibreNMS (#4193)

* Remove requirement for ['enable_printers'] (#4192)

* ricoh devices returning garbage as toner level (#4180)

* ricoh devices returning garbage as toner level

* ricoh toner extra check

* more ricoh rules

* Fix remote rrdtool_check_rrd_exists() calls (#4196)

It was comparing with the full name when rrdcached only printed out the relative name.
Thanks mikmak on irc for lots of troubleshooting.

* check for no motd line (#4200)

Fixes #4199

* Only push the toc down, not the content
the toc is on top when the header switches to two lines, so we only need to push that down.

* IRC bot - detect lost communication

Force reconnect if no data received from server for config['irc_conn_timeout'] seconds (that may happen when network/VPN goes down - in such case IRC bot won't get immediately notification that connection was lost, at least till it tries to send anything).

* Update irc.php

* Update irc.php

* Update irc.php

* Update irc.php

* fix ifName randomly defined, breaking influxdb updates (#4202)

* IRC bot - allow to disable ssl check

In PHP 5.6.x stream wrappers verify peer certificates and host names by default when using SSL. That fix allows to turn off that verification with config option $config['irc_disable_ssl_check'] = true; 
It is useful when you want to use self generated certificate for your own IRC server.

* Update irc.php

* More more docs (#4197)

* Updated docs + some small code changes

* Added validating code doc for developers

* Doc updates

* Updates and improvements

* Add ntpd to the list of agentapps (#4194)

* Fix deprecated constructors
This small change should't prevent easy updates to libraries and fixes the lint check on php7

* Don't allow php7 failures anymore

* Fix defunct process issues: create Proc class (#4210)

* Proc class
Encapsulate processes in a class, when they go out of scope, we can use the __destruct() process to make sure the process terminates.

* Fix rrdtool_last checks failing

* Don't close rrdtool in rrd_graph
Try to start rrdtool process if they haven't been started yet
Remove some extra debug output

* phpdocs added
several cleanups
should still be functioning the same
Only open one  rrdtool process for graph.php

* include common.php in definitions.inc.php (#4198)

definitions.inc.php makes a call to dbFetchRow, which uses c_echo()
It is safe to include common.php here as it only has function definitions.

* Use pre-commit.php in for travis-ci tests (#4212)
2016-08-26 12:08:48 +01:00
Tony Murray
3d0edb46cc Add ntpd to the list of agentapps (#4194) 2016-08-25 18:43:56 -05:00
Mickael Marchand
63cdd8210d fix ifName randomly defined, breaking influxdb updates (#4202) 2016-08-25 11:55:27 +01:00
Neil Lathwood
1055003d3f Remove requirement for ['enable_printers'] (#4192) 2016-08-24 12:42:06 -05:00
Neil Lathwood
e112302e40 Fixed not sending port_descr_type (#4188) 2016-08-24 11:01:56 -05:00
crcro
7634c085c0 Hwg ste2 (#4190)
* misspelled var name

* HWg-group STE2 fully working - tested

* not so noisy definitions.inc.php

* implemented scrutinizer best practices
2016-08-24 14:37:35 +01:00
zarya
10d7451a74 Hytera repeater support (#4163) 2016-08-23 19:44:45 +01:00
Tony Murray
b8e9b2d917 Implement an autoloader (#4140)
* Implement an autoloader

When cleaning up classes for psr2, things got a bit unwieldy, so I implemented a class autoloader.
I created a PSR-0 compliant LibreNMS directory and moved all classes there that made sense.
Implemented LibreNMS\ClassLoader which supports adding manual class mappings

This reduces the file includes needed and only loads classes when needed.

* Add teh autoloader to graph.php

* Add a small bit of docs
Fix incomplete class in includes/discovery/functions.inc.php
2016-08-21 14:07:14 +01:00
Tony Murray
de9c02d66e Fix rrd_name 2016-08-21 08:06:15 -05:00
Tony Murray
4a0a7ec302 Merge pull request #4099 from laf/issue-4090
Update of ifSpeed checking in ports poller
2016-08-20 06:55:53 -05:00
Aaron Daniels
a77536ba4b Merge branch 'master' into issue-4083
Conflicts:
	includes/definitions.inc.php
2016-08-19 07:13:46 +10:00
laf
ef7fac9a91 Fixed errors 2016-08-18 21:38:06 +01:00
Neil Lathwood
637d01cd13 Merge pull request #4077 from murrant/ntpd-app
NTPD Application
2016-08-18 21:30:33 +01:00
Søren Rosiak
aabc0eb7ab Merge pull request #4065 from adaniels21487/issue-4062 2016-08-18 22:51:28 +03:00
Tony Murray
22de3fca31 Merge pull request #4103 from vitalisator/issue-4094
DSname too long
2016-08-18 07:45:07 -05:00
vitalisator
2ecc764c8a trim to 19 characters 2016-08-18 14:35:48 +02:00
vitalisator
6f7c62ce50 DSname too long 2016-08-18 11:26:52 +02:00
Daniel Preussker
c01eec8f26 Merge pull request #4048 from laf/issue-3982
Added support for Avaya VSP
2016-08-18 05:56:53 +00:00
Aaron Daniels
26f7de97e1 Merge branch 'master' into issue-4062
Conflicts:
	includes/definitions.inc.php
2016-08-18 08:40:36 +10:00
laf
61e5aa6883 Update of ifSpeed checking in ports poller 2016-08-17 23:08:32 +01:00
Tony Murray
984dafda4b Merge remote-tracking branch 'upstream/master' into ntpd-app 2016-08-17 15:40:38 -05:00
Florian Beer
a61c1b2ebf Add snmp polling capability for Proxmox 2016-08-17 21:56:23 +02:00