14179 Commits

Author SHA1 Message Date
gitwuethrich
8f282ad60e docs: Update Callback-Stats-and-Privacy.md (#7475)
As @murrant suggested, I added the port count and changed from total to count.
2017-10-12 09:50:09 +00:00
Tony Murray
48afb3258c Add nobulk documentation (#7478) 2017-10-11 20:02:18 -05:00
Yunchih Chen
82fb20cc19 feature: Configurable 95th percentile (#7442)
See issue #7406 for detail.
2017-10-11 13:21:11 +01:00
Tony Murray
46ee1b377c fix: snmp_get_multi returns no data if the oid doesn't contain a period (#7456) 2017-10-11 08:10:04 +01:00
Tony Murray
3d41019b61 docs: improve CentOS 7 and Ubuntu 16 rrdcached installation instructions (#7473)
I tried to get these to as few of steps as possible.
Ubuntu starts the service during installation, so it won't have proper permissions/settings until after you restart it.
CentOS doesn't need epel (it doesn't have rrdtool in it) or permissions fixes.  Move run files to /run directory to save a lot of steps and be similar to other platforms. Skipping the touch allows us to skip daemon-reload
2017-10-11 08:07:08 +01:00
sfini
3381b401f9 newdevice: Added Support for ApsoluteOS / Defense Pro Hw (#7440)
* Add Support for ApsoluteOS  / Defense Pro Hw

* apsoluteos.snmprec

* Create apsoluteos.yaml

* Create apsoluteos.inc.php

* Create apsoluteos.inc.php

* Create test

* mibs

* Delete test

* Update apsoluteos.yaml

* Update apsoluteos.inc.php

* Update apsoluteos.inc.php

* Create radwaremib.txt

* Update apsoluteos.yaml

* Update apsoluteos.yaml

* Delete BGP4-MIB.mib

* delete mib dir

delete

* CHANGE NAME
2017-10-10 14:18:47 +01:00
gitwuethrich
ea79515607 Some other formulation stuff (#7459)
Hi again
1. was -> way (just the typing error i guess)
2. i had to read the sentence 3 times until i got the meaning, so i changed it a little so it makes better sense to me (i hope you think so as well)
3. you -> your
2017-10-10 13:35:37 +01:00
gitwuethrich
ea703e8c7b Update Agent-Setup.md (#7462)
1. reformulation, because i thought it's easier to read like this, the other version sounds strange to me...
2017-10-10 13:35:07 +01:00
TomEvin
b45b2be695 Update hpe-ilo.inc.php (#7465) 2017-10-10 13:31:34 +01:00
gitwuethrich
66d2459bd4 Update Applications.md (#7461)
1. added "to" (was just what i noticed when i looked into the page, didn't read the whole document though)
2017-10-10 11:18:39 +01:00
gitwuethrich
a0ba873db1 Update Callback-Stats-and-Privacy.md (#7460)
Hi again
1. deleted 1 "total" before BGP (i hope this is what was meant) and switched to "total devices" accordingly, so it isn't once "... total" and then "total ..."
2. bgp -> BGP (doesn't really matter, but abbreviations are usually uppercase)
3. added a "we"... at first it sounded like "you shouldn't ask us" or something like that, with the "we" it's clearer in my opinion
2017-10-10 11:18:21 +01:00
gitwuethrich
b46735b9c2 docs: Some changes in formulation (#7458)
1. "is ..." -> "has to do with ..."
2. reformulation of the sentence: it wasn't complete, because after "Thanks to one of our users, Dan Brown ..." there was just "additional information" about Dan Brown but not what we actually have thanks to him. I think this formulation makes it a little bit easier to understand the sentence
3. cpu architect -> CPU architecture (i thought it was the common way to state it. Also, abbreviations are generally uppercase)

Hope this helps :)
2017-10-10 07:58:28 +00:00
gitwuethrich
b3185b792e docs: would't -> wouldn't (#7457) 2017-10-10 07:57:45 +00:00
gitwuethrich
e25f473a80 Sentence correction (#7450)
... with via ... doesn't really make sense in my opinion. I deleted the "with", because I thought the original meaning was "via", but I guess you could also go for the "with" and delete the "via". This doesn't affect the meaning of the sentence at all and I think people still get the meaning of the sentence. I just think it's fitting for this project when all documents are as close to perfect as possible ;)
2017-10-09 20:32:28 +01:00
TomEvin
c8b677779d newdevice: Added HPE ILO4 storage, memory and additional sensors
* HPE ILO4 enhance

Added Storage, Memory pools, new status (Array Controller, Logical Drive)

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Delete hpe.ilo.inc.php
2017-10-09 20:24:20 +01:00
tomarch
c927e6d68c newdevice: Updated Zyxelnwa to add storage, mempools and wireless support
* zyxelnwa: add storage, mempools and wireless

* zyxelnwa: add storage, mempools and wireless

* Update Zyxelnwa.php

* zyxelnwa: add MIB and use snmp-get
2017-10-07 21:17:51 +01:00
Tony Murray
f92449e637 fix: issues with recent discovery refactor (#7437)
fix find_port_id() deleting all variables when device_id was given
improve find_port_id() to find ports where only a number is given
fix orphan deletion count
fix insert and update of links with strings where int are required
2017-10-06 08:53:16 -05:00
Tony Murray
a2b9342f05 fix: improve accuracy of is_valid_hostname() (#7435)
* fix: improve accuracy of is_valid_hostname()
fixes discovery code attempting to add discover invalid dns names
the old code allowed some invalid hostnames, this is more thorough
add tests

* fix merge error
2017-10-05 16:04:17 -05:00
Frank Petrilli
b89ed26852 newdevice: Added additional detection for Dell Equallogic devices
* Add support for alternate Equallogic SNMP sysObjectId

* Widen scope, add unit test

* Revert "Widen scope, add unit test"

This reverts commit 9486f06dd1951717202a40e24be00757b96e9bdc.

* Revert erroneous commit, include changes

* Made changes requested by @laf
2017-10-05 19:53:13 +01:00
Tony Murray
503500f978 feature: AD now supports nested groups (resubmit #7175) (#7259)
* feature: AD support nested groups (resubmit #7175)
Don't let groups with periods in the name cause issues.

* Merge #7245 into this PR

* Capture Exceptions in get_userlevel()

* Throw generic error if auth_ad_debug is not enabled to prevent information leak.
2017-10-04 21:31:17 +01:00
Tony Murray
b6964ab3d6 docs: Re-organize install docs (#7424)
Try to group things that go together
prevent repeat actions such as running yum/apt
The only reason to return to command line after install.php is to check validate.php.
(The future is to move most validation to the web ui)
2017-10-04 21:18:59 +01:00
tomarch
931bfce011 newdevice: Added detection for technicolor TG650S and TG670S (#7420)
* update zywall.yaml ; use sysDescr_regex_except

* Cleanup technicolor

* newdevice: technicolor TG650S and TG670S

* Update technicolor.svg

* add technicolor.svg compressed

* Update tgos.yaml
2017-10-04 21:16:00 +01:00
FTBZ
2e849e1b02 feature: Added more rules for the alert collection (#7430) 2017-10-04 21:02:17 +01:00
tomarch
d46df1770e device: Added Dlink dap2660 add processors and mempools (#7428)
* update zywall.yaml ; use sysDescr_regex_except

* Cleanup technicolor

* newdevice: technicolor TG650S and TG670S

* Devices: Add cpu and mem for dlinkap

* Update dlinkap.inc.php

* Update dlinkap.inc.php

* Update dlinkap.inc.php

* Update dlinkap.inc.php

* Update dlinkap.inc.php

* Update dlinkap.inc.php

* Update dlinkap.inc.php

* Update dlinkap.inc.php

* Update dlinkap.inc.php

* Update dlinkap.inc.php

* Update dlinkap.inc.php

* Delete dlinkap.inc.php
2017-10-04 20:54:55 +01:00
Tony Murray
bc8103774b fix: snmpwalk_group tables not using entries. (#7427)
When walking an arbitrary oid, it may not be grouped properly if the address ends with .0

For example: channelInternalTxAborted[11].0
2017-10-04 19:50:26 +01:00
kkrumm1
01a48496c8 features: Added HP iLo and OS-updates rules to the rule collection (#7423)
* features: added even more rules to the collection

Added in,
HPE iLo Server drive degraded/failure
HPE iLo Server Power Supply degraded/failure
HPE iLo Server fan degraded/failure
HPE iLo Server CPU degraded/failure
HPE iLo Server Memory degraded/failure
Applications OS-Updates, New Updates Available

* Update alert_rules.json

* fixed some line issues and spaces

* fixed syntax error

* Update alert_rules.json

fixed a ,

* Update alert_rules.json

fixed mistake with {

* Update alert_rules.json

fixed typo at the end
2017-10-04 08:21:16 +01:00
Tony Murray
c0b267b49c refactor: Discovery protocols re-write (#7380)
* refactor: discovery protocols re-write
extract more code to make it easier to read
use snmpwalk_group
walk lldpRemTable instead of lldpRemoteSystemsData
Optimize discover_device to reduce dns lookups of bad dns names
Make discovery_by_ip behavior consistent between cdp and lldp
move can_skip_discovery to discovery functions

Tested lldp, cdp, and ospf.

* always discover links even if the remote device isn't in system
Fix discover_link always updating

* fix style

* fix update, not fetching id

* increase platform length.  Most devices use sysDescr here, which is max length 255

* remove orphaned links

* update db_schema.yaml
2017-10-04 08:16:23 +01:00
tomarch
a1d782613b device: Added additional zywall-usg detection (#7405)
* device: more zywall-usg support
move and add snmpsim files

* add snmpsim files

* add again snmpsim files

* Update zywall.yaml
2017-10-03 21:38:40 +01:00
FTBZ
e16900456c feature: Added alert rules for RFC1628 UPS to the rule collection (#7415) 2017-10-03 21:34:12 +01:00
Neil Lathwood
f1b50737bb Docs refactor (#7389)
* docs: Refactored docs for new layout

* some more changes

* more doc updates

* More doc updates

* small update

* small update
2017-10-02 21:36:22 +01:00
Tony Murray
738067e622 fix: rfc1628 state sensor translations (#7416) 2017-10-02 15:08:02 +00:00
Neil Lathwood
9009633392 Added changelog for v1.32 (Sept 2017) (#7414) 1.32 2017-10-01 19:58:39 +01:00
Aldemir Akpinar
b4af9197ba newdevice: Added basic detection for hanwha techwin devices (#7397)
* Basic hanwha techwin support

* Changed os type to iPolis

* Changed file names to ipolis rather than the vendor name

* oid fixes
2017-10-01 19:19:46 +01:00
Stefan
3a8e921a91 Update Applications.md - typo in headline (#7413) 2017-10-01 19:16:17 +01:00
Neil Lathwood
592e8aca4c newdevice: Added sensor detection for APC In Row RD devices (#7385)
* newdevice: Added sensor detection for APC In Row RD devices

* Update apc.yaml

* Update apc.yaml

* Update cooling.inc.php

* Update pressure.inc.php
2017-09-29 21:13:27 +01:00
Neil Lathwood
98e509c27c webui: Updated alert rule collection to be table (#7371) 2017-09-29 21:12:22 +01:00
Neil Lathwood
30318b7427 webui: Show how long a device has been down if it is down (#7336) 2017-09-29 21:05:51 +01:00
kkrumm1
a3fef2f3dd docs: Added new faq Why would alert un-mute itself? (#7403)
* docs: added new faq

added new faq #32 "why do alerts un-mute themselves?"

* Update FAQ.md

minor fix
2017-09-29 21:04:06 +01:00
Parth Laxmikant Kolekar
101e7426f8 Extend username to varchar(255) (#7395)
* Extend username to varchar(255)

* Updated DB Schema by running build-schema script

* Updated session.session_username to be varchar(255) too
2017-09-29 20:15:48 +01:00
FTBZ
b4a84f8ac2 doc: Added performance suggestion for 1min polling documentation
* doc: Complete the 1min polling documentation for performance

* doc: Complete the 1min polling documentation for performance

* doc: Complete the 1min polling documentation for performance
2017-09-29 20:14:09 +01:00
celalemre
973764e7d3 alerts: Added OpsGenie transport. (#7392)
* Add OpsGenie transport.

* Log response body from OpsGenie only when an error occurs.

* Move OpsGenie SQL config to a new sql file.
2017-09-28 21:20:21 +01:00
jackson-tim
f24c840864 docs: Updated Distributed poller doc as rrdcached needs -R to work properly (#7393)
* rrdcached needs -R to work properly

Without -R you'll hate yourself.

* Update Distributed-Poller.md
2017-09-27 20:51:44 +01:00
noaheroufus
554b40eb3f newdevice: Added better hardware and version identification for SAF (#7378)
* Proper hardware and version identification

* Replaced str_replace with preg_match
2017-09-27 20:41:19 +01:00
Tony Murray
0713963ed4 Update influx-db dependencies (#7387)
Remove dev-depencies

Note: looks like we were using the symfony/yaml from this instead of /vendor due to autoload order, but yaml is just a dev dependency here.
2017-09-25 22:38:41 +01:00
Tom Sealey
c07daa325b newdevice: Added basic os for EricssonLG ES switches (#7289)
* added basic os for EricssonLG ES switches

* changed names

* tidied up some more

* renamed test files

* fixed typo

* removed _ from names

* fixed os names

* changes requested by @laf

* fixed unit test for ucp
2017-09-25 10:01:35 +01:00
Ryan Medlyn
d6ae852617 Fixes query selector scope for bootgrid destroy (#7379) 2017-09-22 07:06:49 +01:00
noaheroufus
ef9ada9adb Applied correct divisors to voltage for Alpha UPSs (#7377) 2017-09-21 21:40:32 +01:00
Neil Lathwood
1be550826e api: Added ability to supports CORS for API (#7357)
* Update defaults.inc.php

* api: Added ability to supports CORS for API

* added acknowledge

* Update Configuration.md
2017-09-21 18:07:31 +01:00
Tony Murray
6ea6218f47 refactor: rewrite is_valid_port() (#7360)
* refactor: speed up is_valid_port()
Convert is_valid_port to Config
Several Config optimizations
Update documentation

* fix getCombined() when os key is not set, but global is.
Add more tests
2017-09-21 18:02:01 +01:00
kkrumm1
777eb1f823 feature: Added more rules to the collection of alert rules (#7363)
* Features: Updated collection of alert rules

Added in the following to the Alerts Collection,

Syslog, received Alert Priority Message
Syslog, received Emergency Priority Message
APC UPS Battery Needs Replacement
APC UPS Switched to Battery Power
APC UPS in Hardware Failure Bypass Mode
APC UPS in Emergency Static Bypass Mode

* Update alert_rules.json

* Update alert_rules.json

fixed changes per request.

* Update alert_rules.json

fixed "white spaces and spaces"

* Update alert_rules.json

Fixed spaces and tabs... rookie mistake.
2017-09-20 22:58:24 +01:00