Commit Graph

12138 Commits

Author SHA1 Message Date
crcro
99cc15b855 renamed from ciscoons to ons 2016-09-15 12:28:24 +03:00
Neil Lathwood
85b92caf47 Added alert indicator to navbar 2016-09-15 10:21:28 +01:00
Tony Murray
36f6338ad6 fix: Clean up errors in the webui (#4438) 2016-09-15 08:46:26 +01:00
Tony Murray
83d7bbdd1b fix: reduce mib graph queries (#4439)
Used have 1 query for every graph type known to LibreNMS.
Now it just gets a list of the graphs for the device and checks against that.
2016-09-15 08:45:45 +01:00
jonathon-k
5b3ee62b33 webui: Update Alerts table (and widget) to re-sort rather than reload page when ack'ed (#4440)
* Update Alerts table to re-sort rather than reload page when ack'ing

* msg box updates
2016-09-15 08:44:22 +01:00
Tony Murray
6d93dc0572 newdevice: Add support for APC Netbotz 200 (#4443)
Unfortunately, it is clobbered by other devices because it returns a value for all sorts of snmpget requests
2016-09-15 08:21:29 +01:00
crcro
98763b13d9 oh travis... 2016-09-15 00:44:19 +03:00
crcro
b9cd6012b7 initial support for cisco ons 2016-09-15 00:25:25 +03:00
Tony Murray
d2193f76ca feature: allow scripts to be run from any working directory (#4437)
* feature: allow validate.php to be run from any working directory

* remove redundant realpath() call

* re-add realpath() to remove symbolic links

* realpath() isn't needed...

* chdir() in all php scripts in ./ and ./scripts/

* update-sql.php clearly is not used, as it was broken.

* Change some scripts to executable
Remove extra chdir() call in snmp-scan.php

* Missed console-ui.php
Kind of fixed console-ui.php help output

* Re-add newline
2016-09-14 16:53:04 +01:00
Aaron Daniels
f7b68c4714 fix: Graph formatting for udp-jitter graphs. (#4433) 2016-09-14 16:24:23 +01:00
Dennis Væversted
8e4be8bbb2 api: Add severity on list alerts API method (#4436)
* Added severity field from the alert rule to the output of list_alerts.

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2016-09-14 14:29:46 +01:00
Tony Murray
0351b54fb8 webui: make d_echo work in webui (#4432)
* webui: make d_echo work in webui
Remove d_print_r(), it is redundant to d_echo()
Remove d_echo calls in services.inc.php

* Switched debug check to work with nginx
2016-09-14 10:05:49 +01:00
Tony Murray
ce95ceaa2b refactor: set mysqli as the default + cleanup (#4430)
* refactor: set mysqli as the default
dbFacile.mysqli cleanup
Init $db_stats array
number_format() returns string
remove unreachable statement, commented code, and unused global

* Fix style issues
2016-09-14 09:05:32 +01:00
Neil Lathwood
e8b5c7fe66 fix: Added support for Graylog 2.1 API change (#4411) 2016-09-13 22:23:52 -05:00
Tony Murray
2529109fc4 fix: ports page includes disabled, ignored, and deleted ports (#4419) 2016-09-13 20:33:07 -05:00
Neil Lathwood
05b728bb80 Webui: Updated force add option for addhost.php to be present in all instances (#4428) 2016-09-13 20:32:45 -05:00
Neil Lathwood
fe9d0c18ce fix: Call was always being done to check for local files (#4427) 2016-09-13 20:26:28 -05:00
Neil Lathwood
a0d3935060 Added schema 133 (#4426)
This was part of the reverted PR and we should fill the gap in otherwise 133 will be skipped or different for some users.
2016-09-13 22:30:06 +01:00
Tony Murray
7f7e3d22bc Fix: NIOS detection #4420 2016-09-13 22:16:02 +01:00
Neil Lathwood
a8efda8f30 Revert "Updated to remove passwords from sessions" (#4422) 2016-09-13 09:10:42 -05:00
Tony Murray
ec9383be60 docs: Standardize snmp extend script location to /etc/snmp/ (#4418) 2016-09-12 22:17:53 -05: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
deb4b74bc9 webui: remove passwords from sessions, 'remember me' works for all auth types (#4134)
* Updated to remove passwords from sessions

* Remove users sessions when user deleted

* Updated when cookies are set

* Updated setcookies to always contain a value

* Added destroy_cookies() to remove users cookies on failed login

* Removed debug line

* Fixed graph issues
2016-09-12 21:41:19 -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
Neil Lathwood
9e85f24b00 fix: Make irc bot to use authentication module for user info (#4372) 2016-09-12 11:24:22 -05:00
Neil Lathwood
b397e23763 docs: Added NFSen docs + update general config docs (#4412)
* Added NFSen docs + update general config docs

* Fix missing brackets
2016-09-12 11:22:34 -05:00
Neil Lathwood
9aaea7e64e fix: Missing include file for ajax_listports.php causing 500 (#4407) 2016-09-12 08:33:31 +01:00
Neil Lathwood
26fc825548 phpcs fixes 2016-09-12 07:51:49 +01:00
Tony Murray
122aae85bf webui: Relocate Alerts menu
Plugins menu is moved to the Overview menu (this is basically just weathermap anyway)
2016-09-11 23:41:41 -05:00
Tony Murray
195a8ee349 Small cleanups (#4405)
* Small cleanups

* Small cleanups
2016-09-11 22:11:16 -05:00
Tony Murray
d1ae83a378 webui: Paginate the all ports pages (#4401)
* feature: Paginate the all ports pages
fixes: #2705

* Stopped ports not belonging to any devices from showing up

* phpcs fix
2016-09-11 16:23:16 +01:00
Tony Murray
a6ed7cc888 feature: pre-commit script: allow test order based on command line option order (#4393) 2016-09-10 17:42:27 +01:00
Tamas Szabo
cc7d0fbbe0 Added logo for Alpine Linux & contributor agreement (#4394)
* Added logo for Alpine Linux

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2016-09-10 17:39:47 +01:00
jonathon-k
7c6130d1a7 fix: CSS typo -- gray to grey (#4397) 2016-09-10 16:55:11 +01: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
d6d2ff8499 Updated Sonus SBC detection (#4363)
* Updated Sonus SBC detection

* Updated to array
2016-09-09 12:11:24 -05:00
Neil Lathwood
66bc0a7826 newdevice: Updated zxr10 device support #4380 (#4381)
* newdevice: Updated zxr10 device support #4380

* Space :(
2016-09-09 12:10:58 -05:00
Neil Lathwood
7ff35ca6ef docs: More doc updates (#4365)
* More doc updates

* Updated to add update

* added tune option
2016-09-09 12:06:26 -05:00
Neil Lathwood
f76f0f7b96 newdevice: Added support for Eaton 5P units #3508 (#4376)
* newdevice: Added support for Eaton 5P units #3508

* Small fix

* Keep OSDiscoveryTest.php alphebetized
2016-09-09 11:57:05 -05:00
crcro
6bc67b421e fix generic v3 multiline graph total (#4388) 2016-09-09 11:33:48 -05:00
arrmo
9db13372ca fix: MikroTik OS detection #3593
* MikroTik Updates

To address, Mikrotik SwOS Issues (#3593)

* Remove Default OS Setting
2016-09-09 17:29:46 +01:00
Neil Lathwood
c5845006a1 refactor: Updated arp-table discovery to use ipNetToPhysicalPhysAddress (#4367) 2016-09-09 11:22:01 -05:00
Neil Lathwood
74483dcbd7 feature: Added new discovery-wrapper.py script to replicate poller-wrapper.py (#4351)
* feature: Added new discovery-wrapper.py script to replicate poller-wrapper.py

* Added distributed polling support
2016-09-09 10:43:38 -05:00
Neil Lathwood
d6d28564ae fix: Removed suggestion in install.php on installing php modules (#4377) 2016-09-09 10:26:52 -05:00
Tony Murray
1bff4f4a55 Update OSDiscoveryTest.php (#4390)
remove hostname
2016-09-09 10:22:35 -05:00
Tony Murray
b8cc59922e fix: NIOS discovery (#4389)
* fix: NIOS discovery
Add nios test

* Add actual sysDescr string for nios
2016-09-09 15:57:40 +01:00
FTBZ
5ef5d65458 docs: Update Authentication.md (#4387)
* Update Authentication.md

Added note for SELinux users with LDAP/AD and Active Directory redundancy

* Update Authentication.md

Remove extra whitespace
2016-09-09 15:18:07 +01:00
Tony Murray
956e18ffcd feature: Better error messages for ad_auth (#4385) 2016-09-09 08:04:03 -05:00
Tony Murray
833f509c36 Add type comments to the Proc objects in rrdtool.inc.php (#4383) 2016-09-09 07:29:02 +01:00
Steve Bauer
4d9582efb2 newdevice: Procurve 5400R series #4375
Update the discovery so that the 5406R and 5412R are discovered as procurve devices
2016-09-08 16:01:36 +01:00