Commit Graph
1442 Commits
Author SHA1 Message Date
Tony MurrayandGitHub a8037d9bdd fix: windows server version detection (#4648)
* fix: windows server version works again
Cleanup poller file/convert to str_contains()
Fix Windows 10 Anniversery update
Add support for Windows Server 2016

* Update windows.inc.php

Restore trim(str_replace(

* Fix missing semi-colin
2016-09-28 19:33:03 -05:00
Tony MurrayandNeil Lathwood edbb6ae0e3 refactor: Centralize MIB include directory specification (#4603)
* refactor: Centralize MIB include directory specification
The default is now:
```
$config['mib_dir'].'/mibdirname:'.$config['mib_dir']
```
This means we exclude OS mibs and only use ours  (we could prepend `+` if we want to include os mibs.
All snmp calls should only include the name of the subdirectory under the mibs directory.

* Remove d_echo from Proc
Fix snmpsim tests.
2016-09-28 14:19:28 +01:00
Daniel PreusskerandNeil Lathwood 20a3b555ab Fix Day counter in process CPU-time (#4653)
fix: Updates unix-agent handling of reported time values from check_mk #4652
2016-09-28 09:20:16 +01:00
Søren RosiakandNeil Lathwood f6db0a505a feature: Add Cisco WAAS Optimized TCP Connections Graph (#4645)
* feature: Add Cisco WAAS Optimized TCP Connections Graph

* fix names
2016-09-28 08:00:35 +01:00
crcroandNeil Lathwood f06b0ffb66 fix: device with no uptime (#4625)
fix: Add checks for devices with no uptime over snmp #4587
2016-09-27 21:07:42 +01:00
Tony MurrayandGitHub b41ce631a8 device: Edge Core ES3528M - base support
device: Edge Core ES3528M - base support
2016-09-27 14:54:39 -05:00
Søren RosiakandTony Murray 3a6c6985a3 newdevice: Added support for Cisco IPS (#4561)
* newdevice: Added support for Cisco IPS

* Add snmprec

* fix
2016-09-27 12:35:46 -05:00
Neil Lathwood ef59d5110f Rebased + added OS Tests 2016-09-27 18:05:42 +01:00
Neil LathwoodandTony Murray 5c4d383f80 fix: Fixed the old port rrd migration code to work with new rrdtool functions (#4616) 2016-09-27 09:18:57 -05:00
Tony MurrayandGitHub 38d87df9be Fix netonix version (#4607) 2016-09-26 16:33:56 -05:00
Tony Murray 1b4d44b2f8 Netonix switch update
New mib
Added total power consumption and dc power input (for dc switches)
Small cleanups
2016-09-26 10:34:49 -05:00
Neil LathwoodandGitHub be611e6f16 Merge pull request #4448 from crcro/app-ups-nut-update1
app: ups-nut update 1
2016-09-24 18:29:25 +01:00
crcro f87043eca7 readded ds 2016-09-24 20:09:27 +03:00
Tony MurrayandGitHub 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
Bartosz Radwan 15593552eb add missing spaces, remove excessive blank line 2016-09-22 17:38:04 +02:00
Bartosz Radwan ae80e2c83a use long opening php tag 2016-09-22 17:16:51 +02:00
Bartosz Radwan 71b46ca87c Add device: Edge-Core switch ES3528M 2016-09-22 17:04:14 +02: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
crcro 0eea180151 removed file version and unused vars 2016-09-20 22:03:30 +03:00
boudreauandGitHub eaa36771d2 Update sensors.inc.php 2016-09-19 11:10:37 -04:00
boudreauandGitHub 8dbc9b4809 Update functions.inc.php 2016-09-19 11:09:29 -04:00
Neil LathwoodandGitHub 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 7d7621fd3e removed file versions from comments 2016-09-15 23:24:25 +03:00
crcro 0dd523be45 app-ups-nut update 1 2016-09-15 19:37:52 +03:00
crcroandTony Murray 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 LathwoodandTony Murray 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
crcroandTony Murray 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 LathwoodandTony Murray 7dec670494 refactor: Updated a lot of references to LibreNMS - copyright still left intact (#4339) 2016-09-08 08:12:23 -05:00
Aaron DanielsandNeil Lathwood 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 DanielsandNeil Lathwood 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
crcroandNeil Lathwood 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 RosiakandNeil Lathwood 7a3a785edb newdevice: Added support for Foundry Networks #4311
newdevice: Added support for Foundry Networks #4311
2016-09-04 16:28:06 +01:00
crcroandNeil Lathwood 1110de3ab3 fix: toner nrg os capacity (#4177)
fix: ricoh/nrg toner levels #4177
2016-09-04 16:20:41 +01:00
Søren RosiakandTony Murray b81e67c656 fix: Cisco remote access stats bugfix #4293 (#4309) 2016-09-02 13:12:01 -05:00
Søren RosiakandTony Murray 657ee386e0 newdevice: Added support for PLANET Networking & Communication switches (#4308) 2016-09-02 13:02:01 -05:00
Neil LathwoodandTony Murray 0d2c443ee9 fix: Added ability to force devices to use ifEntry instead of ifXEntry (#4100) 2016-09-02 12:53:35 -05:00
Søren RosiakandTony Murray 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 LathwoodandTony Murray 16a47ac5e9 fix: Use isset for checking poller option (#4291) 2016-08-31 09:23:35 -05:00
Søren RosiakandNeil Lathwood 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 RosiakandNeil Lathwood 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
crcroandNeil Lathwood bc816ee461 discovery: ubnt edgeswitch os update (#4249)
newdevice: Improved support for UBNT EdgeSwitch OS #4249
2016-08-29 21:24:22 +01:00
ospfbgpandNeil Lathwood 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 MurrayandNeil Lathwood 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
TatermenandNeil Lathwood 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 MurrayandGitHub 3d0edb46cc Add ntpd to the list of agentapps (#4194) 2016-08-25 18:43:56 -05:00
Mickael MarchandandNeil Lathwood 63cdd8210d fix ifName randomly defined, breaking influxdb updates (#4202) 2016-08-25 11:55:27 +01:00