Commit Graph

14319 Commits

Author SHA1 Message Date
deepseth
ea646bae2c Trailing slash in multi_data graphs removed (#7673) 2017-11-08 14:32:46 +00:00
Tony Murray
44cb59d54e refactor: Rewrite a bit of the irc bot (#7667)
also, use the appropriate dbFetchCell()
2017-11-07 20:30:59 +00:00
Tony Murray
1e7ed0784e fix: ServerTech discovery (#7668)
This should be using sysObjectID
snmprec updated from stats and ticket.

fixes: #7654
2017-11-07 20:25:24 +00:00
Tony Murray
e5f6742cc3 additional os discovery yaml tests (#7669) 2017-11-07 20:24:22 +00:00
Kevin Krumm
597af28093 alerts: Added in dell server sensors alert rules to the collection (#7647)
* alert rules: alert rules for dell servers

added in dell alert rules to the collection.

* Update alert_rules.json

fixed the ,

* Update alert_rules.json

fixed the "rule":

* Update alert_rules.json

minor fixes and added in MAC address alert. This could be useful when searching for missing devices or rogue devices on your network.

* Update alert_rules.json

removed mac address rule.
2017-11-07 20:21:37 +00:00
Tony Murray
cbe6cb532d Fix: Discovery validation with ping-only devices (#7665)
* fix: validation check cli php extensions
Fix fatal errors when mysql is not loaded / can't connect

* fix: discovery validation incorrectly detects on ping only devices.
2017-11-07 20:09:49 +00:00
Tony Murray
52784ed189 fix: Extra fping checks in validation (#7651)
* fix: Extra fping checks in validation
Don't check suid or getcap if we can execute fping (as librenms or webserver user)

* Warn about suid in webui

* Update Programs.php

* Update Programs.php

* Use locate_binary() so we match production code (it is also better)
Don't cripple capabilities check, prefer that over suid.
2017-11-07 12:32:42 -06:00
Neil Lathwood
f84844f2a7 fix: Better validation on callback url for Pagerduty integration (#7658) 2017-11-07 09:32:09 -06:00
zapotah
fcbd3a0dff Fix ".status services" to show properly possible status codes (#7663)
* Fix ".status services" to show properly possible status codes

Nagios plugins return 0-3 as the status-code for a check. This adds "warning" and "unknown" to the output as well as hierarchical color for the total.

* Fix ".status services" to show properly possible status codes

Nagios plugins return 0-3 as the status-code for a check. This adds "warning" and "unknown" to the output as well as hierarchical color for the total.
2017-11-07 09:19:18 -06:00
Tony Murray
265e502eb2 feature: Check cli timezone from the validation webpage (#7648)
We cannot check the web timezone from the cli.
2017-11-07 11:22:12 +00:00
Kevin Krumm
c2cee47a5c fix for device troubleshooting (#7659)
I missed the g in troubleshooting.png :(
2017-11-07 10:51:45 +00:00
zapotah
ad739252a2 fix: Fixed status services up/down inverse values for IRC Bot (#7657) 2017-11-06 22:11:36 +00:00
Kevin Krumm
e7d4716996 docs: Added device-troubleshooting page (#7638)
* docs: create device-troubleshooting page

using the capture debug info page.

* Update device-troubleshooting.md

* capture debug info images

* Update and rename device-troubleshooting.md to Device-Troubleshooting.md

* added Device-Troubleshooting.md

* Update Device-Troubleshooting.md
2017-11-06 21:52:32 +00:00
Kevin Krumm
e3ba042379 Fix Weathermaps (#7645)
minor spelling error.
2017-11-06 20:39:13 +00:00
Kevin Krumm
f1ef6d20d8 docs: Updated FAQ on Graph Spikes and why they occur (#7653)
from murrant post in https://community.librenms.org/t/very-spiky-graph-on-one-host/2550/5
2017-11-06 20:37:00 +00:00
barryodonovan
48b564703d newdevice: Added support for Eltek enexus (#7552)
* initial discovery

eltek-enexus discovery and polling

discovery and polling using yaml for subset of features

discovery and polling using yaml for subset of features

removed a few bits

removed some snmp_get() and renamed MIB

 removed header bar mini graph

added snmpget discovery to yaml

renamed os to enexus

undo rebase

* Update enexus.yaml
2017-11-06 17:25:24 +00:00
Zmegolaz
21495a8dad docs: Direct users to Discord instead of IRC in the github issue template. (#7641) 2017-11-06 11:46:19 +00:00
Kevin Krumm
00470df10e docs: Added WebUI to Validate docs (#7635)
* docs: Validate to the Web UI

* Add files via upload

images for web ui validate.
2017-11-05 20:25:26 +00:00
Kevin Krumm
532bb60052 docs: Added example on how to add Weathermaps to Dashboards (#7636)
* docs: How to add Weathermaps to Dashboards

* image for weathermap dashboard
2017-11-05 20:24:49 +00:00
Kevin Krumm
d060eed6ad docs: Added Windows example for syslog client setup (#7632)
added in how to for windows send logs to syslog.
2017-11-05 18:55:04 +00:00
Tony Murray
3dba5cd39d newdevice: Support Avtech RoomAlert 32E/W and RoomAlert 11E (#7614)
* newdevice: support Avtech RoomAlert 32E/W
Move avtech discovery to yaml, took a bit of trickery

* More flexibility when checking pre-cached data
A little cleanup

* Add support for RoomAlert 32E/W external and wish temp sensors
Add RoomAlert 11E support (just temp sensors)
Updated ROOMALERT32E-MIB
2017-11-04 21:25:13 +00:00
Chris A. Evans
5b42044d04 Fix IronWare mempool device type detection in polling module (#7620) 2017-11-04 21:20:14 +00:00
tomarch
100995294e device: Update hwg-ste and add hwg-ste-plus support (#7610)
* update hwg-ste and add hwg-ste-plus support

* remove humidity graph over
2017-11-04 21:18:02 +00:00
Tony Murray
54b476c769 fix: devices detected as ibmtl or generic (#7618)
* fix: devices detected as ibmtl
Guess at the sysObjectID, please report if you have devices that should be ibmtl and are no longer detected.
Add output of os in discovery.

* Always load all os for discovery.  Should be cached most of the time.
2017-11-03 16:10:24 -05:00
FTBZ
aef1a5f28a newdevice: Added state sensors for Palo Alto Networks firewall (#7482)
* Features: Add state sensors for Palo Alto Networks firewall

* Removed the MIBs files

* fix: Removing echo

* Migrate to YAML

* Migrate to YAML

* Change passive to unknow
2017-11-02 21:41:51 +00:00
Tony Murray
4dd56bc72e refactor: Wifi cleanup (#7607)
* refactor: remove duplicated data collection in old wifi module
Still a bit more work before we can fully remove it

* remove unused graphs
update overview graphs for some wireless os
2017-11-02 21:07:58 +00:00
Zmegolaz
d9df643927 fix: Use correct sensor ID when removing device. (#7611) 2017-11-02 20:40:51 +00:00
Tony Murray
1c31b06768 webui: Don't disable the applications check boxes in settings if the discovery module is disabled. (#7615)
It disables the check boxes because it will automatically disabled/enabled based on data returned from the device.
2017-11-02 20:38:17 +00:00
Tony Murray
0d07f85257 feature: Allow snmpget in os discovery yaml (#7587)
* feature: Allow snmpget in os discovery yaml

Re-submit after release

* Remove extra trim in discovery and in snmp_get.
also trim() always returns a string, so is_string() check is a waste of cpu cycles.
2017-11-02 12:41:18 +00:00
Paul Heinrichs
771ff3669c fix: Added runtime divisor to fxm sensor (#7600)
* Add runtime divisor to fxm

* Update mib definition
2017-11-02 12:40:05 +00:00
Robert (KHobbits)
ea477e1b28 Add support for a wider range of link speeds when mapping links. (#7533)
Use a formula to work out link speed on network map, rather than using defined speeds.
2017-11-01 23:14:03 -05:00
bdg-robert
0250542d64 Spelling/typo corrections reported from validate.php (#7606)
Typo and spelling mistakes corrected, as well as uniform punctuation added to all response text returned to validate.php
2017-11-01 22:58:13 -05:00
Tony Murray
fb45f00340 fix: ping fails on servers that don't set PATH in cron (#7603)
* fix: ping fails on servers that don't set PATH in cron
Find the full path to fping and persist it in the database.
Adds the ability to persist settings with Config::set()

* Add ability to set webui settings.
No display of for paths, because it would be inconsistent.
2017-11-01 21:56:47 +00:00
Chris A. Evans
47b999cebd device: Change Ironware mempools NetIron checking logic from sysObjectID to sysDescr (#7602)
* Changed the NetIron checking logic from sysObjectID to sysDescr

* updated method of checking sysDescr in ironware mempool files

* Update ironware-dyn.inc.php
2017-11-01 21:41:15 +00:00
Tony Murray
a688a77864 fix: github-apply sometimes fails on PRs with lots of commits (#7604)
.patch is all commits individually, .diff is all commits merged
2017-11-01 21:19:41 +00:00
Zmegolaz
6fcd406893 Fix: Only add args.ping if it's set. (#7605)
* Only add args.ping if it's set.

* Shorter if.
2017-11-01 12:49:38 -05:00
Zmegolaz
a7f42361ae Fix: Better sanity check of hostname when adding device. (#7582)
* Better sanity check of hostname when adding device.

* Style fix.

* clean() before hostname validity check. IP::isValid to support IPv6 addresses.

* Even more checks to catch invalid input.

* Long if-else, better error message.

* Code re-arranging
2017-11-01 11:06:39 -05:00
Martin Zatloukal
1dfcde3060 fix: function snmp_get delete quotes in snmp query (#7467)
* fix: ups-nut delete quotes in snmp query

* fix: ups-nut delete quotes in snmp query

* Update snmp.inc.php

* Update snmp.inc.php

* Update snmp.inc.php

* Update snmp.inc.php

* Update snmp.inc.php
2017-10-31 21:50:18 +00:00
Neil Lathwood
b2c5d069a7 fix: Updated hpe iPdu to remove power and fix load values (#7596) 2017-10-31 21:08:26 +00:00
Neil Lathwood
cb333071c8 fix: Added primary key to perf_times to improve DELETE performance on replicas using ROW based replication (#7493)
* fix: Added primary key to perf_times to improve DELETE performance on replicas using ROW based replication

* moved sql file

* moved sql file

* Rebased

* fixed schema

* moved sql file
2017-10-31 21:08:16 +00:00
Tony Murray
6e3ea8b28e fix: Only show the neighbour tab if there are neighbors to show (#7591)
Also, fix up the sql statements in this file.  No reason to count entries if we only want to know if at least one entry exists.
2017-10-31 20:35:49 +00:00
Kevin Krumm
e3b4fa12b1 docs: Added syslog cleanup option to syslog docs (#7581)
* docs: added syslog cleanup option

syslog purge

* Update Syslog.md
2017-10-31 20:33:17 +00:00
Tony Murray
d809bddb4e fix: Improve poller validation (#7586)
* fix: improve poller validation
remove failures when there are duplicate poller entries
add warning that there are duplicate poller entries
link to the poller log in the webui
small fix to getBaseURL() to avoid exception when run from cli.

* Re-run poller cleanup to try to reduce the users with duplicates.
2017-10-31 20:32:56 +00:00
Neil Lathwood
a71c33fb63 newdevice: Added Temp and Humidity support for ServersCheck devices (#7588) 2017-10-31 20:32:18 +00:00
Neil Lathwood
f00e896e93 webui: Added toner support in health metrics list (#7595) 2017-10-31 20:31:56 +00:00
Tony Murray
087dbbd173 webui: Hide rediscover button for ping only devices (#7594) 2017-10-31 19:48:15 +00:00
Zmegolaz
297e5ae874 fix: Fail isPingable() if fping fails, take 2 (#7585)
* Fail isPingable() if fping fails, take 2.

* Fixed scrutinizer issues.

* Filter out the values we want instead of multi level array.
2017-10-31 08:31:29 -05:00
Zmegolaz
e74b1c3e51 Fix: discovery.php -h all stops working after ping only device (#7593)
* Temporary array per device in discovery.

* Return at the beginning of discover_device() if snmp_disable.
2017-10-31 08:26:25 -05:00
Kevin Krumm
82ac4f59a4 docs: fixed the discovery.md (#7590)
was missing the py
2017-10-31 13:18:00 +00:00
Zmegolaz
03820d3bd8 Fix: availability-map showed ping devices as warning. (#7592) 2017-10-31 08:15:23 -05:00