diff --git a/LibreNMS/Alert/AlertDB.php b/LibreNMS/Alert/AlertDB.php index 0b93ca39e8..919e9a36a1 100644 --- a/LibreNMS/Alert/AlertDB.php +++ b/LibreNMS/Alert/AlertDB.php @@ -19,12 +19,15 @@ * * * Original code: + * * @author Daniel Preussker * @copyright 2014 f0o, LibreNMS * @license GPL * * Modified by: + * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc. * @author Heath Barnhart */ @@ -51,6 +54,7 @@ class AlertDB /** * Generate SQL from Rule + * * @param string $rule Rule to generate SQL for * @return string|bool */ diff --git a/LibreNMS/Alert/AlertData.php b/LibreNMS/Alert/AlertData.php index 132b17138f..25246aaf35 100644 --- a/LibreNMS/Alert/AlertData.php +++ b/LibreNMS/Alert/AlertData.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Alert/AlertRules.php b/LibreNMS/Alert/AlertRules.php index 8ef4f10bd0..3f36563c06 100644 --- a/LibreNMS/Alert/AlertRules.php +++ b/LibreNMS/Alert/AlertRules.php @@ -18,10 +18,13 @@ * along with this program. If not, see . * * Original Code: + * * @author Daniel Preussker * @copyright 2014 f0o, LibreNMS * @license GPL + * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Alert/AlertUtil.php b/LibreNMS/Alert/AlertUtil.php index ac497c8991..49545aa913 100644 --- a/LibreNMS/Alert/AlertUtil.php +++ b/LibreNMS/Alert/AlertUtil.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc. * @author Heath Barnhart */ @@ -73,6 +74,7 @@ class AlertUtil /** * Find contacts for alert + * * @param array $results Rule-Result * @return array */ @@ -193,6 +195,7 @@ class AlertUtil /** * Check if device is under maintenance + * * @param int $device_id Device-ID * @return bool */ @@ -203,6 +206,7 @@ class AlertUtil /** * Check if device is set to ignore alerts + * * @param int $device_id Device-ID * @return bool */ @@ -215,6 +219,7 @@ class AlertUtil /** * Process Macros + * * @param string $rule Rule to process * @param int $x Recursion-Anchor * @return string|bool diff --git a/LibreNMS/Alert/RunAlerts.php b/LibreNMS/Alert/RunAlerts.php index abefd22959..88d3dc866a 100644 --- a/LibreNMS/Alert/RunAlerts.php +++ b/LibreNMS/Alert/RunAlerts.php @@ -41,6 +41,7 @@ class RunAlerts { /** * Populate variables + * * @param string $txt Text with variables * @param bool $wrap Wrap variable for text-usage (default: true) * @return string @@ -76,6 +77,7 @@ class RunAlerts /** * Describe Alert + * * @param array $alert Alert-Result from DB * @return array|bool|string */ @@ -196,6 +198,7 @@ class RunAlerts /** * Format Elapsed Time + * * @param int $secs Seconds elapsed * @return string */ @@ -236,6 +239,7 @@ class RunAlerts /** * Re-Validate Rule-Mappings + * * @param int $device_id Device-ID * @param int $rule Rule-ID * @return bool @@ -258,6 +262,7 @@ class RunAlerts /** * Issue Alert-Object + * * @param array $alert * @return bool */ @@ -285,6 +290,7 @@ class RunAlerts /** * Issue ACK notification + * * @return void */ public function runAcks() @@ -297,6 +303,7 @@ class RunAlerts /** * Run Follow-Up alerts + * * @return void */ public function runFollowUp() @@ -381,6 +388,7 @@ class RunAlerts /** * Run all alerts + * * @return void */ public function runAlerts() @@ -488,6 +496,7 @@ class RunAlerts /** * Run external transports + * * @param array $obj Alert-Array * @return void */ @@ -576,6 +585,7 @@ class RunAlerts /** * Check if a device's all parent are down * Returns true if all parents are down + * * @param int $device Device-ID * @return bool */ diff --git a/LibreNMS/Alert/Template.php b/LibreNMS/Alert/Template.php index 2fa76f55b9..187155f726 100644 --- a/LibreNMS/Alert/Template.php +++ b/LibreNMS/Alert/Template.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Neil Lathwood * @author Neil Lathwood */ diff --git a/LibreNMS/Alert/Transport.php b/LibreNMS/Alert/Transport.php index 668418ca1e..565b5b73b3 100644 --- a/LibreNMS/Alert/Transport.php +++ b/LibreNMS/Alert/Transport.php @@ -13,6 +13,7 @@ abstract class Transport implements TransportInterface /** * Transport constructor. + * * @param null $transport_id */ public function __construct($transport_id = null) @@ -44,6 +45,7 @@ abstract class Transport implements TransportInterface /** * Get the hex color string for a particular state + * * @param int $state State code from alert * @return string Hex color, default to #337AB7 blue if state unrecognised */ diff --git a/LibreNMS/Alert/Transport/Alerta.php b/LibreNMS/Alert/Transport/Alerta.php index 06ca0b7277..f003d198f6 100644 --- a/LibreNMS/Alert/Transport/Alerta.php +++ b/LibreNMS/Alert/Transport/Alerta.php @@ -7,6 +7,7 @@ * the source code distribution for details. */ /** * API Transport + * * @author GitStoph * @copyright 2019 GitStoph * @license GPL diff --git a/LibreNMS/Alert/Transport/Alertmanager.php b/LibreNMS/Alert/Transport/Alertmanager.php index 4262f2b392..50e7a7cf2d 100644 --- a/LibreNMS/Alert/Transport/Alertmanager.php +++ b/LibreNMS/Alert/Transport/Alertmanager.php @@ -15,6 +15,7 @@ /** * Alertmanager Transport + * * @copyright 2019 LibreNMS * @license GPL */ diff --git a/LibreNMS/Alert/Transport/Api.php b/LibreNMS/Alert/Transport/Api.php index 5f1f100344..08e9c4315a 100644 --- a/LibreNMS/Alert/Transport/Api.php +++ b/LibreNMS/Alert/Transport/Api.php @@ -15,6 +15,7 @@ /** * API Transport + * * @author f0o * @author PipoCanaja (github.com/PipoCanaja) * @copyright 2014 f0o, LibreNMS diff --git a/LibreNMS/Alert/Transport/Boxcar.php b/LibreNMS/Alert/Transport/Boxcar.php index ea5eb1f7ad..b78eccd6d7 100644 --- a/LibreNMS/Alert/Transport/Boxcar.php +++ b/LibreNMS/Alert/Transport/Boxcar.php @@ -29,6 +29,7 @@ /** * Boxcar API Transport + * * @author trick77 * @copyright 2015 trick77, neokjames, f0o, LibreNMS * @license GPL diff --git a/LibreNMS/Alert/Transport/Clickatell.php b/LibreNMS/Alert/Transport/Clickatell.php index 134c7eb9d7..90dd6c7fe8 100644 --- a/LibreNMS/Alert/Transport/Clickatell.php +++ b/LibreNMS/Alert/Transport/Clickatell.php @@ -15,6 +15,7 @@ /** * Clickatell REST-API Transport + * * @author f0o * @copyright 2015 f0o, LibreNMS * @license GPL diff --git a/LibreNMS/Alert/Transport/Discord.php b/LibreNMS/Alert/Transport/Discord.php index eb3a5d1ecb..2e54e8888c 100644 --- a/LibreNMS/Alert/Transport/Discord.php +++ b/LibreNMS/Alert/Transport/Discord.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Ryan Finney * @author https://github.com/theherodied/ * @contributer f0o, sdef2 diff --git a/LibreNMS/Alert/Transport/Dummy.php b/LibreNMS/Alert/Transport/Dummy.php index a9a567ed3f..b855a57da0 100644 --- a/LibreNMS/Alert/Transport/Dummy.php +++ b/LibreNMS/Alert/Transport/Dummy.php @@ -15,6 +15,7 @@ /** * Dummy Transport + * * @author f0o * @copyright 2014 f0o, LibreNMS * @license GPL diff --git a/LibreNMS/Alert/Transport/Gitlab.php b/LibreNMS/Alert/Transport/Gitlab.php index f8612347e5..e05191c65c 100644 --- a/LibreNMS/Alert/Transport/Gitlab.php +++ b/LibreNMS/Alert/Transport/Gitlab.php @@ -15,6 +15,7 @@ /** * GitLab API Transport + * * @author Drew Hynes * @copyright 2018 Drew Hynes, LibreNMS * @license GPL diff --git a/LibreNMS/Alert/Transport/Googlechat.php b/LibreNMS/Alert/Transport/Googlechat.php index 2e0201135a..597b27f90b 100755 --- a/LibreNMS/Alert/Transport/Googlechat.php +++ b/LibreNMS/Alert/Transport/Googlechat.php @@ -16,6 +16,7 @@ * along with this program. If not, see . * * @link http://librenms.org + * * @copyright 2021 Pablo Baldovi * @author Pablo Baldovi */ diff --git a/LibreNMS/Alert/Transport/Irc.php b/LibreNMS/Alert/Transport/Irc.php index 15caead84a..d16096dbce 100644 --- a/LibreNMS/Alert/Transport/Irc.php +++ b/LibreNMS/Alert/Transport/Irc.php @@ -15,6 +15,7 @@ /** * IRC Transport + * * @author f0o * @copyright 2014 f0o, LibreNMS * @license GPL diff --git a/LibreNMS/Alert/Transport/Jira.php b/LibreNMS/Alert/Transport/Jira.php index 8f63ba1c28..ceb789b47e 100644 --- a/LibreNMS/Alert/Transport/Jira.php +++ b/LibreNMS/Alert/Transport/Jira.php @@ -15,6 +15,7 @@ /** * Jira API Transport + * * @author Aldemir Akpinar * @copyright 2017 Aldemir Akpinar, LibreNMS * @license GPL diff --git a/LibreNMS/Alert/Transport/Mail.php b/LibreNMS/Alert/Transport/Mail.php index 2628bb56a5..cf62138d16 100644 --- a/LibreNMS/Alert/Transport/Mail.php +++ b/LibreNMS/Alert/Transport/Mail.php @@ -15,6 +15,7 @@ /** * Mail Transport + * * @author f0o * @copyright 2014 f0o, LibreNMS * @license GPL diff --git a/LibreNMS/Alert/Transport/Matrix.php b/LibreNMS/Alert/Transport/Matrix.php index 4f115a77b7..a63b589f83 100644 --- a/LibreNMS/Alert/Transport/Matrix.php +++ b/LibreNMS/Alert/Transport/Matrix.php @@ -15,6 +15,7 @@ /** * Matrix Transport + * * @author Raphael Dannecker (github.com/raphael247) * @copyright 2020 , LibreNMS * @license GPL diff --git a/LibreNMS/Alert/Transport/Mattermost.php b/LibreNMS/Alert/Transport/Mattermost.php index a7c77c0d0b..99b1d1aed8 100755 --- a/LibreNMS/Alert/Transport/Mattermost.php +++ b/LibreNMS/Alert/Transport/Mattermost.php @@ -15,6 +15,7 @@ /** * Mattermost API Transport + * * @author George Pantazis * @copyright 2019 George Pantazis, LibreNMS * @license GPL diff --git a/LibreNMS/Alert/Transport/Nagios.php b/LibreNMS/Alert/Transport/Nagios.php index 62f6366edf..42e5b7f951 100644 --- a/LibreNMS/Alert/Transport/Nagios.php +++ b/LibreNMS/Alert/Transport/Nagios.php @@ -15,6 +15,7 @@ /** * Nagios Transport + * * @author f0o * @copyright 2014 f0o, LibreNMS * @license GPL diff --git a/LibreNMS/Alert/Transport/Opsgenie.php b/LibreNMS/Alert/Transport/Opsgenie.php index c885a5dc1b..1a102d0d57 100755 --- a/LibreNMS/Alert/Transport/Opsgenie.php +++ b/LibreNMS/Alert/Transport/Opsgenie.php @@ -15,6 +15,7 @@ /** * OpsGenie API Transport + * * @author Celal Emre CICEK * @copyright 2017 Celal Emre CICEK * @license GPL diff --git a/LibreNMS/Alert/Transport/Pagerduty.php b/LibreNMS/Alert/Transport/Pagerduty.php index 459b3a4ba7..d6ef5877bc 100644 --- a/LibreNMS/Alert/Transport/Pagerduty.php +++ b/LibreNMS/Alert/Transport/Pagerduty.php @@ -15,6 +15,7 @@ /** * PagerDuty Generic-API Transport + * * @author f0o * @copyright 2015 f0o, LibreNMS * @license GPL diff --git a/LibreNMS/Alert/Transport/Playsms.php b/LibreNMS/Alert/Transport/Playsms.php index e39884abdd..029260cf0f 100644 --- a/LibreNMS/Alert/Transport/Playsms.php +++ b/LibreNMS/Alert/Transport/Playsms.php @@ -15,6 +15,7 @@ /** * PlaySMS API Transport + * * @author f0o * @copyright 2015 f0o, LibreNMS * @license GPL diff --git a/LibreNMS/Alert/Transport/Pushbullet.php b/LibreNMS/Alert/Transport/Pushbullet.php index cdaccdc6f2..214ea8188b 100644 --- a/LibreNMS/Alert/Transport/Pushbullet.php +++ b/LibreNMS/Alert/Transport/Pushbullet.php @@ -15,6 +15,7 @@ /** * Pushbullet API Transport + * * @author f0o * @copyright 2015 f0o, LibreNMS * @license GPL diff --git a/LibreNMS/Alert/Transport/Pushover.php b/LibreNMS/Alert/Transport/Pushover.php index 13ec63667b..45781c57ae 100644 --- a/LibreNMS/Alert/Transport/Pushover.php +++ b/LibreNMS/Alert/Transport/Pushover.php @@ -29,6 +29,7 @@ /** * Pushover API Transport + * * @author neokjames * @copyright 2015 neokjames, f0o, LibreNMS * @license GPL diff --git a/LibreNMS/Alert/Transport/Rocket.php b/LibreNMS/Alert/Transport/Rocket.php index 75fe0ef7da..c1fd09b98a 100644 --- a/LibreNMS/Alert/Transport/Rocket.php +++ b/LibreNMS/Alert/Transport/Rocket.php @@ -15,6 +15,7 @@ /** * API Transport + * * @author ToeiRei * @copyright 2017 ToeiRei, LibreNMS work based on the work of f0o. It's his work. * @license GPL diff --git a/LibreNMS/Alert/Transport/Sensu.php b/LibreNMS/Alert/Transport/Sensu.php index 14824786b8..9a98f96259 100644 --- a/LibreNMS/Alert/Transport/Sensu.php +++ b/LibreNMS/Alert/Transport/Sensu.php @@ -14,6 +14,7 @@ /** * API Transport + * * @author Adam Bishop * @copyright 2020 Adam Bishop, LibreNMS * @license GPL diff --git a/LibreNMS/Alert/Transport/Signal.php b/LibreNMS/Alert/Transport/Signal.php index f72a93a891..f833a1671c 100644 --- a/LibreNMS/Alert/Transport/Signal.php +++ b/LibreNMS/Alert/Transport/Signal.php @@ -14,6 +14,7 @@ /** * Signal Transport + * * @author kzink * @copyright 2021 kzink, LibreNMS * @license GPL diff --git a/LibreNMS/Alert/Transport/Signalwire.php b/LibreNMS/Alert/Transport/Signalwire.php index c81ad6b3b4..b1493654b9 100644 --- a/LibreNMS/Alert/Transport/Signalwire.php +++ b/LibreNMS/Alert/Transport/Signalwire.php @@ -9,6 +9,7 @@ /** * SignalWire API Transport + * * @author Igor Kuznetsov * This is modifyed Twilio class from Andy Rosen * @license GPL diff --git a/LibreNMS/Alert/Transport/Slack.php b/LibreNMS/Alert/Transport/Slack.php index ec59131623..a030933ee5 100644 --- a/LibreNMS/Alert/Transport/Slack.php +++ b/LibreNMS/Alert/Transport/Slack.php @@ -15,6 +15,7 @@ /** * API Transport + * * @author f0o * @copyright 2014 f0o, LibreNMS * @license GPL diff --git a/LibreNMS/Alert/Transport/Smseagle.php b/LibreNMS/Alert/Transport/Smseagle.php index 7d24184b73..031feda3d7 100644 --- a/LibreNMS/Alert/Transport/Smseagle.php +++ b/LibreNMS/Alert/Transport/Smseagle.php @@ -15,6 +15,7 @@ /** * SMSEagle API Transport + * * @author Barry O'Donovan * @copyright 2017 Barry O'Donovan, LibreNMS * @license GPL diff --git a/LibreNMS/Alert/Transport/Smsfeedback.php b/LibreNMS/Alert/Transport/Smsfeedback.php index 9cd5e31b49..d601b38f59 100644 --- a/LibreNMS/Alert/Transport/Smsfeedback.php +++ b/LibreNMS/Alert/Transport/Smsfeedback.php @@ -15,6 +15,7 @@ /** * SMSEagle API Transport + * * @author Barry O'Donovan * @copyright 2017 Barry O'Donovan, LibreNMS * @license GPL diff --git a/LibreNMS/Alert/Transport/Telegram.php b/LibreNMS/Alert/Transport/Telegram.php index 7d8a407b77..310a32acd2 100644 --- a/LibreNMS/Alert/Transport/Telegram.php +++ b/LibreNMS/Alert/Transport/Telegram.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/LibreNMS/Alert/Transport/Twilio.php b/LibreNMS/Alert/Transport/Twilio.php index 9793953147..a2394e3bf9 100644 --- a/LibreNMS/Alert/Transport/Twilio.php +++ b/LibreNMS/Alert/Transport/Twilio.php @@ -8,6 +8,7 @@ */ /** * Twilio API Transport + * * @author Andy Rosen * @license GPL */ diff --git a/LibreNMS/Alert/Transport/Ukfastpss.php b/LibreNMS/Alert/Transport/Ukfastpss.php index 3d57ccd771..43c1c27995 100644 --- a/LibreNMS/Alert/Transport/Ukfastpss.php +++ b/LibreNMS/Alert/Transport/Ukfastpss.php @@ -15,6 +15,7 @@ /** * UKFastPSS Transport + * * @author Lee Spottiswood (github.com/0x4c6565) * @copyright 2021, LibreNMS * @license GPL diff --git a/LibreNMS/Alert/Transport/Victorops.php b/LibreNMS/Alert/Transport/Victorops.php index f29080cfb4..bf672ec150 100644 --- a/LibreNMS/Alert/Transport/Victorops.php +++ b/LibreNMS/Alert/Transport/Victorops.php @@ -15,6 +15,7 @@ /** * VictorOps Generic-API Transport - Based on PagerDuty transport + * * @author f0o * @author laf * @copyright 2015 f0o, laf, LibreNMS diff --git a/LibreNMS/Alerting/QueryBuilderFilter.php b/LibreNMS/Alerting/QueryBuilderFilter.php index 2f2f520b99..53cc17445c 100644 --- a/LibreNMS/Alerting/QueryBuilderFilter.php +++ b/LibreNMS/Alerting/QueryBuilderFilter.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ @@ -41,6 +42,7 @@ class QueryBuilderFilter implements \JsonSerializable /** * QueryBuilderFilter constructor. + * * @param string $type alert|group */ public function __construct($type = 'alert') @@ -160,9 +162,12 @@ class QueryBuilderFilter implements \JsonSerializable /** * Specify data which should be serialized to JSON + * * @link https://php.net/manual/en/jsonserializable.jsonserialize.php + * * @return mixed data which can be serialized by json_encode, * which is a value of any type other than a resource. + * * @since 5.4.0 */ public function jsonSerialize() diff --git a/LibreNMS/Alerting/QueryBuilderFluentParser.php b/LibreNMS/Alerting/QueryBuilderFluentParser.php index ac91769b7c..70e7933e97 100644 --- a/LibreNMS/Alerting/QueryBuilderFluentParser.php +++ b/LibreNMS/Alerting/QueryBuilderFluentParser.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Alerting/QueryBuilderParser.php b/LibreNMS/Alerting/QueryBuilderParser.php index a1035226c9..eb2d559414 100644 --- a/LibreNMS/Alerting/QueryBuilderParser.php +++ b/LibreNMS/Alerting/QueryBuilderParser.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ @@ -458,9 +459,12 @@ class QueryBuilderParser implements \JsonSerializable /** * Specify data which should be serialized to JSON + * * @link https://php.net/manual/en/jsonserializable.jsonserialize.php + * * @return mixed data which can be serialized by json_encode, * which is a value of any type other than a resource. + * * @since 5.4.0 */ public function jsonSerialize() diff --git a/LibreNMS/Authentication/ActiveDirectoryCommon.php b/LibreNMS/Authentication/ActiveDirectoryCommon.php index 61be26b0ee..47d2925259 100644 --- a/LibreNMS/Authentication/ActiveDirectoryCommon.php +++ b/LibreNMS/Authentication/ActiveDirectoryCommon.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ @@ -176,6 +177,7 @@ trait ActiveDirectoryCommon /** * Generate a user array from an AD LDAP entry * Must have the attributes: objectsid, samaccountname, displayname, mail + * * @internal * * @param array $entry diff --git a/LibreNMS/Authentication/AuthorizerBase.php b/LibreNMS/Authentication/AuthorizerBase.php index 2e88797ed1..4669f4e31b 100644 --- a/LibreNMS/Authentication/AuthorizerBase.php +++ b/LibreNMS/Authentication/AuthorizerBase.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Authentication/LdapAuthorizationAuthorizer.php b/LibreNMS/Authentication/LdapAuthorizationAuthorizer.php index f89ac1d1c9..e77c032a48 100644 --- a/LibreNMS/Authentication/LdapAuthorizationAuthorizer.php +++ b/LibreNMS/Authentication/LdapAuthorizationAuthorizer.php @@ -16,6 +16,7 @@ /** * libreNMS HTTP-Authentication and LDAP Authorization Library + * * @author Maximilian Wilhelm * @copyright 2016 LibreNMS, Barbarossa * @license GPL diff --git a/LibreNMS/Authentication/LdapAuthorizer.php b/LibreNMS/Authentication/LdapAuthorizer.php index 0db9ab406f..1373cf2ba2 100644 --- a/LibreNMS/Authentication/LdapAuthorizer.php +++ b/LibreNMS/Authentication/LdapAuthorizer.php @@ -279,6 +279,7 @@ class LdapAuthorizer extends AuthorizerBase /** * Get the full dn with auth_ldap_prefix and auth_ldap_suffix + * * @internal * * @return string @@ -291,6 +292,7 @@ class LdapAuthorizer extends AuthorizerBase /** * Set auth_ldap_suffix ou according to $username dn * useful if Config::get('auth_ldap_wildcard_ou) is set + * * @internal * * @return false|true @@ -318,10 +320,12 @@ class LdapAuthorizer extends AuthorizerBase /** * Get the ldap connection. If it hasn't been established yet, connect and try to bind. + * * @internal * * @param bool $skip_bind do not attempt to bind on connection * @return false|resource + * * @throws AuthenticationException */ protected function getLdapConnection($skip_bind = false) diff --git a/LibreNMS/Authentication/LdapSessionCache.php b/LibreNMS/Authentication/LdapSessionCache.php index 6b6c5641f6..ae566d8458 100644 --- a/LibreNMS/Authentication/LdapSessionCache.php +++ b/LibreNMS/Authentication/LdapSessionCache.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Authentication/SSOAuthorizer.php b/LibreNMS/Authentication/SSOAuthorizer.php index e560b1a171..3d709ce7f0 100644 --- a/LibreNMS/Authentication/SSOAuthorizer.php +++ b/LibreNMS/Authentication/SSOAuthorizer.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://librenms.org + * * @copyright 2017 Adam Bishop * @author Adam Bishop */ diff --git a/LibreNMS/Authentication/TwoFactor.php b/LibreNMS/Authentication/TwoFactor.php index d42c8235f0..8a2fef2376 100644 --- a/LibreNMS/Authentication/TwoFactor.php +++ b/LibreNMS/Authentication/TwoFactor.php @@ -18,7 +18,9 @@ * along with this program. If not, see . * * @license GPL + * * @link https://www.librenms.org + * * @author f0o * @copyright 2014 f0o, LibreNMS * @copyright 2017 Tony Murray @@ -91,6 +93,7 @@ class TwoFactor /** * Generate Secret Key + * * @return string */ public static function genKey() @@ -160,6 +163,7 @@ class TwoFactor /** * Generate HOTP (RFC 4226) + * * @param string $key Secret Key * @param int|bool $counter Optional Counter, Defaults to Timestamp * @return string @@ -195,6 +199,7 @@ class TwoFactor /** * Generate 2fa URI + * * @param string $username * @param string $key * @param bool $counter if type is counter (false for time based) diff --git a/LibreNMS/Cache/Device.php b/LibreNMS/Cache/Device.php index a0119fcc81..a71de2368e 100644 --- a/LibreNMS/Cache/Device.php +++ b/LibreNMS/Cache/Device.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Component.php b/LibreNMS/Component.php index 76493d4b37..5893e8cc48 100644 --- a/LibreNMS/Component.php +++ b/LibreNMS/Component.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2015 Aaron Daniels * @author Aaron Daniels */ diff --git a/LibreNMS/ComposerHelper.php b/LibreNMS/ComposerHelper.php index cea42d3440..629f3f6517 100644 --- a/LibreNMS/ComposerHelper.php +++ b/LibreNMS/ComposerHelper.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Config.php b/LibreNMS/Config.php index d7384577b3..1121f0affb 100644 --- a/LibreNMS/Config.php +++ b/LibreNMS/Config.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ @@ -66,6 +67,7 @@ class Config /** * Reload the config from files/db + * * @return mixed */ public static function reload() @@ -105,6 +107,7 @@ class Config /** * Load the user config from config.php + * * @param array $config (this should be self::$config) */ private static function loadUserConfigFile(&$config) @@ -316,6 +319,7 @@ class Config /** * Get the full configuration array + * * @return array */ public static function getAll() diff --git a/LibreNMS/DB/Eloquent.php b/LibreNMS/DB/Eloquent.php index 96d00125d8..6710205b12 100644 --- a/LibreNMS/DB/Eloquent.php +++ b/LibreNMS/DB/Eloquent.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ @@ -73,6 +74,7 @@ class Eloquent /** * Set the strict mode for the current connection (will not persist) + * * @param bool $strict */ public static function setStrictMode($strict = true) diff --git a/LibreNMS/DB/Schema.php b/LibreNMS/DB/Schema.php index ee44586f49..59e2e54a5a 100644 --- a/LibreNMS/DB/Schema.php +++ b/LibreNMS/DB/Schema.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/DB/SyncsModels.php b/LibreNMS/DB/SyncsModels.php index 305bf4bf16..f7692e8d38 100644 --- a/LibreNMS/DB/SyncsModels.php +++ b/LibreNMS/DB/SyncsModels.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Data/Measure/Measurement.php b/LibreNMS/Data/Measure/Measurement.php index 9a5b55201c..8269dc3bbc 100644 --- a/LibreNMS/Data/Measure/Measurement.php +++ b/LibreNMS/Data/Measure/Measurement.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Data/Measure/MeasurementCollection.php b/LibreNMS/Data/Measure/MeasurementCollection.php index 49511d5d29..138e62dfd0 100644 --- a/LibreNMS/Data/Measure/MeasurementCollection.php +++ b/LibreNMS/Data/Measure/MeasurementCollection.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Data/Measure/MeasurementSummary.php b/LibreNMS/Data/Measure/MeasurementSummary.php index a9c6408e3f..0595a7eff6 100644 --- a/LibreNMS/Data/Measure/MeasurementSummary.php +++ b/LibreNMS/Data/Measure/MeasurementSummary.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Data/Store/BaseDatastore.php b/LibreNMS/Data/Store/BaseDatastore.php index 3873c4f023..30bece8475 100644 --- a/LibreNMS/Data/Store/BaseDatastore.php +++ b/LibreNMS/Data/Store/BaseDatastore.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ @@ -49,6 +50,7 @@ abstract class BaseDatastore implements DatastoreContract /** * Record statistics for operation + * * @param Measurement $stat */ protected function recordStatistic(Measurement $stat) diff --git a/LibreNMS/Data/Store/Datastore.php b/LibreNMS/Data/Store/Datastore.php index 2dc9bf5cd1..6faac2f3d0 100644 --- a/LibreNMS/Data/Store/Datastore.php +++ b/LibreNMS/Data/Store/Datastore.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ @@ -61,6 +62,7 @@ class Datastore /** * Datastore constructor. + * * @param array $datastores Implement DatastoreInterface */ public function __construct($datastores) diff --git a/LibreNMS/Data/Store/Graphite.php b/LibreNMS/Data/Store/Graphite.php index d7a5924789..baa4544155 100644 --- a/LibreNMS/Data/Store/Graphite.php +++ b/LibreNMS/Data/Store/Graphite.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @copyright 2017 Falk Stern * @author Tony Murray diff --git a/LibreNMS/Data/Store/InfluxDB.php b/LibreNMS/Data/Store/InfluxDB.php index c78a2771b8..b1f697c860 100644 --- a/LibreNMS/Data/Store/InfluxDB.php +++ b/LibreNMS/Data/Store/InfluxDB.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @copyright 2014 Neil Lathwood * @author Tony Murray diff --git a/LibreNMS/Data/Store/OpenTSDB.php b/LibreNMS/Data/Store/OpenTSDB.php index b4e4d7bf8e..a2d06dcb15 100644 --- a/LibreNMS/Data/Store/OpenTSDB.php +++ b/LibreNMS/Data/Store/OpenTSDB.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @copyright 2017 Yacine Benamsili * @author Tony Murray diff --git a/LibreNMS/Data/Store/Prometheus.php b/LibreNMS/Data/Store/Prometheus.php index 8c19df2623..f609ee1640 100644 --- a/LibreNMS/Data/Store/Prometheus.php +++ b/LibreNMS/Data/Store/Prometheus.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @copyright 2014 Neil Lathwood * @author Tony Murray diff --git a/LibreNMS/Data/Store/Rrd.php b/LibreNMS/Data/Store/Rrd.php index 4deed304f7..f2b26760ca 100644 --- a/LibreNMS/Data/Store/Rrd.php +++ b/LibreNMS/Data/Store/Rrd.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ @@ -187,6 +188,7 @@ class Rrd extends BaseDatastore * Where $options is an array, each entry which is not a number is replaced with "U" * * @internal + * * @param string $filename * @param array $data * @return array|string @@ -351,10 +353,12 @@ class Rrd extends BaseDatastore * Generates and pipes a command to rrdtool * * @internal + * * @param string $command create, update, updatev, graph, graphv, dump, restore, fetch, tune, first, last, lastupdate, info, resize, xport, flushcached * @param string $filename The full patth to the rrd file * @param string $options rrdtool command options * @return array the output of stdout and stderr in an array + * * @throws \Exception thrown when the rrdtool process(s) cannot be started */ private function command($command, $filename, $options) @@ -410,10 +414,12 @@ class Rrd extends BaseDatastore * Determines if --daemon and -O should be used * * @internal + * * @param string $command The base rrdtool command. Usually create, update, last. * @param string $filename The full path to the rrd file * @param string $options Options for the command possibly including the rrd definition * @return string returns a full command ready to be piped to rrdtool + * * @throws FileExistsException if rrdtool <1.4.3 and the rrd file exists locally */ public function buildCommand($command, $filename, $options) @@ -529,6 +535,7 @@ class Rrd extends BaseDatastore /** * Remove RRD file(s). Use with care as this permanently deletes rrd data. + * * @param string $hostname rrd subfolder (hostname) * @param string $prefix start of rrd file name all files matching will be deleted */ @@ -551,6 +558,7 @@ class Rrd extends BaseDatastore * * @param string $options * @return string + * * @throws \LibreNMS\Exceptions\FileExistsException * @throws \LibreNMS\Exceptions\RrdGraphException */ diff --git a/LibreNMS/Device/Availability.php b/LibreNMS/Device/Availability.php index c798b5a78b..2017615b5b 100644 --- a/LibreNMS/Device/Availability.php +++ b/LibreNMS/Device/Availability.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Thomas Berberich * @author Thomas Berberich */ diff --git a/LibreNMS/Device/Processor.php b/LibreNMS/Device/Processor.php index b757474010..ca75b5d211 100644 --- a/LibreNMS/Device/Processor.php +++ b/LibreNMS/Device/Processor.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ @@ -55,6 +56,7 @@ class Processor extends Model implements DiscoveryModule, PollerModule, Discover /** * Processor constructor. + * * @param string $type * @param int $device_id * @param string $oid diff --git a/LibreNMS/Device/Sensor.php b/LibreNMS/Device/Sensor.php index e0344f518b..188446c760 100644 --- a/LibreNMS/Device/Sensor.php +++ b/LibreNMS/Device/Sensor.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ @@ -202,6 +203,7 @@ class Sensor implements DiscoveryModule, PollerModule /** * Get the table for this sensor + * * @return string */ public function getTable() @@ -380,6 +382,7 @@ class Sensor implements DiscoveryModule, PollerModule * @param array $sensors * @param array $prefetch * @return array + * * @internal param $device */ protected static function processSensorData($sensors, $prefetch) @@ -594,6 +597,7 @@ class Sensor implements DiscoveryModule, PollerModule * 'unit' - units used by this class 'dBm' for example * 'icon' - font awesome icon used by this class * ) + * * @param bool $valid filter this list by valid types in the database * @param int $device_id when filtering, only return types valid for this device_id * @return array diff --git a/LibreNMS/Device/WirelessSensor.php b/LibreNMS/Device/WirelessSensor.php index f091efb5c5..14d65c94ec 100644 --- a/LibreNMS/Device/WirelessSensor.php +++ b/LibreNMS/Device/WirelessSensor.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ @@ -124,6 +125,7 @@ class WirelessSensor extends Sensor * 'unit' - units used by this class 'dBm' for example * 'icon' - font awesome icon used by this class * ) + * * @param bool $valid filter this list by valid types in the database * @param int $device_id when filtering, only return types valid for this device_id * @return array diff --git a/LibreNMS/Device/YamlDiscovery.php b/LibreNMS/Device/YamlDiscovery.php index 99008f8afd..2955815336 100644 --- a/LibreNMS/Device/YamlDiscovery.php +++ b/LibreNMS/Device/YamlDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ @@ -379,6 +380,7 @@ class YamlDiscovery * @param string $mib * @param string|null $mibdir * @return string numeric oid + * * @throws \LibreNMS\Exceptions\InvalidOidException */ public static function oidToNumeric($oid, $device = null, $mib = 'ALL', $mibdir = null) diff --git a/LibreNMS/Enum/Alert.php b/LibreNMS/Enum/Alert.php index 1c56bdaa70..0a95ced9e4 100644 --- a/LibreNMS/Enum/Alert.php +++ b/LibreNMS/Enum/Alert.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Thomas Berberich * @author Thomas Berberich */ diff --git a/LibreNMS/Enum/AlertState.php b/LibreNMS/Enum/AlertState.php index 0a08048b9b..3632af2a58 100644 --- a/LibreNMS/Enum/AlertState.php +++ b/LibreNMS/Enum/AlertState.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Thomas Berberich * @author Thomas Berberich */ diff --git a/LibreNMS/Exceptions/ApiException.php b/LibreNMS/Exceptions/ApiException.php index e640f9523f..88a84ea040 100644 --- a/LibreNMS/Exceptions/ApiException.php +++ b/LibreNMS/Exceptions/ApiException.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Exceptions/AuthenticationException.php b/LibreNMS/Exceptions/AuthenticationException.php index 047b633930..b7d3e951a7 100644 --- a/LibreNMS/Exceptions/AuthenticationException.php +++ b/LibreNMS/Exceptions/AuthenticationException.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Exceptions/DatabaseConnectException.php b/LibreNMS/Exceptions/DatabaseConnectException.php index 99f6f7d282..b9950bef8d 100644 --- a/LibreNMS/Exceptions/DatabaseConnectException.php +++ b/LibreNMS/Exceptions/DatabaseConnectException.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Exceptions/DuskUnsafeException.php b/LibreNMS/Exceptions/DuskUnsafeException.php index 4176017849..e6ad7e7299 100644 --- a/LibreNMS/Exceptions/DuskUnsafeException.php +++ b/LibreNMS/Exceptions/DuskUnsafeException.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Exceptions/FileExistsException.php b/LibreNMS/Exceptions/FileExistsException.php index f9b3a30f4a..541657ab62 100644 --- a/LibreNMS/Exceptions/FileExistsException.php +++ b/LibreNMS/Exceptions/FileExistsException.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Exceptions/FileNotFoundException.php b/LibreNMS/Exceptions/FileNotFoundException.php index f0a5e14cef..bc57d47e9d 100644 --- a/LibreNMS/Exceptions/FileNotFoundException.php +++ b/LibreNMS/Exceptions/FileNotFoundException.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Exceptions/FilePermissionsException.php b/LibreNMS/Exceptions/FilePermissionsException.php index d24d8def26..cdf8cfe4c1 100644 --- a/LibreNMS/Exceptions/FilePermissionsException.php +++ b/LibreNMS/Exceptions/FilePermissionsException.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Exceptions/FileWriteFailedException.php b/LibreNMS/Exceptions/FileWriteFailedException.php index 8bf16df452..f82a276533 100644 --- a/LibreNMS/Exceptions/FileWriteFailedException.php +++ b/LibreNMS/Exceptions/FileWriteFailedException.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Exceptions/HostExistsException.php b/LibreNMS/Exceptions/HostExistsException.php index 1a7339f554..58ca213d39 100644 --- a/LibreNMS/Exceptions/HostExistsException.php +++ b/LibreNMS/Exceptions/HostExistsException.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Exceptions/HostIpExistsException.php b/LibreNMS/Exceptions/HostIpExistsException.php index 92dcf9d627..bfa060016d 100644 --- a/LibreNMS/Exceptions/HostIpExistsException.php +++ b/LibreNMS/Exceptions/HostIpExistsException.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Exceptions/HostUnreachableException.php b/LibreNMS/Exceptions/HostUnreachableException.php index 7818ff3903..68d799e6d4 100644 --- a/LibreNMS/Exceptions/HostUnreachableException.php +++ b/LibreNMS/Exceptions/HostUnreachableException.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ @@ -40,6 +41,7 @@ class HostUnreachableException extends \Exception /** * Add additional reasons + * * @param string $message */ public function addReason($message) @@ -49,6 +51,7 @@ class HostUnreachableException extends \Exception /** * Get the reasons + * * @return array */ public function getReasons() diff --git a/LibreNMS/Exceptions/HostUnreachablePingException.php b/LibreNMS/Exceptions/HostUnreachablePingException.php index 6525a514f9..816fb98f6b 100644 --- a/LibreNMS/Exceptions/HostUnreachablePingException.php +++ b/LibreNMS/Exceptions/HostUnreachablePingException.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Exceptions/HostUnreachableSnmpException.php b/LibreNMS/Exceptions/HostUnreachableSnmpException.php index 6c7ff45874..4f07020277 100644 --- a/LibreNMS/Exceptions/HostUnreachableSnmpException.php +++ b/LibreNMS/Exceptions/HostUnreachableSnmpException.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Exceptions/InvalidIpException.php b/LibreNMS/Exceptions/InvalidIpException.php index 10c3b37d30..9a351d2626 100644 --- a/LibreNMS/Exceptions/InvalidIpException.php +++ b/LibreNMS/Exceptions/InvalidIpException.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Exceptions/InvalidModuleException.php b/LibreNMS/Exceptions/InvalidModuleException.php index 9c90252273..f4a67681bc 100644 --- a/LibreNMS/Exceptions/InvalidModuleException.php +++ b/LibreNMS/Exceptions/InvalidModuleException.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Exceptions/InvalidPortAssocModeException.php b/LibreNMS/Exceptions/InvalidPortAssocModeException.php index 49b6428403..cca436eaa0 100644 --- a/LibreNMS/Exceptions/InvalidPortAssocModeException.php +++ b/LibreNMS/Exceptions/InvalidPortAssocModeException.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Exceptions/InvalidRrdTypeException.php b/LibreNMS/Exceptions/InvalidRrdTypeException.php index 5f4180e459..1ede67ef96 100644 --- a/LibreNMS/Exceptions/InvalidRrdTypeException.php +++ b/LibreNMS/Exceptions/InvalidRrdTypeException.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Exceptions/LdapMissingException.php b/LibreNMS/Exceptions/LdapMissingException.php index 8321deeb00..ccb22bc4a4 100644 --- a/LibreNMS/Exceptions/LdapMissingException.php +++ b/LibreNMS/Exceptions/LdapMissingException.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Exceptions/LockException.php b/LibreNMS/Exceptions/LockException.php index 8b324239fd..cccc390520 100644 --- a/LibreNMS/Exceptions/LockException.php +++ b/LibreNMS/Exceptions/LockException.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Exceptions/MaximumExecutionTimeExceeded.php b/LibreNMS/Exceptions/MaximumExecutionTimeExceeded.php index 2cb9535f89..78ef0ef693 100644 --- a/LibreNMS/Exceptions/MaximumExecutionTimeExceeded.php +++ b/LibreNMS/Exceptions/MaximumExecutionTimeExceeded.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Exceptions/SnmpVersionUnsupportedException.php b/LibreNMS/Exceptions/SnmpVersionUnsupportedException.php index 65d8a1790a..bea520d55c 100644 --- a/LibreNMS/Exceptions/SnmpVersionUnsupportedException.php +++ b/LibreNMS/Exceptions/SnmpVersionUnsupportedException.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Exceptions/UnserializableRouteCache.php b/LibreNMS/Exceptions/UnserializableRouteCache.php index c847f8b6da..2a7db228d7 100644 --- a/LibreNMS/Exceptions/UnserializableRouteCache.php +++ b/LibreNMS/Exceptions/UnserializableRouteCache.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Fping.php b/LibreNMS/Fping.php index 4a917abe1f..bb9a58405a 100644 --- a/LibreNMS/Fping.php +++ b/LibreNMS/Fping.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Alert/Transport.php b/LibreNMS/Interfaces/Alert/Transport.php index 98720a7f23..2ee3d98714 100644 --- a/LibreNMS/Interfaces/Alert/Transport.php +++ b/LibreNMS/Interfaces/Alert/Transport.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Robrecht Plaisier * @author Robbrecht Plaisier */ diff --git a/LibreNMS/Interfaces/Authentication/Authorizer.php b/LibreNMS/Interfaces/Authentication/Authorizer.php index 5486f2e232..6e9ac80a9f 100644 --- a/LibreNMS/Interfaces/Authentication/Authorizer.php +++ b/LibreNMS/Interfaces/Authentication/Authorizer.php @@ -12,6 +12,7 @@ interface Authorizer * * @param array $credentials * @return true throws an Exception on failure + * * @throws AuthenticationException thrown if the username or password is invalid */ public function authenticate($credentials); diff --git a/LibreNMS/Interfaces/Data/Datastore.php b/LibreNMS/Interfaces/Data/Datastore.php index 6c05a09804..0078480df1 100644 --- a/LibreNMS/Interfaces/Data/Datastore.php +++ b/LibreNMS/Interfaces/Data/Datastore.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/DiscoveryModule.php b/LibreNMS/Interfaces/Discovery/DiscoveryModule.php index c756415966..a586b98a93 100644 --- a/LibreNMS/Interfaces/Discovery/DiscoveryModule.php +++ b/LibreNMS/Interfaces/Discovery/DiscoveryModule.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/MplsDiscovery.php b/LibreNMS/Interfaces/Discovery/MplsDiscovery.php index de57be0408..8b2fef7a61 100644 --- a/LibreNMS/Interfaces/Discovery/MplsDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/MplsDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/OSDetection.php b/LibreNMS/Interfaces/Discovery/OSDetection.php index da27b811b6..e56bc82bca 100644 --- a/LibreNMS/Interfaces/Discovery/OSDetection.php +++ b/LibreNMS/Interfaces/Discovery/OSDetection.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/OSDiscovery.php b/LibreNMS/Interfaces/Discovery/OSDiscovery.php index 7e7c4a811b..63384261cd 100644 --- a/LibreNMS/Interfaces/Discovery/OSDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/OSDiscovery.php @@ -19,6 +19,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/ProcessorDiscovery.php b/LibreNMS/Interfaces/Discovery/ProcessorDiscovery.php index 592d2d1b1d..218bbdca88 100644 --- a/LibreNMS/Interfaces/Discovery/ProcessorDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/ProcessorDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessApCountDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessApCountDiscovery.php index 34fcafbd69..020dfda625 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessApCountDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessApCountDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessCapacityDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessCapacityDiscovery.php index a26823d284..df30683238 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessCapacityDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessCapacityDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessCcqDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessCcqDiscovery.php index 582425985a..2582e0d59d 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessCcqDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessCcqDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessCellDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessCellDiscovery.php index e7735f101b..270b973a75 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessCellDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessCellDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link http://librenms.org + * * @copyright 2021 Janno Schouwenburg * @author Janno Schouwenburg */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessChannelDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessChannelDiscovery.php index 75cd91efba..f78ba390ae 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessChannelDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessChannelDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link http://librenms.org + * * @copyright 2021 Janno Schouwenburg * @author Janno Schouwenburg */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessClientsDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessClientsDiscovery.php index 7ef4d1653c..76fdab716f 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessClientsDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessClientsDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessDistanceDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessDistanceDiscovery.php index 410b35250a..4968da1a10 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessDistanceDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessDistanceDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessErrorRateDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessErrorRateDiscovery.php index 6003701f54..a4be91fe7c 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessErrorRateDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessErrorRateDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessErrorRatioDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessErrorRatioDiscovery.php index 7f3e81fd84..0e63fa8036 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessErrorRatioDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessErrorRatioDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessErrorsDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessErrorsDiscovery.php index 51c58a5da5..73ccbd3ad5 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessErrorsDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessErrorsDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessFrequencyDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessFrequencyDiscovery.php index 967e1ff838..6def830ef8 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessFrequencyDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessFrequencyDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessMseDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessMseDiscovery.php index 26143fb9f0..fbddacaf68 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessMseDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessMseDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessNoiseFloorDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessNoiseFloorDiscovery.php index b7d0535a3a..1946caf0c9 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessNoiseFloorDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessNoiseFloorDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessPowerDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessPowerDiscovery.php index c160749d98..b8c77cd2db 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessPowerDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessPowerDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessQualityDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessQualityDiscovery.php index 0c4100501b..bd230f61bc 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessQualityDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessQualityDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessRateDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessRateDiscovery.php index c59e12c915..3dd4572869 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessRateDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessRateDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessRsrpDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessRsrpDiscovery.php index e2d6239780..8a2e8bc8bd 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessRsrpDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessRsrpDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Jozef Rebjak * @author Jozef Rebjak */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessRsrqDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessRsrqDiscovery.php index c4ed8d2864..5199f93b0a 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessRsrqDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessRsrqDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Jozef Rebjak * @author Jozef Rebjak */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessRssiDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessRssiDiscovery.php index f538fc6c33..a3904cec74 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessRssiDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessRssiDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessSinrDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessSinrDiscovery.php index 1d2782852d..25efd6cab6 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessSinrDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessSinrDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Jozef Rebjak * @author Jozef Rebjak */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessSnrDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessSnrDiscovery.php index c7775e8bc1..9258dd16a7 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessSnrDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessSnrDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessSsrDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessSsrDiscovery.php index 2f7f5c4889..da8ea6e614 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessSsrDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessSsrDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Paul Heinrichs * @author Paul Heinrichs */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessUtilizationDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessUtilizationDiscovery.php index 69b99fd649..8e8b99d5d3 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessUtilizationDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessUtilizationDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/Sensors/WirelessXpiDiscovery.php b/LibreNMS/Interfaces/Discovery/Sensors/WirelessXpiDiscovery.php index 0cd04cb09f..9e9b036317 100644 --- a/LibreNMS/Interfaces/Discovery/Sensors/WirelessXpiDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/Sensors/WirelessXpiDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Discovery/SlaDiscovery.php b/LibreNMS/Interfaces/Discovery/SlaDiscovery.php index ba78ea0089..fb470093e7 100644 --- a/LibreNMS/Interfaces/Discovery/SlaDiscovery.php +++ b/LibreNMS/Interfaces/Discovery/SlaDiscovery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Exceptions/UpgradeableException.php b/LibreNMS/Interfaces/Exceptions/UpgradeableException.php index 32c9039dc7..d64f4bbf8e 100644 --- a/LibreNMS/Interfaces/Exceptions/UpgradeableException.php +++ b/LibreNMS/Interfaces/Exceptions/UpgradeableException.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Geocoder.php b/LibreNMS/Interfaces/Geocoder.php index 16e6551c86..5e90657b0d 100644 --- a/LibreNMS/Interfaces/Geocoder.php +++ b/LibreNMS/Interfaces/Geocoder.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/InstallerStep.php b/LibreNMS/Interfaces/InstallerStep.php index 493637886f..338a7c3025 100644 --- a/LibreNMS/Interfaces/InstallerStep.php +++ b/LibreNMS/Interfaces/InstallerStep.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Models/Keyable.php b/LibreNMS/Interfaces/Models/Keyable.php index 361b3f4dff..595f8dc2b8 100644 --- a/LibreNMS/Interfaces/Models/Keyable.php +++ b/LibreNMS/Interfaces/Models/Keyable.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ @@ -28,6 +29,7 @@ interface Keyable { /** * Get a string that can identify a unique instance of this model + * * @return string|int */ public function getCompositeKey(); diff --git a/LibreNMS/Interfaces/Module.php b/LibreNMS/Interfaces/Module.php index c35dc6e7ec..e6d90d8f81 100644 --- a/LibreNMS/Interfaces/Module.php +++ b/LibreNMS/Interfaces/Module.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/MplsPolling.php b/LibreNMS/Interfaces/Polling/MplsPolling.php index 2a499fc4f1..c8844a6341 100644 --- a/LibreNMS/Interfaces/Polling/MplsPolling.php +++ b/LibreNMS/Interfaces/Polling/MplsPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/NacPolling.php b/LibreNMS/Interfaces/Polling/NacPolling.php index 590dfcb876..de4b9b303c 100644 --- a/LibreNMS/Interfaces/Polling/NacPolling.php +++ b/LibreNMS/Interfaces/Polling/NacPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/OSPolling.php b/LibreNMS/Interfaces/Polling/OSPolling.php index 8e8355ef67..82e81abf69 100644 --- a/LibreNMS/Interfaces/Polling/OSPolling.php +++ b/LibreNMS/Interfaces/Polling/OSPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/PollerModule.php b/LibreNMS/Interfaces/Polling/PollerModule.php index 893becbb6b..7aade4df0c 100644 --- a/LibreNMS/Interfaces/Polling/PollerModule.php +++ b/LibreNMS/Interfaces/Polling/PollerModule.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/ProcessorPolling.php b/LibreNMS/Interfaces/Polling/ProcessorPolling.php index 012dfee995..a8d4650325 100644 --- a/LibreNMS/Interfaces/Polling/ProcessorPolling.php +++ b/LibreNMS/Interfaces/Polling/ProcessorPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessApCountPolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessApCountPolling.php index 35a79b5172..35642d8d81 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessApCountPolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessApCountPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessCapacityPolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessCapacityPolling.php index 7a7f8d3fea..5f938279d0 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessCapacityPolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessCapacityPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessCcqPolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessCcqPolling.php index ce9e432740..240b7504ec 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessCcqPolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessCcqPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessCellPolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessCellPolling.php index 1e34e1f080..7dc37d9902 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessCellPolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessCellPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link http://librenms.org + * * @copyright 2021 Janno Schouwenburg * @author Janno Schouwenburg */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessChannelPolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessChannelPolling.php index 4e58173367..dfcbeace45 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessChannelPolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessChannelPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link http://librenms.org + * * @copyright 2021 Janno Schouwenburg * @author Janno Schouwenburg */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessClientsPolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessClientsPolling.php index bea8b6f87e..70de0c5b92 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessClientsPolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessClientsPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessDistancePolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessDistancePolling.php index bd6bcb3b9a..82e7fa5eea 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessDistancePolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessDistancePolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessErrorRatePolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessErrorRatePolling.php index cd7f3bf7a4..4046ed8b59 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessErrorRatePolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessErrorRatePolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessErrorRatioPolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessErrorRatioPolling.php index 41bfc46fb8..6c46cab458 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessErrorRatioPolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessErrorRatioPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessErrorsPolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessErrorsPolling.php index ad652887d4..f9f38f7f98 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessErrorsPolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessErrorsPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessFrequencyPolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessFrequencyPolling.php index 8e5f1fb223..99a0e5555c 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessFrequencyPolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessFrequencyPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessMsePolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessMsePolling.php index e4cc9e40c0..acb606d94e 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessMsePolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessMsePolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessNoiseFloorPolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessNoiseFloorPolling.php index fa9163879d..95af68b566 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessNoiseFloorPolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessNoiseFloorPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessPowerPolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessPowerPolling.php index 067d22adc7..60607cb516 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessPowerPolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessPowerPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessQualityPolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessQualityPolling.php index 1f52824350..c0fa165556 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessQualityPolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessQualityPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessRatePolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessRatePolling.php index 85cd6d8147..724f0c856f 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessRatePolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessRatePolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessRsrpPolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessRsrpPolling.php index 63ddcc3273..b66f9c0e77 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessRsrpPolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessRsrpPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Jozef Rebjak * @author Jozef Rebjak */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessRsrqPolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessRsrqPolling.php index ca12112f6a..1be638d852 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessRsrqPolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessRsrqPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Jozef Rebjak * @author Jozef Rebjak */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessRssiPolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessRssiPolling.php index baab14a00b..6dbeda23fc 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessRssiPolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessRssiPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessSinrPolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessSinrPolling.php index edc22111bc..1feb948250 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessSinrPolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessSinrPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Jozef Rebjak * @author Jozef Rebjak */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessSnrPolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessSnrPolling.php index 4557acffc5..f69fda58fb 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessSnrPolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessSnrPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessSsrPolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessSsrPolling.php index 4ff397db88..b4e3d09829 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessSsrPolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessSsrPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Paul Heinrichs * @author Paul Heinrichs */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessUtilizationPolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessUtilizationPolling.php index 251e691b85..3b35724699 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessUtilizationPolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessUtilizationPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/Sensors/WirelessXpiPolling.php b/LibreNMS/Interfaces/Polling/Sensors/WirelessXpiPolling.php index f1d6752ec7..aa8383b962 100644 --- a/LibreNMS/Interfaces/Polling/Sensors/WirelessXpiPolling.php +++ b/LibreNMS/Interfaces/Polling/Sensors/WirelessXpiPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/Polling/SlaPolling.php b/LibreNMS/Interfaces/Polling/SlaPolling.php index 53940b1328..6516e6c51f 100644 --- a/LibreNMS/Interfaces/Polling/SlaPolling.php +++ b/LibreNMS/Interfaces/Polling/SlaPolling.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/SnmptrapHandler.php b/LibreNMS/Interfaces/SnmptrapHandler.php index b9db89dc02..510807a2c4 100644 --- a/LibreNMS/Interfaces/SnmptrapHandler.php +++ b/LibreNMS/Interfaces/SnmptrapHandler.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Interfaces/UI/DeviceTab.php b/LibreNMS/Interfaces/UI/DeviceTab.php index 8f6f7968b1..e448c36e08 100644 --- a/LibreNMS/Interfaces/UI/DeviceTab.php +++ b/LibreNMS/Interfaces/UI/DeviceTab.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ @@ -30,6 +31,7 @@ interface DeviceTab { /** * Check if the tab is visible + * * @param Device $device * @return bool */ @@ -37,24 +39,28 @@ interface DeviceTab /** * The url slug for this tab + * * @return string */ public function slug(): string; /** * The icon to display for this tab + * * @return string */ public function icon(): string; /** * Name to display for this tab + * * @return string */ public function name(): string; /** * Collect data to send to the view + * * @param Device $device * @return array */ diff --git a/LibreNMS/Interfaces/ValidationGroup.php b/LibreNMS/Interfaces/ValidationGroup.php index 1561d65c87..daf2631855 100644 --- a/LibreNMS/Interfaces/ValidationGroup.php +++ b/LibreNMS/Interfaces/ValidationGroup.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Modules/Core.php b/LibreNMS/Modules/Core.php index b11c650dd0..3fcec43360 100644 --- a/LibreNMS/Modules/Core.php +++ b/LibreNMS/Modules/Core.php @@ -36,6 +36,7 @@ class Core * @param array $device device to check * @param bool $fetch fetch sysDescr and sysObjectID fresh from the device * @return string the name of the os + * * @throws \Exception */ public static function detectOS($device, $fetch = true) diff --git a/LibreNMS/Modules/Isis.php b/LibreNMS/Modules/Isis.php index 15fd29e729..4a07fafbda 100644 --- a/LibreNMS/Modules/Isis.php +++ b/LibreNMS/Modules/Isis.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link http://librenms.org + * * @copyright 2021 Otto Reinikainen * @author Otto Reinikainen */ diff --git a/LibreNMS/Modules/Mpls.php b/LibreNMS/Modules/Mpls.php index 6ff855749f..69ee7001d4 100644 --- a/LibreNMS/Modules/Mpls.php +++ b/LibreNMS/Modules/Mpls.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Vitali Kari * @copyright 2019 Tony Murray * @author Vitali Kari diff --git a/LibreNMS/Modules/Nac.php b/LibreNMS/Modules/Nac.php index 239e40ed27..538840dafe 100644 --- a/LibreNMS/Modules/Nac.php +++ b/LibreNMS/Modules/Nac.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Modules/OS.php b/LibreNMS/Modules/OS.php index e4f34616cb..9822deb9d1 100644 --- a/LibreNMS/Modules/OS.php +++ b/LibreNMS/Modules/OS.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS.php b/LibreNMS/OS.php index 6fe3002bbb..42aa20a572 100644 --- a/LibreNMS/OS.php +++ b/LibreNMS/OS.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Aen.php b/LibreNMS/OS/Aen.php index 269aafd09c..22b3137ec0 100644 --- a/LibreNMS/OS/Aen.php +++ b/LibreNMS/OS/Aen.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Airos.php b/LibreNMS/OS/Airos.php index 5ad9f0345e..ee66b3e209 100644 --- a/LibreNMS/OS/Airos.php +++ b/LibreNMS/OS/Airos.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/AirosAf.php b/LibreNMS/OS/AirosAf.php index 23e3f2d5df..8d2ea305bf 100644 --- a/LibreNMS/OS/AirosAf.php +++ b/LibreNMS/OS/AirosAf.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Airport.php b/LibreNMS/OS/Airport.php index 75e503a743..9aa982232b 100644 --- a/LibreNMS/OS/Airport.php +++ b/LibreNMS/OS/Airport.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Aix.php b/LibreNMS/OS/Aix.php index e3611d2f07..00cf22051c 100644 --- a/LibreNMS/OS/Aix.php +++ b/LibreNMS/OS/Aix.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/AlcomaAlmp.php b/LibreNMS/OS/AlcomaAlmp.php index fe9088d90d..45156ede25 100644 --- a/LibreNMS/OS/AlcomaAlmp.php +++ b/LibreNMS/OS/AlcomaAlmp.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Allied.php b/LibreNMS/OS/Allied.php index 765934ec31..540095bb6b 100644 --- a/LibreNMS/OS/Allied.php +++ b/LibreNMS/OS/Allied.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/AllworxVoip.php b/LibreNMS/OS/AllworxVoip.php index 09b7bbedf8..279adeda69 100644 --- a/LibreNMS/OS/AllworxVoip.php +++ b/LibreNMS/OS/AllworxVoip.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Aos.php b/LibreNMS/OS/Aos.php index 2b15a15f98..b2b0f93583 100644 --- a/LibreNMS/OS/Aos.php +++ b/LibreNMS/OS/Aos.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Apc.php b/LibreNMS/OS/Apc.php index 9d83379bb7..7cc423cbd0 100644 --- a/LibreNMS/OS/Apc.php +++ b/LibreNMS/OS/Apc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Aprisa.php b/LibreNMS/OS/Aprisa.php index b34420203f..c632d9b7c0 100644 --- a/LibreNMS/OS/Aprisa.php +++ b/LibreNMS/OS/Aprisa.php @@ -16,6 +16,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Maikel de Boer and Janno Schouwenburg * @author Maikel de Boer , Janno Schouwenburg */ diff --git a/LibreNMS/OS/Apsoluteos.php b/LibreNMS/OS/Apsoluteos.php index 98310fa97c..751e68e3a0 100644 --- a/LibreNMS/OS/Apsoluteos.php +++ b/LibreNMS/OS/Apsoluteos.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Simone Fini * @author Simone Fini * @copyright 2020 Tony Murray diff --git a/LibreNMS/OS/ArrisC4.php b/LibreNMS/OS/ArrisC4.php index 6a65889570..4d4f491693 100644 --- a/LibreNMS/OS/ArrisC4.php +++ b/LibreNMS/OS/ArrisC4.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood * @copyright 2020 Tony Murray diff --git a/LibreNMS/OS/ArubaInstant.php b/LibreNMS/OS/ArubaInstant.php index 3c0fad07ca..19168727d6 100644 --- a/LibreNMS/OS/ArubaInstant.php +++ b/LibreNMS/OS/ArubaInstant.php @@ -19,6 +19,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Timothy Willey * @author Timothy Willey */ diff --git a/LibreNMS/OS/Arubaos.php b/LibreNMS/OS/Arubaos.php index 6550e5c0d6..388130e211 100644 --- a/LibreNMS/OS/Arubaos.php +++ b/LibreNMS/OS/Arubaos.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/AsuswrtMerlin.php b/LibreNMS/OS/AsuswrtMerlin.php index df6d8d7a83..ba1333ca72 100644 --- a/LibreNMS/OS/AsuswrtMerlin.php +++ b/LibreNMS/OS/AsuswrtMerlin.php @@ -16,6 +16,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/AviatWtm.php b/LibreNMS/OS/AviatWtm.php index 2f9c1c7cb1..321eef178f 100644 --- a/LibreNMS/OS/AviatWtm.php +++ b/LibreNMS/OS/AviatWtm.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Josh Baird * @author Josh Baird */ diff --git a/LibreNMS/OS/Avocent.php b/LibreNMS/OS/Avocent.php index 2ce0571164..8115496af9 100644 --- a/LibreNMS/OS/Avocent.php +++ b/LibreNMS/OS/Avocent.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Awplus.php b/LibreNMS/OS/Awplus.php index 36861579cc..29010d9a34 100644 --- a/LibreNMS/OS/Awplus.php +++ b/LibreNMS/OS/Awplus.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Barracudangfirewall.php b/LibreNMS/OS/Barracudangfirewall.php index 6d07584293..afe2c65b15 100644 --- a/LibreNMS/OS/Barracudangfirewall.php +++ b/LibreNMS/OS/Barracudangfirewall.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Beagleboard.php b/LibreNMS/OS/Beagleboard.php index 7922a15735..10583dec15 100644 --- a/LibreNMS/OS/Beagleboard.php +++ b/LibreNMS/OS/Beagleboard.php @@ -16,6 +16,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Boss.php b/LibreNMS/OS/Boss.php index 2ed631b2f8..dcc8fd1db1 100644 --- a/LibreNMS/OS/Boss.php +++ b/LibreNMS/OS/Boss.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Brother.php b/LibreNMS/OS/Brother.php index 89505ff2c3..136ccab50f 100644 --- a/LibreNMS/OS/Brother.php +++ b/LibreNMS/OS/Brother.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Ceraos.php b/LibreNMS/OS/Ceraos.php index 5d847652f7..59a9fec45f 100644 --- a/LibreNMS/OS/Ceraos.php +++ b/LibreNMS/OS/Ceraos.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Ciscowlc.php b/LibreNMS/OS/Ciscowlc.php index ad7790e969..9491c5bf30 100644 --- a/LibreNMS/OS/Ciscowlc.php +++ b/LibreNMS/OS/Ciscowlc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Cnpilote.php b/LibreNMS/OS/Cnpilote.php index 563c79d471..d115d3c5db 100644 --- a/LibreNMS/OS/Cnpilote.php +++ b/LibreNMS/OS/Cnpilote.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Paul Heinrichs * @author Paul Heinrichs */ diff --git a/LibreNMS/OS/Comware.php b/LibreNMS/OS/Comware.php index 30187248af..72b213c6bd 100644 --- a/LibreNMS/OS/Comware.php +++ b/LibreNMS/OS/Comware.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Deliberant.php b/LibreNMS/OS/Deliberant.php index bbee3bb42d..7fd3a66450 100644 --- a/LibreNMS/OS/Deliberant.php +++ b/LibreNMS/OS/Deliberant.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Dlink.php b/LibreNMS/OS/Dlink.php index 0cea14e756..8ccf5e7da0 100644 --- a/LibreNMS/OS/Dlink.php +++ b/LibreNMS/OS/Dlink.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Dlinkap.php b/LibreNMS/OS/Dlinkap.php index 8646334aa1..24e94d3ac2 100644 --- a/LibreNMS/OS/Dlinkap.php +++ b/LibreNMS/OS/Dlinkap.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Dnos.php b/LibreNMS/OS/Dnos.php index 3cceb22612..771cb826e1 100644 --- a/LibreNMS/OS/Dnos.php +++ b/LibreNMS/OS/Dnos.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Edgecos.php b/LibreNMS/OS/Edgecos.php index f8af9ac58e..6b4132f166 100644 --- a/LibreNMS/OS/Edgecos.php +++ b/LibreNMS/OS/Edgecos.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ @@ -120,6 +121,7 @@ class Edgecos extends OS implements MempoolsDiscovery, ProcessorDiscovery /** * Find the MIB based on sysObjectID + * * @return string */ protected function findMib(): ?string diff --git a/LibreNMS/OS/Edgeos.php b/LibreNMS/OS/Edgeos.php index a7dcb48c75..7f330f700c 100644 --- a/LibreNMS/OS/Edgeos.php +++ b/LibreNMS/OS/Edgeos.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Edgeswitch.php b/LibreNMS/OS/Edgeswitch.php index ca2c51cdfd..137a22d07b 100644 --- a/LibreNMS/OS/Edgeswitch.php +++ b/LibreNMS/OS/Edgeswitch.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Ekinops.php b/LibreNMS/OS/Ekinops.php index 7ed3209f0f..7d95c22cc9 100644 --- a/LibreNMS/OS/Ekinops.php +++ b/LibreNMS/OS/Ekinops.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright KanREN, Inc 2020 * @author Heath Barnhart */ @@ -45,6 +46,7 @@ class Ekinops extends OS implements OSDiscovery /** * Parses Ekinops inventory returned in a tabular format within a single OID + * * @param string $ekiInfo * @return array $inv */ diff --git a/LibreNMS/OS/Endrun.php b/LibreNMS/OS/Endrun.php index 0885932358..aa93e07526 100644 --- a/LibreNMS/OS/Endrun.php +++ b/LibreNMS/OS/Endrun.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Hans Erasmus * @author Hans Erasmus */ diff --git a/LibreNMS/OS/Epmp.php b/LibreNMS/OS/Epmp.php index 9dc2530397..5f5d0f1b78 100644 --- a/LibreNMS/OS/Epmp.php +++ b/LibreNMS/OS/Epmp.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Paul Heinrichs * @author Paul Heinrichs */ diff --git a/LibreNMS/OS/Ericsson6600.php b/LibreNMS/OS/Ericsson6600.php index 0953dcb2e9..8faae9127b 100644 --- a/LibreNMS/OS/Ericsson6600.php +++ b/LibreNMS/OS/Ericsson6600.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2021 Maikel de Boer * @author Maikel de Boer */ diff --git a/LibreNMS/OS/EricssonMl.php b/LibreNMS/OS/EricssonMl.php index 58a11a8fa1..de25639b52 100644 --- a/LibreNMS/OS/EricssonMl.php +++ b/LibreNMS/OS/EricssonMl.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Ewc.php b/LibreNMS/OS/Ewc.php index 2060d9acb7..63437bafc7 100644 --- a/LibreNMS/OS/Ewc.php +++ b/LibreNMS/OS/Ewc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 James Andrewartha * @author James Andrewartha */ diff --git a/LibreNMS/OS/Exa.php b/LibreNMS/OS/Exa.php index 87ed73bba7..07df342ac4 100644 --- a/LibreNMS/OS/Exa.php +++ b/LibreNMS/OS/Exa.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Extendair.php b/LibreNMS/OS/Extendair.php index 8b3ec47406..40e5e2030d 100644 --- a/LibreNMS/OS/Extendair.php +++ b/LibreNMS/OS/Extendair.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Fabos.php b/LibreNMS/OS/Fabos.php index 9d1f5fa3f1..f639ebae48 100644 --- a/LibreNMS/OS/Fabos.php +++ b/LibreNMS/OS/Fabos.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/FsGbn.php b/LibreNMS/OS/FsGbn.php index 969893d8b1..53aa01b5d3 100644 --- a/LibreNMS/OS/FsGbn.php +++ b/LibreNMS/OS/FsGbn.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 PipoCanaja * @author PipoCanaja */ diff --git a/LibreNMS/OS/FsSwitch.php b/LibreNMS/OS/FsSwitch.php index 9c6020106a..77a539ff21 100644 --- a/LibreNMS/OS/FsSwitch.php +++ b/LibreNMS/OS/FsSwitch.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 PipoCanaja * @author PipoCanaja */ diff --git a/LibreNMS/OS/Ftos.php b/LibreNMS/OS/Ftos.php index 6b35619a19..c4f2658f05 100644 --- a/LibreNMS/OS/Ftos.php +++ b/LibreNMS/OS/Ftos.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Generic.php b/LibreNMS/OS/Generic.php index b2d50d97d2..d8bbd6e4fe 100644 --- a/LibreNMS/OS/Generic.php +++ b/LibreNMS/OS/Generic.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Gepulsar.php b/LibreNMS/OS/Gepulsar.php index 125a13954c..a9228f3047 100644 --- a/LibreNMS/OS/Gepulsar.php +++ b/LibreNMS/OS/Gepulsar.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @author Craig Harris */ diff --git a/LibreNMS/OS/Helios.php b/LibreNMS/OS/Helios.php index 0839478b7e..f9b2735b42 100644 --- a/LibreNMS/OS/Helios.php +++ b/LibreNMS/OS/Helios.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/HiveosWireless.php b/LibreNMS/OS/HiveosWireless.php index f4e8337089..9a8351b193 100644 --- a/LibreNMS/OS/HiveosWireless.php +++ b/LibreNMS/OS/HiveosWireless.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Ryan Finney * @author https://github.com/theherodied/ */ diff --git a/LibreNMS/OS/Hpmsm.php b/LibreNMS/OS/Hpmsm.php index 4b0d237d9b..ea44362be9 100644 --- a/LibreNMS/OS/Hpmsm.php +++ b/LibreNMS/OS/Hpmsm.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Ifotec.php b/LibreNMS/OS/Ifotec.php index b6ef6dccc8..fd903a310d 100644 --- a/LibreNMS/OS/Ifotec.php +++ b/LibreNMS/OS/Ifotec.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright LibreNMS contributors * @author Cedric MARMONIER */ diff --git a/LibreNMS/OS/Infinity.php b/LibreNMS/OS/Infinity.php index 51f93ce7e2..62d80d6716 100644 --- a/LibreNMS/OS/Infinity.php +++ b/LibreNMS/OS/Infinity.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Ios.php b/LibreNMS/OS/Ios.php index 9a194ac948..6efbcce700 100644 --- a/LibreNMS/OS/Ios.php +++ b/LibreNMS/OS/Ios.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Iosxe.php b/LibreNMS/OS/Iosxe.php index b7126813e5..c8e5e9a788 100644 --- a/LibreNMS/OS/Iosxe.php +++ b/LibreNMS/OS/Iosxe.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Iosxr.php b/LibreNMS/OS/Iosxr.php index 4012e64460..44d5e7374a 100644 --- a/LibreNMS/OS/Iosxr.php +++ b/LibreNMS/OS/Iosxr.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Ironware.php b/LibreNMS/OS/Ironware.php index c9f4197d8b..db1bdf938a 100644 --- a/LibreNMS/OS/Ironware.php +++ b/LibreNMS/OS/Ironware.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Lcos.php b/LibreNMS/OS/Lcos.php index b5719db3eb..043862152b 100644 --- a/LibreNMS/OS/Lcos.php +++ b/LibreNMS/OS/Lcos.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Vitali Kari * @author Vitali Kari */ diff --git a/LibreNMS/OS/Mimosa.php b/LibreNMS/OS/Mimosa.php index 4746b68efe..aff5875c21 100644 --- a/LibreNMS/OS/Mimosa.php +++ b/LibreNMS/OS/Mimosa.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/MoxaEtherdevice.php b/LibreNMS/OS/MoxaEtherdevice.php index fb4cf8b83f..6351c65104 100644 --- a/LibreNMS/OS/MoxaEtherdevice.php +++ b/LibreNMS/OS/MoxaEtherdevice.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Netsure.php b/LibreNMS/OS/Netsure.php index 9568cbb5f4..45ce4a52c9 100644 --- a/LibreNMS/OS/Netsure.php +++ b/LibreNMS/OS/Netsure.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @author Craig Harris */ diff --git a/LibreNMS/OS/Openwrt.php b/LibreNMS/OS/Openwrt.php index d391ad8ec2..fb08a92339 100644 --- a/LibreNMS/OS/Openwrt.php +++ b/LibreNMS/OS/Openwrt.php @@ -16,6 +16,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Packetlight.php b/LibreNMS/OS/Packetlight.php index f9fc1a24ec..ed42251248 100644 --- a/LibreNMS/OS/Packetlight.php +++ b/LibreNMS/OS/Packetlight.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 PipoCanaja * @author PipoCanaja */ diff --git a/LibreNMS/OS/Pbn.php b/LibreNMS/OS/Pbn.php index 2cf9d16b92..a4bffa81d6 100644 --- a/LibreNMS/OS/Pbn.php +++ b/LibreNMS/OS/Pbn.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Pepwave.php b/LibreNMS/OS/Pepwave.php index 301c9f6a11..5eb5a127bc 100644 --- a/LibreNMS/OS/Pepwave.php +++ b/LibreNMS/OS/Pepwave.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Jozef Rebjak * @author Jozef Rebjak */ diff --git a/LibreNMS/OS/Pmp.php b/LibreNMS/OS/Pmp.php index d86839de8e..4c3977d7e3 100644 --- a/LibreNMS/OS/Pmp.php +++ b/LibreNMS/OS/Pmp.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Paul Heinrichs * @author Paul Heinrichs */ diff --git a/LibreNMS/OS/Powerconnect.php b/LibreNMS/OS/Powerconnect.php index 0b56df2265..0d34f73f2f 100644 --- a/LibreNMS/OS/Powerconnect.php +++ b/LibreNMS/OS/Powerconnect.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Ptp250.php b/LibreNMS/OS/Ptp250.php index 1776414e27..bd1ec93050 100644 --- a/LibreNMS/OS/Ptp250.php +++ b/LibreNMS/OS/Ptp250.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Paul Heinrichs * @author Paul Heinrichs */ diff --git a/LibreNMS/OS/Ptp500.php b/LibreNMS/OS/Ptp500.php index b9a163330a..40f909e8af 100644 --- a/LibreNMS/OS/Ptp500.php +++ b/LibreNMS/OS/Ptp500.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Paul Heinrichs * @author Paul Heinrichs */ diff --git a/LibreNMS/OS/Ptp600.php b/LibreNMS/OS/Ptp600.php index 3d7a570db7..0f4a760eef 100644 --- a/LibreNMS/OS/Ptp600.php +++ b/LibreNMS/OS/Ptp600.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Paul Heinrichs * @author Paul Heinrichs */ diff --git a/LibreNMS/OS/Ptp650.php b/LibreNMS/OS/Ptp650.php index 6640a81d4f..e3b1271399 100644 --- a/LibreNMS/OS/Ptp650.php +++ b/LibreNMS/OS/Ptp650.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Paul Heinrichs * @author Paul Heinrichs */ diff --git a/LibreNMS/OS/Ptp670.php b/LibreNMS/OS/Ptp670.php index 73dfdf2bfa..4f21a916c9 100644 --- a/LibreNMS/OS/Ptp670.php +++ b/LibreNMS/OS/Ptp670.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Paul Heinrichs * @author Paul Heinrichs */ diff --git a/LibreNMS/OS/Ptp800.php b/LibreNMS/OS/Ptp800.php index 68a4fa5b25..8dd6a09310 100644 --- a/LibreNMS/OS/Ptp800.php +++ b/LibreNMS/OS/Ptp800.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Paul Heinrichs * @author Paul Heinrichs */ diff --git a/LibreNMS/OS/Qnap.php b/LibreNMS/OS/Qnap.php index 2a4d311af4..b287e8cda0 100644 --- a/LibreNMS/OS/Qnap.php +++ b/LibreNMS/OS/Qnap.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Daniel Baeza * @author Daniel Baeza */ diff --git a/LibreNMS/OS/Quanta.php b/LibreNMS/OS/Quanta.php index e56b75720c..16e83169f7 100644 --- a/LibreNMS/OS/Quanta.php +++ b/LibreNMS/OS/Quanta.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Quantastor.php b/LibreNMS/OS/Quantastor.php index 3036f8d81d..036699515c 100644 --- a/LibreNMS/OS/Quantastor.php +++ b/LibreNMS/OS/Quantastor.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Cercel Valentin * @author Cercel Valentin */ diff --git a/LibreNMS/OS/Radwin.php b/LibreNMS/OS/Radwin.php index 03819a9195..a343294100 100644 --- a/LibreNMS/OS/Radwin.php +++ b/LibreNMS/OS/Radwin.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Vivia Nguyen-Tran * @author Vivia Nguyen-Tran */ diff --git a/LibreNMS/OS/Ray.php b/LibreNMS/OS/Ray.php index 3a068f91af..2f5fa2adfc 100644 --- a/LibreNMS/OS/Ray.php +++ b/LibreNMS/OS/Ray.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Routeros.php b/LibreNMS/OS/Routeros.php index 7100fc4e3f..90a94b0113 100644 --- a/LibreNMS/OS/Routeros.php +++ b/LibreNMS/OS/Routeros.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Rutos2xx.php b/LibreNMS/OS/Rutos2xx.php index 853b0a5eb9..a7cfe5fa17 100644 --- a/LibreNMS/OS/Rutos2xx.php +++ b/LibreNMS/OS/Rutos2xx.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Jozef Rebjak * @author Jozef Rebjak */ diff --git a/LibreNMS/OS/Saf.php b/LibreNMS/OS/Saf.php index 586ddce907..8d191ea658 100644 --- a/LibreNMS/OS/Saf.php +++ b/LibreNMS/OS/Saf.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/SafCfm.php b/LibreNMS/OS/SafCfm.php index c0cc6fd4fd..e389aceda8 100644 --- a/LibreNMS/OS/SafCfm.php +++ b/LibreNMS/OS/SafCfm.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Janno Schouwenburg * @author Janno Schouwenburg */ diff --git a/LibreNMS/OS/SafIntegraB.php b/LibreNMS/OS/SafIntegraB.php index c07c859e2a..95036586a9 100644 --- a/LibreNMS/OS/SafIntegraB.php +++ b/LibreNMS/OS/SafIntegraB.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/LibreNMS/OS/SafIntegraE.php b/LibreNMS/OS/SafIntegraE.php index f22ed5b1a5..b41544de00 100644 --- a/LibreNMS/OS/SafIntegraE.php +++ b/LibreNMS/OS/SafIntegraE.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/LibreNMS/OS/SafIntegraW.php b/LibreNMS/OS/SafIntegraW.php index 5ec8e1bab9..811910ec36 100644 --- a/LibreNMS/OS/SafIntegraW.php +++ b/LibreNMS/OS/SafIntegraW.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/LibreNMS/OS/Scalance.php b/LibreNMS/OS/Scalance.php index d328086a48..3ddd3cadd7 100644 --- a/LibreNMS/OS/Scalance.php +++ b/LibreNMS/OS/Scalance.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Serveriron.php b/LibreNMS/OS/Serveriron.php index 27bad503d5..b18b9d0a8d 100644 --- a/LibreNMS/OS/Serveriron.php +++ b/LibreNMS/OS/Serveriron.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Sgos.php b/LibreNMS/OS/Sgos.php index 5a407b6030..a2b6fa105b 100644 --- a/LibreNMS/OS/Sgos.php +++ b/LibreNMS/OS/Sgos.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Shared/Cisco.php b/LibreNMS/OS/Shared/Cisco.php index 148a32b099..d88dbea4e6 100644 --- a/LibreNMS/OS/Shared/Cisco.php +++ b/LibreNMS/OS/Shared/Cisco.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray * @copyright 2018 Jose Augusto Cardoso diff --git a/LibreNMS/OS/Shared/Foundry.php b/LibreNMS/OS/Shared/Foundry.php index 2ce25ba704..b0450fbf30 100644 --- a/LibreNMS/OS/Shared/Foundry.php +++ b/LibreNMS/OS/Shared/Foundry.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Shared/Zyxel.php b/LibreNMS/OS/Shared/Zyxel.php index 969ecae0c8..867db1611d 100644 --- a/LibreNMS/OS/Shared/Zyxel.php +++ b/LibreNMS/OS/Shared/Zyxel.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood * @copyright 2020 Tony Murray diff --git a/LibreNMS/OS/Siklu.php b/LibreNMS/OS/Siklu.php index f55f3ae259..5447f4f267 100644 --- a/LibreNMS/OS/Siklu.php +++ b/LibreNMS/OS/Siklu.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Smartax.php b/LibreNMS/OS/Smartax.php index ecafad167b..08332c335e 100644 --- a/LibreNMS/OS/Smartax.php +++ b/LibreNMS/OS/Smartax.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 TheGreatDoc * @author TheGreatDoc */ diff --git a/LibreNMS/OS/Symbol.php b/LibreNMS/OS/Symbol.php index eb66dfce26..0e4ea2ec3f 100644 --- a/LibreNMS/OS/Symbol.php +++ b/LibreNMS/OS/Symbol.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Terra.php b/LibreNMS/OS/Terra.php index da3c83f923..7374d62314 100644 --- a/LibreNMS/OS/Terra.php +++ b/LibreNMS/OS/Terra.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/ThreeCom.php b/LibreNMS/OS/ThreeCom.php index 1480e0350f..61f670e9b6 100644 --- a/LibreNMS/OS/ThreeCom.php +++ b/LibreNMS/OS/ThreeCom.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Timos.php b/LibreNMS/OS/Timos.php index e27a269917..b11b3ac46e 100644 --- a/LibreNMS/OS/Timos.php +++ b/LibreNMS/OS/Timos.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Vitali Kari * @copyright 2019 Tony Murray * @author Vitali Kari @@ -66,6 +67,7 @@ class Timos extends OS implements MplsDiscovery, MplsPolling, WirelessPowerDisco * Discover wireless Rx (Received Signal Strength). This is in dBm. Type is power. * Returns an array of LibreNMS\Device\Sensor objects that have been discovered * ALU-MICROWAVE-MIB::aluMwRadioLocalRxMainPower + * * @return array */ public function discoverWirelesspower() @@ -96,6 +98,7 @@ class Timos extends OS implements MplsDiscovery, MplsPolling, WirelessPowerDisco /** * @param mixed $tmnxEncapVal * @return string encapsulation + * * @see TIMETRA-TC-MIB::TmnxEncapVal */ private function nokiaEncap($tmnxEncapVal) diff --git a/LibreNMS/OS/Traits/CiscoCellular.php b/LibreNMS/OS/Traits/CiscoCellular.php index 71e443fcd4..45c2572133 100644 --- a/LibreNMS/OS/Traits/CiscoCellular.php +++ b/LibreNMS/OS/Traits/CiscoCellular.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Traits/FrogfootResources.php b/LibreNMS/OS/Traits/FrogfootResources.php index 4eef4a0379..2c8f183689 100644 --- a/LibreNMS/OS/Traits/FrogfootResources.php +++ b/LibreNMS/OS/Traits/FrogfootResources.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Traits/HostResources.php b/LibreNMS/OS/Traits/HostResources.php index 13495f8ebb..60f680b8a0 100644 --- a/LibreNMS/OS/Traits/HostResources.php +++ b/LibreNMS/OS/Traits/HostResources.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Traits/UcdResources.php b/LibreNMS/OS/Traits/UcdResources.php index da04fa5189..b5f77ab5ff 100644 --- a/LibreNMS/OS/Traits/UcdResources.php +++ b/LibreNMS/OS/Traits/UcdResources.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Traits/VxworksProcessorUsage.php b/LibreNMS/OS/Traits/VxworksProcessorUsage.php index 199cdec05e..f119e3c5f9 100644 --- a/LibreNMS/OS/Traits/VxworksProcessorUsage.php +++ b/LibreNMS/OS/Traits/VxworksProcessorUsage.php @@ -19,6 +19,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Traits/YamlMempoolsDiscovery.php b/LibreNMS/OS/Traits/YamlMempoolsDiscovery.php index 7111421ede..9ca5d90498 100644 --- a/LibreNMS/OS/Traits/YamlMempoolsDiscovery.php +++ b/LibreNMS/OS/Traits/YamlMempoolsDiscovery.php @@ -120,6 +120,7 @@ trait YamlMempoolsDiscovery /** * @param array $yaml item yaml definition * @param string $mib + * * @throws \LibreNMS\Exceptions\InvalidOidException */ private function fetchData($yaml, $mib) diff --git a/LibreNMS/OS/Unifi.php b/LibreNMS/OS/Unifi.php index 78b27860e6..27e306bb5d 100644 --- a/LibreNMS/OS/Unifi.php +++ b/LibreNMS/OS/Unifi.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Vrp.php b/LibreNMS/OS/Vrp.php index e1e6e37179..c8ac124b69 100644 --- a/LibreNMS/OS/Vrp.php +++ b/LibreNMS/OS/Vrp.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/XirrusAos.php b/LibreNMS/OS/XirrusAos.php index e9cab97d79..aa266210f6 100644 --- a/LibreNMS/OS/XirrusAos.php +++ b/LibreNMS/OS/XirrusAos.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Zynos.php b/LibreNMS/OS/Zynos.php index 7baf3d4137..d75e188dfe 100644 --- a/LibreNMS/OS/Zynos.php +++ b/LibreNMS/OS/Zynos.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/OS/Zywall.php b/LibreNMS/OS/Zywall.php index 70b96d2297..a7921d2715 100644 --- a/LibreNMS/OS/Zywall.php +++ b/LibreNMS/OS/Zywall.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/ObjectCache.php b/LibreNMS/ObjectCache.php index c708c6a804..ae0fd60272 100644 --- a/LibreNMS/ObjectCache.php +++ b/LibreNMS/ObjectCache.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2015 Daniel Preussker * @copyright 2015 LibreNMS * @author Daniel Preussker (f0o) @@ -35,6 +36,7 @@ class ObjectCache implements ArrayAccess /** * Initialize ObjectCache + * * @param string $obj Name of Object */ public function __construct($obj) @@ -67,6 +69,7 @@ class ObjectCache implements ArrayAccess /** * Check if data exists + * * @param string $obj Name of Data-Object * @return bool */ @@ -83,6 +86,7 @@ class ObjectCache implements ArrayAccess /** * Get Data-Object + * * @param string $obj Name of Data-Object * @return mixed */ @@ -108,6 +112,7 @@ class ObjectCache implements ArrayAccess /** * Overrides internal Cache-Object + * * @param string $obj Name of Data-Object * @param mixed $value Value * @return bool @@ -127,6 +132,7 @@ class ObjectCache implements ArrayAccess /** * Reset Data-Object + * * @param string $obj Name of Data-Object * @return mixed */ diff --git a/LibreNMS/Plugins.php b/LibreNMS/Plugins.php index 553605a419..afaa27507a 100644 --- a/LibreNMS/Plugins.php +++ b/LibreNMS/Plugins.php @@ -18,7 +18,9 @@ * along with this program. If not, see * * @author LibreNMS Group + * * @link https://www.librenms.org + * * @copyright 2016 */ @@ -31,7 +33,9 @@ use Log; * Handles loading of plugins * * @author LibreNMS Group + * * @link https://www.librenms.org + * * @copyright 2016 * * Supported hooks diff --git a/LibreNMS/Proc.php b/LibreNMS/Proc.php index 9c1a2e244d..c5c5a32cd3 100644 --- a/LibreNMS/Proc.php +++ b/LibreNMS/Proc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ @@ -57,6 +58,7 @@ class Proc * @param null $cwd working directory to change to * @param array|null $env array of environment variables to set * @param bool $blocking set the output pipes to blocking (default: false) + * * @throws Exception the command was unable to execute */ public function __construct( @@ -197,6 +199,7 @@ class Proc * * @param int $timeout how many microseconds to wait before terminating (SIGKILL) * @param int $signal the signal to send + * * @throws Exception */ public function terminate($timeout = 3000, $signal = 15) diff --git a/LibreNMS/RRD/RrdDefinition.php b/LibreNMS/RRD/RrdDefinition.php index 487b714c47..261d0f9486 100644 --- a/LibreNMS/RRD/RrdDefinition.php +++ b/LibreNMS/RRD/RrdDefinition.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ @@ -111,6 +112,7 @@ class RrdDefinition * * @param string $type * @return mixed + * * @throws InvalidRrdTypeException */ private function checkType($type) diff --git a/LibreNMS/RRDRecursiveFilterIterator.php b/LibreNMS/RRDRecursiveFilterIterator.php index be960664fe..f3aaadb340 100644 --- a/LibreNMS/RRDRecursiveFilterIterator.php +++ b/LibreNMS/RRDRecursiveFilterIterator.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 * @author */ diff --git a/LibreNMS/Snmptrap/Dispatcher.php b/LibreNMS/Snmptrap/Dispatcher.php index bb7365cb17..bc141ab1f3 100644 --- a/LibreNMS/Snmptrap/Dispatcher.php +++ b/LibreNMS/Snmptrap/Dispatcher.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Snmptrap/Handlers/AdvaAccThresholdCrossingAlert.php b/LibreNMS/Snmptrap/Handlers/AdvaAccThresholdCrossingAlert.php index ac72ad3911..1d22be6016 100644 --- a/LibreNMS/Snmptrap/Handlers/AdvaAccThresholdCrossingAlert.php +++ b/LibreNMS/Snmptrap/Handlers/AdvaAccThresholdCrossingAlert.php @@ -20,6 +20,7 @@ * Adva Threshold Exceeded Alarms. * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc * @author Heath Barnhart & Neil Kahle */ diff --git a/LibreNMS/Snmptrap/Handlers/AdvaAttributeChange.php b/LibreNMS/Snmptrap/Handlers/AdvaAttributeChange.php index a538077265..5e19223736 100644 --- a/LibreNMS/Snmptrap/Handlers/AdvaAttributeChange.php +++ b/LibreNMS/Snmptrap/Handlers/AdvaAttributeChange.php @@ -22,6 +22,7 @@ * information about what configuration module was modified. * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/AdvaNetThresholdCrossingAlert.php b/LibreNMS/Snmptrap/Handlers/AdvaNetThresholdCrossingAlert.php index 4ebcf0a2d9..c30d7e756c 100644 --- a/LibreNMS/Snmptrap/Handlers/AdvaNetThresholdCrossingAlert.php +++ b/LibreNMS/Snmptrap/Handlers/AdvaNetThresholdCrossingAlert.php @@ -20,6 +20,7 @@ * Adva Threshold Exceeded Alarms. * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc * @author Heath Barnhart & Neil Kahle */ diff --git a/LibreNMS/Snmptrap/Handlers/AdvaNetworkElementAlmTrap.php b/LibreNMS/Snmptrap/Handlers/AdvaNetworkElementAlmTrap.php index 25776a0efa..e4f1319be8 100644 --- a/LibreNMS/Snmptrap/Handlers/AdvaNetworkElementAlmTrap.php +++ b/LibreNMS/Snmptrap/Handlers/AdvaNetworkElementAlmTrap.php @@ -21,6 +21,7 @@ * and severity assigned by the Adva. * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc * @author Heath Barnhart & Neil Kahle */ diff --git a/LibreNMS/Snmptrap/Handlers/AdvaObjectCreation.php b/LibreNMS/Snmptrap/Handlers/AdvaObjectCreation.php index f2024924c6..28f982051e 100644 --- a/LibreNMS/Snmptrap/Handlers/AdvaObjectCreation.php +++ b/LibreNMS/Snmptrap/Handlers/AdvaObjectCreation.php @@ -21,6 +21,7 @@ * Flow Creation object, and LAG Creation object. * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc * @author Heath Barnhart & Neil Kahle */ diff --git a/LibreNMS/Snmptrap/Handlers/AdvaObjectDeletion.php b/LibreNMS/Snmptrap/Handlers/AdvaObjectDeletion.php index bfd34e486e..d640bd20c9 100644 --- a/LibreNMS/Snmptrap/Handlers/AdvaObjectDeletion.php +++ b/LibreNMS/Snmptrap/Handlers/AdvaObjectDeletion.php @@ -21,6 +21,7 @@ * Flow Deletion object, LAG Member Port Removed object, and Lag Deletion object. * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc * @author Heath Barnhart & Neil Kahle */ diff --git a/LibreNMS/Snmptrap/Handlers/AdvaSnmpDyingGaspTrap.php b/LibreNMS/Snmptrap/Handlers/AdvaSnmpDyingGaspTrap.php index 35c9d3e6b3..a5558fef37 100644 --- a/LibreNMS/Snmptrap/Handlers/AdvaSnmpDyingGaspTrap.php +++ b/LibreNMS/Snmptrap/Handlers/AdvaSnmpDyingGaspTrap.php @@ -21,6 +21,7 @@ * power and about to shut off. * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc. * @author Heath Barnhart & Neil Kahle */ diff --git a/LibreNMS/Snmptrap/Handlers/AdvaStateChangeTrap.php b/LibreNMS/Snmptrap/Handlers/AdvaStateChangeTrap.php index 0868795bb5..aac6d3eadd 100644 --- a/LibreNMS/Snmptrap/Handlers/AdvaStateChangeTrap.php +++ b/LibreNMS/Snmptrap/Handlers/AdvaStateChangeTrap.php @@ -23,6 +23,7 @@ * on the unit that sent the trap. * * @link https://www.librenms.org + * * @copyright 2018 Heath Barnhart * @author Heath Barnhart & Neil Kahle */ diff --git a/LibreNMS/Snmptrap/Handlers/AdvaSysAlmTrap.php b/LibreNMS/Snmptrap/Handlers/AdvaSysAlmTrap.php index d6e044cccf..99b9d9b96b 100644 --- a/LibreNMS/Snmptrap/Handlers/AdvaSysAlmTrap.php +++ b/LibreNMS/Snmptrap/Handlers/AdvaSysAlmTrap.php @@ -21,6 +21,7 @@ * description of the alarm. * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/AuthenticationFailure.php b/LibreNMS/Snmptrap/Handlers/AuthenticationFailure.php index 559fe6835c..1a72919cec 100644 --- a/LibreNMS/Snmptrap/Handlers/AuthenticationFailure.php +++ b/LibreNMS/Snmptrap/Handlers/AuthenticationFailure.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Snmptrap/Handlers/BgpBackwardTransition.php b/LibreNMS/Snmptrap/Handlers/BgpBackwardTransition.php index 94b2fc72e0..9674320e55 100644 --- a/LibreNMS/Snmptrap/Handlers/BgpBackwardTransition.php +++ b/LibreNMS/Snmptrap/Handlers/BgpBackwardTransition.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Snmptrap/Handlers/BgpEstablished.php b/LibreNMS/Snmptrap/Handlers/BgpEstablished.php index 93667c36b1..f93b9a0a5f 100644 --- a/LibreNMS/Snmptrap/Handlers/BgpEstablished.php +++ b/LibreNMS/Snmptrap/Handlers/BgpEstablished.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Snmptrap/Handlers/CpLowBattery.php b/LibreNMS/Snmptrap/Handlers/CpLowBattery.php index 6fb17d8a00..aa4978aba7 100644 --- a/LibreNMS/Snmptrap/Handlers/CpLowBattery.php +++ b/LibreNMS/Snmptrap/Handlers/CpLowBattery.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 KanREN Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/CpPowerRestored.php b/LibreNMS/Snmptrap/Handlers/CpPowerRestored.php index 439d544af3..33de94a90d 100644 --- a/LibreNMS/Snmptrap/Handlers/CpPowerRestored.php +++ b/LibreNMS/Snmptrap/Handlers/CpPowerRestored.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 KanREN Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/CpRtnDischarge.php b/LibreNMS/Snmptrap/Handlers/CpRtnDischarge.php index d4fcdd0fc2..f01d945c80 100644 --- a/LibreNMS/Snmptrap/Handlers/CpRtnDischarge.php +++ b/LibreNMS/Snmptrap/Handlers/CpRtnDischarge.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 KanREN Inc. * @author Heath Barnhart . * * @link https://www.librenms.org + * * @copyright 2020 KanREN Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/CpUpsBatteryNotPresent.php b/LibreNMS/Snmptrap/Handlers/CpUpsBatteryNotPresent.php index 6ae80ed4bd..5ee59afabc 100644 --- a/LibreNMS/Snmptrap/Handlers/CpUpsBatteryNotPresent.php +++ b/LibreNMS/Snmptrap/Handlers/CpUpsBatteryNotPresent.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Kanren Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/CpUpsChargerFailure.php b/LibreNMS/Snmptrap/Handlers/CpUpsChargerFailure.php index 3c67c5cd2e..1fd9974004 100644 --- a/LibreNMS/Snmptrap/Handlers/CpUpsChargerFailure.php +++ b/LibreNMS/Snmptrap/Handlers/CpUpsChargerFailure.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Kanren Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/CpUpsDiagFailed.php b/LibreNMS/Snmptrap/Handlers/CpUpsDiagFailed.php index 7de2e70829..30384ad9bb 100644 --- a/LibreNMS/Snmptrap/Handlers/CpUpsDiagFailed.php +++ b/LibreNMS/Snmptrap/Handlers/CpUpsDiagFailed.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 KanREN Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/CpUpsDiagPassed.php b/LibreNMS/Snmptrap/Handlers/CpUpsDiagPassed.php index f5be25ca7a..4df9e1a232 100644 --- a/LibreNMS/Snmptrap/Handlers/CpUpsDiagPassed.php +++ b/LibreNMS/Snmptrap/Handlers/CpUpsDiagPassed.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 KanREN Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/CpUpsDischarged.php b/LibreNMS/Snmptrap/Handlers/CpUpsDischarged.php index af011355ca..41d67da9b1 100644 --- a/LibreNMS/Snmptrap/Handlers/CpUpsDischarged.php +++ b/LibreNMS/Snmptrap/Handlers/CpUpsDischarged.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Kanren Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/CpUpsOnBattery.php b/LibreNMS/Snmptrap/Handlers/CpUpsOnBattery.php index d310a09b9c..a489fec46c 100644 --- a/LibreNMS/Snmptrap/Handlers/CpUpsOnBattery.php +++ b/LibreNMS/Snmptrap/Handlers/CpUpsOnBattery.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 KanREN Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/CpUpsOverTemp.php b/LibreNMS/Snmptrap/Handlers/CpUpsOverTemp.php index e104a84600..310ea8e1e3 100644 --- a/LibreNMS/Snmptrap/Handlers/CpUpsOverTemp.php +++ b/LibreNMS/Snmptrap/Handlers/CpUpsOverTemp.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 KanREN Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/CpUpsOverload.php b/LibreNMS/Snmptrap/Handlers/CpUpsOverload.php index b94fc20149..e7579120dd 100644 --- a/LibreNMS/Snmptrap/Handlers/CpUpsOverload.php +++ b/LibreNMS/Snmptrap/Handlers/CpUpsOverload.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 KanREN Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/CpUpsRebootStarted.php b/LibreNMS/Snmptrap/Handlers/CpUpsRebootStarted.php index 42cd5ff8cb..5939a1b0af 100644 --- a/LibreNMS/Snmptrap/Handlers/CpUpsRebootStarted.php +++ b/LibreNMS/Snmptrap/Handlers/CpUpsRebootStarted.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 KanREN Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/CpUpsRtnChargerFailure.php b/LibreNMS/Snmptrap/Handlers/CpUpsRtnChargerFailure.php index ea65d84fde..d3ea57612d 100644 --- a/LibreNMS/Snmptrap/Handlers/CpUpsRtnChargerFailure.php +++ b/LibreNMS/Snmptrap/Handlers/CpUpsRtnChargerFailure.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Kanren Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/CpUpsRtnDischarged.php b/LibreNMS/Snmptrap/Handlers/CpUpsRtnDischarged.php index edb8502caf..a81b124a70 100644 --- a/LibreNMS/Snmptrap/Handlers/CpUpsRtnDischarged.php +++ b/LibreNMS/Snmptrap/Handlers/CpUpsRtnDischarged.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Kanren Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/CpUpsRtnOverTemp.php b/LibreNMS/Snmptrap/Handlers/CpUpsRtnOverTemp.php index f443b37674..f1c5a455a9 100644 --- a/LibreNMS/Snmptrap/Handlers/CpUpsRtnOverTemp.php +++ b/LibreNMS/Snmptrap/Handlers/CpUpsRtnOverTemp.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 KanREN Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/CpUpsRtnOverload.php b/LibreNMS/Snmptrap/Handlers/CpUpsRtnOverload.php index 8779fa139c..d95a28d390 100644 --- a/LibreNMS/Snmptrap/Handlers/CpUpsRtnOverload.php +++ b/LibreNMS/Snmptrap/Handlers/CpUpsRtnOverload.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 KanREN Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/CpUpsSleeping.php b/LibreNMS/Snmptrap/Handlers/CpUpsSleeping.php index 9230de2b97..1f7a8bcc20 100644 --- a/LibreNMS/Snmptrap/Handlers/CpUpsSleeping.php +++ b/LibreNMS/Snmptrap/Handlers/CpUpsSleeping.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 KanREN Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/CpUpsStartBatteryTest.php b/LibreNMS/Snmptrap/Handlers/CpUpsStartBatteryTest.php index 2f37214304..5024dc1af0 100644 --- a/LibreNMS/Snmptrap/Handlers/CpUpsStartBatteryTest.php +++ b/LibreNMS/Snmptrap/Handlers/CpUpsStartBatteryTest.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 KanREN Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/CpUpsTurnedOff.php b/LibreNMS/Snmptrap/Handlers/CpUpsTurnedOff.php index cf528ad3e2..ca68ade9e4 100644 --- a/LibreNMS/Snmptrap/Handlers/CpUpsTurnedOff.php +++ b/LibreNMS/Snmptrap/Handlers/CpUpsTurnedOff.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 KanREN Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/CpUpsWokeUp.php b/LibreNMS/Snmptrap/Handlers/CpUpsWokeUp.php index 3fe338ff9b..7a98a19e0a 100644 --- a/LibreNMS/Snmptrap/Handlers/CpUpsWokeUp.php +++ b/LibreNMS/Snmptrap/Handlers/CpUpsWokeUp.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 KanREN Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/CyberPowerUtil.php b/LibreNMS/Snmptrap/Handlers/CyberPowerUtil.php index 6baf472b0c..10eb55b42a 100644 --- a/LibreNMS/Snmptrap/Handlers/CyberPowerUtil.php +++ b/LibreNMS/Snmptrap/Handlers/CyberPowerUtil.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 KanREN Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/EquipStatusTrap.php b/LibreNMS/Snmptrap/Handlers/EquipStatusTrap.php index 8710dd2b5f..673d69808a 100644 --- a/LibreNMS/Snmptrap/Handlers/EquipStatusTrap.php +++ b/LibreNMS/Snmptrap/Handlers/EquipStatusTrap.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Vitali Kari * @author Vitali Kari */ diff --git a/LibreNMS/Snmptrap/Handlers/Fallback.php b/LibreNMS/Snmptrap/Handlers/Fallback.php index 7e46ea88a1..f26910c887 100644 --- a/LibreNMS/Snmptrap/Handlers/Fallback.php +++ b/LibreNMS/Snmptrap/Handlers/Fallback.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Snmptrap/Handlers/FgTrapAvOversize.php b/LibreNMS/Snmptrap/Handlers/FgTrapAvOversize.php index 27bc883a9c..935f4e6d81 100644 --- a/LibreNMS/Snmptrap/Handlers/FgTrapAvOversize.php +++ b/LibreNMS/Snmptrap/Handlers/FgTrapAvOversize.php @@ -21,6 +21,7 @@ * AV scanning. Nothing to do. * * @link https://www.librenms.org + * * @copyright 2018 Heath Barnhart * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/FgTrapIpsAnomaly.php b/LibreNMS/Snmptrap/Handlers/FgTrapIpsAnomaly.php index 73174378f0..e3eda3a289 100644 --- a/LibreNMS/Snmptrap/Handlers/FgTrapIpsAnomaly.php +++ b/LibreNMS/Snmptrap/Handlers/FgTrapIpsAnomaly.php @@ -20,6 +20,7 @@ * Fortigate DDoS Policy tripped. * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/FgTrapIpsPkgUpdate.php b/LibreNMS/Snmptrap/Handlers/FgTrapIpsPkgUpdate.php index f741a86fd6..cde3a70ea4 100644 --- a/LibreNMS/Snmptrap/Handlers/FgTrapIpsPkgUpdate.php +++ b/LibreNMS/Snmptrap/Handlers/FgTrapIpsPkgUpdate.php @@ -20,6 +20,7 @@ * Trap sent when Fortigate IPS signature database was updated. * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/FgTrapIpsSignature.php b/LibreNMS/Snmptrap/Handlers/FgTrapIpsSignature.php index 5b235a6b44..9590265494 100644 --- a/LibreNMS/Snmptrap/Handlers/FgTrapIpsSignature.php +++ b/LibreNMS/Snmptrap/Handlers/FgTrapIpsSignature.php @@ -20,6 +20,7 @@ * Traffic pattern matches Fortigate IPS signature. * * @link https://www.librenms.org + * * @copyright 2018 Heath Barnhart * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/FgTrapVpnTunDown.php b/LibreNMS/Snmptrap/Handlers/FgTrapVpnTunDown.php index b3a2216ce8..cf8e5352ea 100644 --- a/LibreNMS/Snmptrap/Handlers/FgTrapVpnTunDown.php +++ b/LibreNMS/Snmptrap/Handlers/FgTrapVpnTunDown.php @@ -20,6 +20,7 @@ * Fortigate VPN IPSec Tunnel UP. * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/FgTrapVpnTunUp.php b/LibreNMS/Snmptrap/Handlers/FgTrapVpnTunUp.php index 10f6688c3c..f7fce760db 100644 --- a/LibreNMS/Snmptrap/Handlers/FgTrapVpnTunUp.php +++ b/LibreNMS/Snmptrap/Handlers/FgTrapVpnTunUp.php @@ -20,6 +20,7 @@ * Fortigate VPN IPSec Tunnel UP. * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/FmTrapLogRateThreshold.php b/LibreNMS/Snmptrap/Handlers/FmTrapLogRateThreshold.php index 5314e10cec..1346d3b6b7 100644 --- a/LibreNMS/Snmptrap/Handlers/FmTrapLogRateThreshold.php +++ b/LibreNMS/Snmptrap/Handlers/FmTrapLogRateThreshold.php @@ -21,6 +21,7 @@ * exceeds the suggested rate for the daily rate license. * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/JnxBgpM2BackwardTransition.php b/LibreNMS/Snmptrap/Handlers/JnxBgpM2BackwardTransition.php index 66e21e3773..c283b0d6ec 100644 --- a/LibreNMS/Snmptrap/Handlers/JnxBgpM2BackwardTransition.php +++ b/LibreNMS/Snmptrap/Handlers/JnxBgpM2BackwardTransition.php @@ -22,6 +22,7 @@ * state to a lower numbered state. * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/JnxBgpM2Established.php b/LibreNMS/Snmptrap/Handlers/JnxBgpM2Established.php index 32e82e716f..aba807e36d 100644 --- a/LibreNMS/Snmptrap/Handlers/JnxBgpM2Established.php +++ b/LibreNMS/Snmptrap/Handlers/JnxBgpM2Established.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc. * @author Neil Kahle */ diff --git a/LibreNMS/Snmptrap/Handlers/JnxCmCfgChange.php b/LibreNMS/Snmptrap/Handlers/JnxCmCfgChange.php index 871a342239..98e2842e60 100644 --- a/LibreNMS/Snmptrap/Handlers/JnxCmCfgChange.php +++ b/LibreNMS/Snmptrap/Handlers/JnxCmCfgChange.php @@ -23,6 +23,7 @@ * user is "root". * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/JnxDomAlarmCleared.php b/LibreNMS/Snmptrap/Handlers/JnxDomAlarmCleared.php index 8160a7229d..9352a79093 100644 --- a/LibreNMS/Snmptrap/Handlers/JnxDomAlarmCleared.php +++ b/LibreNMS/Snmptrap/Handlers/JnxDomAlarmCleared.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc. * @author Neil Kahle */ diff --git a/LibreNMS/Snmptrap/Handlers/JnxDomAlarmId.php b/LibreNMS/Snmptrap/Handlers/JnxDomAlarmId.php index c45e3e6ee5..fea58a1d24 100644 --- a/LibreNMS/Snmptrap/Handlers/JnxDomAlarmId.php +++ b/LibreNMS/Snmptrap/Handlers/JnxDomAlarmId.php @@ -22,6 +22,7 @@ * descriptive string. * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/JnxDomAlarmSet.php b/LibreNMS/Snmptrap/Handlers/JnxDomAlarmSet.php index fc136252bd..c85eedf585 100644 --- a/LibreNMS/Snmptrap/Handlers/JnxDomAlarmSet.php +++ b/LibreNMS/Snmptrap/Handlers/JnxDomAlarmSet.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc. * @author Neil Kahle */ diff --git a/LibreNMS/Snmptrap/Handlers/JnxDomLaneAlarmCleared.php b/LibreNMS/Snmptrap/Handlers/JnxDomLaneAlarmCleared.php index 3515d38e75..07d0e47558 100644 --- a/LibreNMS/Snmptrap/Handlers/JnxDomLaneAlarmCleared.php +++ b/LibreNMS/Snmptrap/Handlers/JnxDomLaneAlarmCleared.php @@ -20,6 +20,7 @@ * Trap sent when a Juniper transciever lambda reaches an alert level threshold. * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/JnxDomLaneAlarmId.php b/LibreNMS/Snmptrap/Handlers/JnxDomLaneAlarmId.php index b1dcae7a47..6dea8d028c 100644 --- a/LibreNMS/Snmptrap/Handlers/JnxDomLaneAlarmId.php +++ b/LibreNMS/Snmptrap/Handlers/JnxDomLaneAlarmId.php @@ -22,6 +22,7 @@ * descriptive string. * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/JnxDomLaneAlarmSet.php b/LibreNMS/Snmptrap/Handlers/JnxDomLaneAlarmSet.php index 6940db2ac3..42a3716dee 100644 --- a/LibreNMS/Snmptrap/Handlers/JnxDomLaneAlarmSet.php +++ b/LibreNMS/Snmptrap/Handlers/JnxDomLaneAlarmSet.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/JnxLdpLspDown.php b/LibreNMS/Snmptrap/Handlers/JnxLdpLspDown.php index 906cebf3c6..a9d3724b4b 100644 --- a/LibreNMS/Snmptrap/Handlers/JnxLdpLspDown.php +++ b/LibreNMS/Snmptrap/Handlers/JnxLdpLspDown.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc. * @author Neil Kahle */ diff --git a/LibreNMS/Snmptrap/Handlers/JnxLdpLspUp.php b/LibreNMS/Snmptrap/Handlers/JnxLdpLspUp.php index efe8171df0..dd5d268f6e 100644 --- a/LibreNMS/Snmptrap/Handlers/JnxLdpLspUp.php +++ b/LibreNMS/Snmptrap/Handlers/JnxLdpLspUp.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc. * @author Neil Kahle */ diff --git a/LibreNMS/Snmptrap/Handlers/JnxLdpSesDown.php b/LibreNMS/Snmptrap/Handlers/JnxLdpSesDown.php index 3200b332fc..b72a42bef4 100644 --- a/LibreNMS/Snmptrap/Handlers/JnxLdpSesDown.php +++ b/LibreNMS/Snmptrap/Handlers/JnxLdpSesDown.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc. * @author Neil Kahle */ diff --git a/LibreNMS/Snmptrap/Handlers/JnxLdpSesUp.php b/LibreNMS/Snmptrap/Handlers/JnxLdpSesUp.php index 4663d03c5f..395587adb0 100644 --- a/LibreNMS/Snmptrap/Handlers/JnxLdpSesUp.php +++ b/LibreNMS/Snmptrap/Handlers/JnxLdpSesUp.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc. * @author Neil Kahle */ diff --git a/LibreNMS/Snmptrap/Handlers/JnxPowerSupplyFailure.php b/LibreNMS/Snmptrap/Handlers/JnxPowerSupplyFailure.php index dd34c99d0c..dc17137238 100644 --- a/LibreNMS/Snmptrap/Handlers/JnxPowerSupplyFailure.php +++ b/LibreNMS/Snmptrap/Handlers/JnxPowerSupplyFailure.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc. * @author */ diff --git a/LibreNMS/Snmptrap/Handlers/JnxPowerSupplyOk.php b/LibreNMS/Snmptrap/Handlers/JnxPowerSupplyOk.php index 5426568379..133ba398ee 100644 --- a/LibreNMS/Snmptrap/Handlers/JnxPowerSupplyOk.php +++ b/LibreNMS/Snmptrap/Handlers/JnxPowerSupplyOk.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc * @author Heath Barnhart . */ diff --git a/LibreNMS/Snmptrap/Handlers/JnxVpnIfDown.php b/LibreNMS/Snmptrap/Handlers/JnxVpnIfDown.php index 4f0cacdd0d..d0014ba82f 100644 --- a/LibreNMS/Snmptrap/Handlers/JnxVpnIfDown.php +++ b/LibreNMS/Snmptrap/Handlers/JnxVpnIfDown.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc. * @author Neil Kahle */ diff --git a/LibreNMS/Snmptrap/Handlers/JnxVpnIfUp.php b/LibreNMS/Snmptrap/Handlers/JnxVpnIfUp.php index 11f6152f3f..025985b476 100644 --- a/LibreNMS/Snmptrap/Handlers/JnxVpnIfUp.php +++ b/LibreNMS/Snmptrap/Handlers/JnxVpnIfUp.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc. * @author Neil Kahle */ diff --git a/LibreNMS/Snmptrap/Handlers/JnxVpnPwDown.php b/LibreNMS/Snmptrap/Handlers/JnxVpnPwDown.php index a55e7fa2de..143adb7c12 100644 --- a/LibreNMS/Snmptrap/Handlers/JnxVpnPwDown.php +++ b/LibreNMS/Snmptrap/Handlers/JnxVpnPwDown.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc. * @author Neil Kahle */ diff --git a/LibreNMS/Snmptrap/Handlers/JnxVpnPwUp.php b/LibreNMS/Snmptrap/Handlers/JnxVpnPwUp.php index 3408870a19..00acd22cd5 100644 --- a/LibreNMS/Snmptrap/Handlers/JnxVpnPwUp.php +++ b/LibreNMS/Snmptrap/Handlers/JnxVpnPwUp.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 KanREN, Inc. * @author Neil Kahle */ diff --git a/LibreNMS/Snmptrap/Handlers/LinkDown.php b/LibreNMS/Snmptrap/Handlers/LinkDown.php index 08d16e5d3e..24c059f9e0 100644 --- a/LibreNMS/Snmptrap/Handlers/LinkDown.php +++ b/LibreNMS/Snmptrap/Handlers/LinkDown.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Snmptrap/Handlers/LinkUp.php b/LibreNMS/Snmptrap/Handlers/LinkUp.php index da69c69911..dc5d1eab26 100644 --- a/LibreNMS/Snmptrap/Handlers/LinkUp.php +++ b/LibreNMS/Snmptrap/Handlers/LinkUp.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Snmptrap/Handlers/LogTrap.php b/LibreNMS/Snmptrap/Handlers/LogTrap.php index 569e234a75..760305400b 100644 --- a/LibreNMS/Snmptrap/Handlers/LogTrap.php +++ b/LibreNMS/Snmptrap/Handlers/LogTrap.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Vitali Kari * @author Vitali Kari */ diff --git a/LibreNMS/Snmptrap/Handlers/Mgnt2TrapNmsAlarm.php b/LibreNMS/Snmptrap/Handlers/Mgnt2TrapNmsAlarm.php index 7e674d7739..682a60841b 100644 --- a/LibreNMS/Snmptrap/Handlers/Mgnt2TrapNmsAlarm.php +++ b/LibreNMS/Snmptrap/Handlers/Mgnt2TrapNmsAlarm.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/Mgnt2TrapNmsEvent.php b/LibreNMS/Snmptrap/Handlers/Mgnt2TrapNmsEvent.php index 2d73b527a3..c595f5c6bc 100644 --- a/LibreNMS/Snmptrap/Handlers/Mgnt2TrapNmsEvent.php +++ b/LibreNMS/Snmptrap/Handlers/Mgnt2TrapNmsEvent.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/OspfIfStateChange.php b/LibreNMS/Snmptrap/Handlers/OspfIfStateChange.php index 3e4f9def40..eb2635aac4 100644 --- a/LibreNMS/Snmptrap/Handlers/OspfIfStateChange.php +++ b/LibreNMS/Snmptrap/Handlers/OspfIfStateChange.php @@ -21,6 +21,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 KanREN Inc * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/OspfNbrStateChange.php b/LibreNMS/Snmptrap/Handlers/OspfNbrStateChange.php index 57de3a5391..516810e922 100644 --- a/LibreNMS/Snmptrap/Handlers/OspfNbrStateChange.php +++ b/LibreNMS/Snmptrap/Handlers/OspfNbrStateChange.php @@ -21,6 +21,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 KanREN Inc * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/RuckusAssocTrap.php b/LibreNMS/Snmptrap/Handlers/RuckusAssocTrap.php index b226a3f398..5befe2b9f0 100644 --- a/LibreNMS/Snmptrap/Handlers/RuckusAssocTrap.php +++ b/LibreNMS/Snmptrap/Handlers/RuckusAssocTrap.php @@ -21,6 +21,7 @@ * Contains the clients MAC addr. * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/RuckusSzApConf.php b/LibreNMS/Snmptrap/Handlers/RuckusSzApConf.php index 3bf730b054..f9ee1f504d 100644 --- a/LibreNMS/Snmptrap/Handlers/RuckusSzApConf.php +++ b/LibreNMS/Snmptrap/Handlers/RuckusSzApConf.php @@ -22,6 +22,7 @@ * number string. * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/RuckusSzApConnect.php b/LibreNMS/Snmptrap/Handlers/RuckusSzApConnect.php index f2557b8501..9d6050dff2 100644 --- a/LibreNMS/Snmptrap/Handlers/RuckusSzApConnect.php +++ b/LibreNMS/Snmptrap/Handlers/RuckusSzApConnect.php @@ -21,6 +21,7 @@ * to a Smartzone controller. * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/RuckusSzApMiscEvent.php b/LibreNMS/Snmptrap/Handlers/RuckusSzApMiscEvent.php index c682bad092..552eda2c39 100644 --- a/LibreNMS/Snmptrap/Handlers/RuckusSzApMiscEvent.php +++ b/LibreNMS/Snmptrap/Handlers/RuckusSzApMiscEvent.php @@ -21,6 +21,7 @@ * an event from a connected access point. * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/RuckusSzApReboot.php b/LibreNMS/Snmptrap/Handlers/RuckusSzApReboot.php index d62554070e..0a8ca54575 100644 --- a/LibreNMS/Snmptrap/Handlers/RuckusSzApReboot.php +++ b/LibreNMS/Snmptrap/Handlers/RuckusSzApReboot.php @@ -21,6 +21,7 @@ * to the SmartZone reboots. * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/RuckusSzClusterInMaintenance.php b/LibreNMS/Snmptrap/Handlers/RuckusSzClusterInMaintenance.php index b2268601e8..36a7fcbb2a 100644 --- a/LibreNMS/Snmptrap/Handlers/RuckusSzClusterInMaintenance.php +++ b/LibreNMS/Snmptrap/Handlers/RuckusSzClusterInMaintenance.php @@ -24,6 +24,7 @@ * Smartzone Cluster enters a maintenance state. * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/RuckusSzClusterInService.php b/LibreNMS/Snmptrap/Handlers/RuckusSzClusterInService.php index 7875672e34..8c0f3b086b 100644 --- a/LibreNMS/Snmptrap/Handlers/RuckusSzClusterInService.php +++ b/LibreNMS/Snmptrap/Handlers/RuckusSzClusterInService.php @@ -21,6 +21,7 @@ * Virtual Smartzone cluster state changed to "in service" * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/RuckusSzSeverity.php b/LibreNMS/Snmptrap/Handlers/RuckusSzSeverity.php index a5a8b1c7f6..b3dc891570 100644 --- a/LibreNMS/Snmptrap/Handlers/RuckusSzSeverity.php +++ b/LibreNMS/Snmptrap/Handlers/RuckusSzSeverity.php @@ -21,6 +21,7 @@ * trap. * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/UpsTrapsOnBattery.php b/LibreNMS/Snmptrap/Handlers/UpsTrapsOnBattery.php index 520cb9d275..eb055e64a8 100644 --- a/LibreNMS/Snmptrap/Handlers/UpsTrapsOnBattery.php +++ b/LibreNMS/Snmptrap/Handlers/UpsTrapsOnBattery.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @author TheGreatDoc */ diff --git a/LibreNMS/Snmptrap/Handlers/UpsmgUtilityFailure.php b/LibreNMS/Snmptrap/Handlers/UpsmgUtilityFailure.php index a712f770b8..b0dc0d8704 100644 --- a/LibreNMS/Snmptrap/Handlers/UpsmgUtilityFailure.php +++ b/LibreNMS/Snmptrap/Handlers/UpsmgUtilityFailure.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 PipoCanaja * @author PipoCanaja */ diff --git a/LibreNMS/Snmptrap/Handlers/UpsmgUtilityRestored.php b/LibreNMS/Snmptrap/Handlers/UpsmgUtilityRestored.php index 2b94865a81..f37dc7a699 100644 --- a/LibreNMS/Snmptrap/Handlers/UpsmgUtilityRestored.php +++ b/LibreNMS/Snmptrap/Handlers/UpsmgUtilityRestored.php @@ -16,6 +16,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 PipoCanaja * @author PipoCanaja */ diff --git a/LibreNMS/Snmptrap/Handlers/VmwTrapUtil.php b/LibreNMS/Snmptrap/Handlers/VmwTrapUtil.php index ea649ea098..bb28a15ddc 100644 --- a/LibreNMS/Snmptrap/Handlers/VmwTrapUtil.php +++ b/LibreNMS/Snmptrap/Handlers/VmwTrapUtil.php @@ -25,6 +25,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/VmwVmHBDetected.php b/LibreNMS/Snmptrap/Handlers/VmwVmHBDetected.php index 0b82cf525e..20316e78b3 100644 --- a/LibreNMS/Snmptrap/Handlers/VmwVmHBDetected.php +++ b/LibreNMS/Snmptrap/Handlers/VmwVmHBDetected.php @@ -23,6 +23,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/VmwVmHBLost.php b/LibreNMS/Snmptrap/Handlers/VmwVmHBLost.php index 2339b1d322..81a26735e6 100644 --- a/LibreNMS/Snmptrap/Handlers/VmwVmHBLost.php +++ b/LibreNMS/Snmptrap/Handlers/VmwVmHBLost.php @@ -22,6 +22,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/VmwVmPoweredOff.php b/LibreNMS/Snmptrap/Handlers/VmwVmPoweredOff.php index 1ba6f58c49..ec409ef6d0 100644 --- a/LibreNMS/Snmptrap/Handlers/VmwVmPoweredOff.php +++ b/LibreNMS/Snmptrap/Handlers/VmwVmPoweredOff.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/VmwVmPoweredOn.php b/LibreNMS/Snmptrap/Handlers/VmwVmPoweredOn.php index e89d1dc496..ffb2c39763 100644 --- a/LibreNMS/Snmptrap/Handlers/VmwVmPoweredOn.php +++ b/LibreNMS/Snmptrap/Handlers/VmwVmPoweredOn.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Handlers/VmwVmSuspended.php b/LibreNMS/Snmptrap/Handlers/VmwVmSuspended.php index 1b805d776b..1eee51d3d1 100644 --- a/LibreNMS/Snmptrap/Handlers/VmwVmSuspended.php +++ b/LibreNMS/Snmptrap/Handlers/VmwVmSuspended.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc. * @author Heath Barnhart */ diff --git a/LibreNMS/Snmptrap/Trap.php b/LibreNMS/Snmptrap/Trap.php index dcf55b712f..c2de94a2d2 100644 --- a/LibreNMS/Snmptrap/Trap.php +++ b/LibreNMS/Snmptrap/Trap.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ @@ -42,6 +43,7 @@ class Trap /** * Construct a trap from raw trap text + * * @param string $trap */ public function __construct($trap) @@ -84,6 +86,7 @@ class Trap /** * Find all oids that match the given string + * * @param string|string[] $search * @return array */ diff --git a/LibreNMS/Util/Categorizer.php b/LibreNMS/Util/Categorizer.php index 44c9795f31..0c80b04172 100644 --- a/LibreNMS/Util/Categorizer.php +++ b/LibreNMS/Util/Categorizer.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Util/CiHelper.php b/LibreNMS/Util/CiHelper.php index 25f0b23fad..0ce72b9931 100644 --- a/LibreNMS/Util/CiHelper.php +++ b/LibreNMS/Util/CiHelper.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ @@ -149,6 +150,7 @@ class CiHelper /** * Get a flag value + * * @param string $name * @return bool */ @@ -159,6 +161,7 @@ class CiHelper /** * Fetch all flags + * * @return bool[] */ public function getFlags() diff --git a/LibreNMS/Util/Clean.php b/LibreNMS/Util/Clean.php index 670d8ea9e6..0b8dc675de 100644 --- a/LibreNMS/Util/Clean.php +++ b/LibreNMS/Util/Clean.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Util/CliColorFormatter.php b/LibreNMS/Util/CliColorFormatter.php index 69653a9e99..8a5653e60d 100644 --- a/LibreNMS/Util/CliColorFormatter.php +++ b/LibreNMS/Util/CliColorFormatter.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Util/Colors.php b/LibreNMS/Util/Colors.php index d80477be70..e633749c08 100644 --- a/LibreNMS/Util/Colors.php +++ b/LibreNMS/Util/Colors.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Util/Dns.php b/LibreNMS/Util/Dns.php index 62df3c90f2..ea5859977b 100644 --- a/LibreNMS/Util/Dns.php +++ b/LibreNMS/Util/Dns.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link http://librenms.org + * * @copyright 2021 Thomas Berberich * @author Thomas Berberch */ diff --git a/LibreNMS/Util/DynamicConfig.php b/LibreNMS/Util/DynamicConfig.php index d2573289a1..713356d087 100644 --- a/LibreNMS/Util/DynamicConfig.php +++ b/LibreNMS/Util/DynamicConfig.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Util/DynamicConfigItem.php b/LibreNMS/Util/DynamicConfigItem.php index 2e8eb3e72c..ec18501ab3 100644 --- a/LibreNMS/Util/DynamicConfigItem.php +++ b/LibreNMS/Util/DynamicConfigItem.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Util/EnvHelper.php b/LibreNMS/Util/EnvHelper.php index eb73234898..61c80e671f 100644 --- a/LibreNMS/Util/EnvHelper.php +++ b/LibreNMS/Util/EnvHelper.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ @@ -38,6 +39,7 @@ class EnvHelper * @param array $unset Remove the given KEYS from the config * @param string $file * @return string + * * @throws \LibreNMS\Exceptions\FileWriteFailedException */ public static function writeEnv($settings, $unset = [], $file = '.env') @@ -107,6 +109,7 @@ class EnvHelper * Copy the example .env file and set APP_KEY * * @return bool|string + * * @throws \LibreNMS\Exceptions\FileWriteFailedException */ public static function init() diff --git a/LibreNMS/Util/FileCategorizer.php b/LibreNMS/Util/FileCategorizer.php index bd3bba6d2a..e5790b4095 100644 --- a/LibreNMS/Util/FileCategorizer.php +++ b/LibreNMS/Util/FileCategorizer.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Util/Git.php b/LibreNMS/Util/Git.php index 9d1770bc19..9da07e301c 100644 --- a/LibreNMS/Util/Git.php +++ b/LibreNMS/Util/Git.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Util/GitHub.php b/LibreNMS/Util/GitHub.php index 0a1b0c247c..e7b98bb619 100644 --- a/LibreNMS/Util/GitHub.php +++ b/LibreNMS/Util/GitHub.php @@ -19,6 +19,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Neil Lathwood * @author Neil Lathwood */ @@ -308,6 +309,7 @@ GRAPHQL; /** * Create a markdown list of users and link their github profile + * * @param array $users * @return string */ @@ -351,6 +353,7 @@ GRAPHQL; /** * @return bool + * * @throws Exception */ public function createRelease() @@ -376,7 +379,9 @@ GRAPHQL; /** * Function to control the creation of creating a change log. + * * @param bool $write + * * @throws Exception */ public function createChangelog($write = true) diff --git a/LibreNMS/Util/Graph.php b/LibreNMS/Util/Graph.php index c9e81b026f..74e390195b 100644 --- a/LibreNMS/Util/Graph.php +++ b/LibreNMS/Util/Graph.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ @@ -36,6 +37,7 @@ class Graph /** * Get an array of all graph subtypes for the given type + * * @param string $type * @param Device $device * @return array diff --git a/LibreNMS/Util/Html.php b/LibreNMS/Util/Html.php index a4e9c30170..812d0663dc 100644 --- a/LibreNMS/Util/Html.php +++ b/LibreNMS/Util/Html.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ @@ -31,6 +32,7 @@ class Html { /** * return icon and color for application state + * * @param string $app_state * @return array */ diff --git a/LibreNMS/Util/IP.php b/LibreNMS/Util/IP.php index 3d485c8692..73669e11a9 100644 --- a/LibreNMS/Util/IP.php +++ b/LibreNMS/Util/IP.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ @@ -34,9 +35,11 @@ abstract class IP /** * Convert a hex-string to an IP address. For example: "c0 a8 01 fe" -> 192.168.1.254 + * * @param string $hex * @param bool $ignore_errors Do not throw exceptions, instead return null on error. * @return IP|null + * * @throws InvalidIpException */ public static function fromHexString($hex, $ignore_errors = false) @@ -76,9 +79,11 @@ abstract class IP * Convert a decimal space-separated string to an IP address. For example: * "192 168 1 154" -> 192.168.1.254 * "32 01 72 96 72 96 00 00 00 00 00 00 00 00 136 136" -> 2001:4860:4860::8888 + * * @param string $snmpOid * @param bool $ignore_errors Do not throw exceptions, instead return null on error. * @return IP|null + * * @throws InvalidIpException */ public static function fromSnmpString($snmpOid, $ignore_errors = false) @@ -99,9 +104,11 @@ abstract class IP /** * Parse an IP or IP Network into an IP object. Works with IPv6 and IPv4 addresses. + * * @param string $ip * @param bool $ignore_errors Do not throw exceptions, instead return null on error. * @return IP|null + * * @throws InvalidIpException */ public static function parse($ip, $ignore_errors = false) @@ -125,6 +132,7 @@ abstract class IP /** * Check if the supplied IP is valid. + * * @param string $ip * @param bool $exclude_reserved Exclude reserved IP ranges. * @return bool @@ -136,6 +144,7 @@ abstract class IP /** * Get the network of this IP in cidr format. + * * @param int $cidr If not given will use the cidr stored with this IP * @return string */ @@ -150,6 +159,7 @@ abstract class IP /** * Get the network address of this IP + * * @param int $cidr If not given will use the cidr stored with this IP * @return string */ @@ -157,6 +167,7 @@ abstract class IP /** * Check if this IP address is contained inside the network + * * @param string $network should be in cidr format. * @return mixed */ @@ -181,6 +192,7 @@ abstract class IP /** * Check if this IP is in the reserved range. + * * @return bool */ public function isReserved() @@ -191,6 +203,7 @@ abstract class IP /** * Remove extra 0s from this IPv6 address to make it easier to read. * IPv4 addresses, just return the address. + * * @return string|false */ public function compressed() @@ -201,6 +214,7 @@ abstract class IP /** * Expand this IPv6 address to it's full IPv6 representation. For example: ::1 -> 0000:0000:0000:0000:0000:0000:0000:0001 * IPv4 addresses, just return the address. + * * @return string */ public function uncompressed() @@ -220,6 +234,7 @@ abstract class IP /** * Get the family of this IP. + * * @return string ipv4 or ipv6 */ public function getFamily() @@ -238,6 +253,7 @@ abstract class IP /** * Extract an address from a cidr, assume a host is given if it does not contain / + * * @param string $ip * @return array [$ip, $cidr] */ diff --git a/LibreNMS/Util/IPv4.php b/LibreNMS/Util/IPv4.php index 1df81695cc..9a8b6a4acd 100644 --- a/LibreNMS/Util/IPv4.php +++ b/LibreNMS/Util/IPv4.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ @@ -30,7 +31,9 @@ class IPv4 extends IP { /** * IPv4 constructor. + * * @param string $ipv4 + * * @throws InvalidIpException */ public function __construct($ipv4) @@ -45,6 +48,7 @@ class IPv4 extends IP /** * Check if the supplied IP is valid. + * * @param string $ipv4 * @param bool $exclude_reserved Exclude reserved IP ranges. * @return bool @@ -61,6 +65,7 @@ class IPv4 extends IP /** * Convert an IPv4 network mask to a bit mask. For example: 255.255.255.0 -> 24 + * * @param string $netmask * @return int */ @@ -74,6 +79,7 @@ class IPv4 extends IP /** * Returns the netmask of this IP address. For example: 255.255.255.0 + * * @return string */ public function getNetmask() @@ -83,6 +89,7 @@ class IPv4 extends IP /** * Convert an IPv4 bit mask to a long. Generally used with long2ip() or bitwise operations. + * * @return int */ private function cidr2long($cidr) @@ -92,6 +99,7 @@ class IPv4 extends IP /** * Check if this IP address is contained inside the network. + * * @param string $network should be in cidr format. * @return mixed */ @@ -109,6 +117,7 @@ class IPv4 extends IP /** * Get the network address of this IP + * * @param int $cidr if not given will use the cidr stored with this IP * @return string */ diff --git a/LibreNMS/Util/IPv6.php b/LibreNMS/Util/IPv6.php index a7260ae825..669d0ecc9d 100644 --- a/LibreNMS/Util/IPv6.php +++ b/LibreNMS/Util/IPv6.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ @@ -30,7 +31,9 @@ class IPv6 extends IP { /** * IPv6 constructor. + * * @param string $ipv6 + * * @throws InvalidIpException */ public function __construct($ipv6) @@ -47,6 +50,7 @@ class IPv6 extends IP /** * Convert a MySQL binary v6 (16-byte) IP address to a printable string. + * * @param string $ip A binary string containing an IP address, as returned from MySQL's INET6_ATON function * @return string Empty if not valid. */ @@ -63,6 +67,7 @@ class IPv6 extends IP /** * Check if the supplied IP is valid. + * * @param string $ipv6 * @param bool $exclude_reserved Exclude reserved IP ranges. * @return bool @@ -79,6 +84,7 @@ class IPv6 extends IP /** * Remove extra 0s from this IPv6 address to make it easier to read. + * * @return string|false */ public function compressed() @@ -88,6 +94,7 @@ class IPv6 extends IP /** * Get the network address of this IP + * * @param int $cidr If not given will use the cidr stored with this IP * @return string */ @@ -113,6 +120,7 @@ class IPv6 extends IP /** * Check if this IP address is contained inside the network + * * @param string $network should be in cidr format. * @return mixed */ @@ -148,6 +156,7 @@ class IPv6 extends IP /** * Expand this IPv6 address to it's full IPv6 representation. For example: ::1 -> 0000:0000:0000:0000:0000:0000:0000:0001 + * * @return string */ public function uncompressed() diff --git a/LibreNMS/Util/Laravel.php b/LibreNMS/Util/Laravel.php index 61010b54cf..cb9e49fe33 100644 --- a/LibreNMS/Util/Laravel.php +++ b/LibreNMS/Util/Laravel.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ @@ -77,6 +78,7 @@ class Laravel /** * Check if running in the command line. * Safe for code without Laravel running and in Laravel console application. + * * @return bool */ public static function isCli(): bool diff --git a/LibreNMS/Util/ModuleTestHelper.php b/LibreNMS/Util/ModuleTestHelper.php index c4e0b760e8..172eed10fc 100644 --- a/LibreNMS/Util/ModuleTestHelper.php +++ b/LibreNMS/Util/ModuleTestHelper.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ @@ -68,9 +69,11 @@ class ModuleTestHelper /** * ModuleTester constructor. + * * @param array|string $modules * @param string $os * @param string $variant + * * @throws InvalidModuleException */ public function __construct($modules, $os, $variant = '') @@ -248,6 +251,7 @@ class ModuleTestHelper * * @param array $modules * @return array + * * @throws InvalidModuleException */ public static function findOsWithData($modules = []) @@ -319,6 +323,7 @@ class ModuleTestHelper * * @param array $modules * @return array + * * @throws InvalidModuleException */ private static function resolveModuleDependencies($modules) @@ -515,6 +520,7 @@ class ModuleTestHelper * @param Snmpsim $snmpsim * @param bool $no_save * @return array|null + * * @throws FileNotFoundException */ public function generateTestData(Snmpsim $snmpsim, $no_save = false) diff --git a/LibreNMS/Util/OS.php b/LibreNMS/Util/OS.php index e7e42a6c15..0a30cc38a3 100644 --- a/LibreNMS/Util/OS.php +++ b/LibreNMS/Util/OS.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ @@ -34,6 +35,7 @@ class OS { /** * Load os from yaml into config if not already loaded, preserving user os config + * * @param string $os */ public static function loadDefinition($os) @@ -85,6 +87,7 @@ class OS /** * Update the OS cache file cache/os_defs.cache + * * @param bool $force * @return bool true if the cache was updated */ diff --git a/LibreNMS/Util/ObjectCache.php b/LibreNMS/Util/ObjectCache.php index 9b9e20877d..4a685de8f9 100644 --- a/LibreNMS/Util/ObjectCache.php +++ b/LibreNMS/Util/ObjectCache.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Util/Rewrite.php b/LibreNMS/Util/Rewrite.php index c112c4ff4d..4d2d91d374 100644 --- a/LibreNMS/Util/Rewrite.php +++ b/LibreNMS/Util/Rewrite.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ @@ -450,6 +451,7 @@ class Rewrite /** * If given input is an IPv6 address, wrap it in [] for use in applications that require it + * * @param string $ip * @return string */ diff --git a/LibreNMS/Util/Smokeping.php b/LibreNMS/Util/Smokeping.php index cdad994198..940736f0f4 100644 --- a/LibreNMS/Util/Smokeping.php +++ b/LibreNMS/Util/Smokeping.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Util/Snmpsim.php b/LibreNMS/Util/Snmpsim.php index 3a1b3802ec..50ec769105 100644 --- a/LibreNMS/Util/Snmpsim.php +++ b/LibreNMS/Util/Snmpsim.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Util/StringHelpers.php b/LibreNMS/Util/StringHelpers.php index 75df04d15e..ea9053fa65 100644 --- a/LibreNMS/Util/StringHelpers.php +++ b/LibreNMS/Util/StringHelpers.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ @@ -84,6 +85,7 @@ class StringHelpers /** * Convert a camel or studly case string to Title case (with spaces) + * * @param string $string * @return string */ diff --git a/LibreNMS/Util/Time.php b/LibreNMS/Util/Time.php index e22f9a1d20..9e8ad6e4fb 100644 --- a/LibreNMS/Util/Time.php +++ b/LibreNMS/Util/Time.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Util/Url.php b/LibreNMS/Util/Url.php index cf4102ebe4..8db2fffa3a 100644 --- a/LibreNMS/Util/Url.php +++ b/LibreNMS/Util/Url.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Util/Validate.php b/LibreNMS/Util/Validate.php index b84f4dcaa2..1d2f193c08 100644 --- a/LibreNMS/Util/Validate.php +++ b/LibreNMS/Util/Validate.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ @@ -28,6 +29,7 @@ class Validate { /** * Checks if the give string is a valid hostname + * * @param string $hostname * @return bool */ diff --git a/LibreNMS/Util/Version.php b/LibreNMS/Util/Version.php index b8ab651653..b7efbcee32 100644 --- a/LibreNMS/Util/Version.php +++ b/LibreNMS/Util/Version.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/ValidationResult.php b/LibreNMS/ValidationResult.php index 2894aafe3c..504aaf8707 100644 --- a/LibreNMS/ValidationResult.php +++ b/LibreNMS/ValidationResult.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ @@ -39,6 +40,7 @@ class ValidationResult /** * ValidationResult constructor. + * * @param string $message The message to describe this result * @param int $status The status of this result FAILURE, WARNING, or SUCCESS * @param string $fix a suggested fix to highlight for the user @@ -52,6 +54,7 @@ class ValidationResult /** * Create a new ok Validation result + * * @param string $message The message to describe this result * @param string $fix a suggested fix to highlight for the user * @return ValidationResult @@ -63,6 +66,7 @@ class ValidationResult /** * Create a new warning Validation result + * * @param string $message The message to describe this result * @param string $fix a suggested fix to highlight for the user * @return ValidationResult @@ -74,6 +78,7 @@ class ValidationResult /** * Create a new informational Validation result + * * @param string $message The message to describe this result * @return ValidationResult */ @@ -84,6 +89,7 @@ class ValidationResult /** * Create a new failure Validation result + * * @param string $message The message to describe this result * @param string $fix a suggested fix to highlight for the user * @return ValidationResult diff --git a/LibreNMS/Validations/BaseValidation.php b/LibreNMS/Validations/BaseValidation.php index 5d33169d56..12d2f28ec8 100644 --- a/LibreNMS/Validations/BaseValidation.php +++ b/LibreNMS/Validations/BaseValidation.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Validations/Configuration.php b/LibreNMS/Validations/Configuration.php index 1585bf44ab..eae5bccb2b 100644 --- a/LibreNMS/Validations/Configuration.php +++ b/LibreNMS/Validations/Configuration.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Validations/Database.php b/LibreNMS/Validations/Database.php index d3157df6a6..e40f676a14 100644 --- a/LibreNMS/Validations/Database.php +++ b/LibreNMS/Validations/Database.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Validations/Dependencies.php b/LibreNMS/Validations/Dependencies.php index b74e0250d0..bf4d580beb 100644 --- a/LibreNMS/Validations/Dependencies.php +++ b/LibreNMS/Validations/Dependencies.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Validations/Disk.php b/LibreNMS/Validations/Disk.php index 3c8aca9b60..f0fd1d9337 100644 --- a/LibreNMS/Validations/Disk.php +++ b/LibreNMS/Validations/Disk.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Validations/DistributedPoller.php b/LibreNMS/Validations/DistributedPoller.php index c0d2ff06f0..c8a9a305c0 100644 --- a/LibreNMS/Validations/DistributedPoller.php +++ b/LibreNMS/Validations/DistributedPoller.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Validations/Mail.php b/LibreNMS/Validations/Mail.php index 6532372fc6..7d4526152e 100644 --- a/LibreNMS/Validations/Mail.php +++ b/LibreNMS/Validations/Mail.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Validations/Php.php b/LibreNMS/Validations/Php.php index 606a27d684..1529258716 100644 --- a/LibreNMS/Validations/Php.php +++ b/LibreNMS/Validations/Php.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Validations/Programs.php b/LibreNMS/Validations/Programs.php index 965e5bc25e..5d47698184 100644 --- a/LibreNMS/Validations/Programs.php +++ b/LibreNMS/Validations/Programs.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Validations/Python.php b/LibreNMS/Validations/Python.php index bcd9619157..4131dc5c32 100644 --- a/LibreNMS/Validations/Python.php +++ b/LibreNMS/Validations/Python.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Thomas Berberich * @author Thomas Berberich */ diff --git a/LibreNMS/Validations/Rrd.php b/LibreNMS/Validations/Rrd.php index 2d37cb200a..885a1b5b66 100644 --- a/LibreNMS/Validations/Rrd.php +++ b/LibreNMS/Validations/Rrd.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Validations/RrdCheck.php b/LibreNMS/Validations/RrdCheck.php index 923f8c7e93..ef2fc8da94 100644 --- a/LibreNMS/Validations/RrdCheck.php +++ b/LibreNMS/Validations/RrdCheck.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ @@ -86,7 +87,6 @@ class RrdCheck extends BaseValidation * @param string $path Path to pass to rrdtool info * @param string $stdOutput Variable to recieve the output of STDOUT * @param string $stdError Variable to recieve the output of STDERR - * * @return int exit code * **/ diff --git a/LibreNMS/Validations/Updates.php b/LibreNMS/Validations/Updates.php index 0fc90803a8..8a4993b1d8 100644 --- a/LibreNMS/Validations/Updates.php +++ b/LibreNMS/Validations/Updates.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Validations/User.php b/LibreNMS/Validations/User.php index 2a3a7676a6..f46085b0d0 100644 --- a/LibreNMS/Validations/User.php +++ b/LibreNMS/Validations/User.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/LibreNMS/Validator.php b/LibreNMS/Validator.php index b4994449e9..db40c813df 100644 --- a/LibreNMS/Validator.php +++ b/LibreNMS/Validator.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/app/Api/Controllers/LegacyApiController.php b/app/Api/Controllers/LegacyApiController.php index d965eee64c..daffa52a67 100644 --- a/app/Api/Controllers/LegacyApiController.php +++ b/app/Api/Controllers/LegacyApiController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/app/ApiClients/BaseApi.php b/app/ApiClients/BaseApi.php index 6adf509a42..cde7c9b57c 100644 --- a/app/ApiClients/BaseApi.php +++ b/app/ApiClients/BaseApi.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/ApiClients/BingApi.php b/app/ApiClients/BingApi.php index ed28a5f061..6ed4a3e2d6 100644 --- a/app/ApiClients/BingApi.php +++ b/app/ApiClients/BingApi.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ @@ -54,6 +55,7 @@ class BingApi extends BaseApi implements Geocoder * * @param string $address * @return array + * * @throws \Exception you may throw an Exception if validation fails */ protected function buildGeocodingOptions($address) diff --git a/app/ApiClients/GeocodingHelper.php b/app/ApiClients/GeocodingHelper.php index 2467f8bbad..24fa9659a4 100644 --- a/app/ApiClients/GeocodingHelper.php +++ b/app/ApiClients/GeocodingHelper.php @@ -17,6 +17,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ @@ -93,6 +94,7 @@ trait GeocodingHelper * * @param string $address * @return array + * * @throws \Exception you may throw an Exception if validation fails */ abstract protected function buildGeocodingOptions($address); diff --git a/app/ApiClients/GoogleMapsApi.php b/app/ApiClients/GoogleMapsApi.php index 4fd8a54433..7e61e1e257 100644 --- a/app/ApiClients/GoogleMapsApi.php +++ b/app/ApiClients/GoogleMapsApi.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ @@ -68,6 +69,7 @@ class GoogleMapsApi extends BaseApi implements Geocoder * * @param string $address * @return array + * * @throws \Exception you may throw an Exception if validation fails */ protected function buildGeocodingOptions($address) @@ -91,6 +93,7 @@ class GoogleMapsApi extends BaseApi implements Geocoder * @param \Psr\Http\Message\ResponseInterface $response * @param array $data decoded response data * @return bool + * * @throws Exception you may throw an Exception if validation fails */ protected function checkResponse($response, $data) diff --git a/app/ApiClients/GraylogApi.php b/app/ApiClients/GraylogApi.php index aa688c0577..e46ff4bc3e 100644 --- a/app/ApiClients/GraylogApi.php +++ b/app/ApiClients/GraylogApi.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/ApiClients/MapquestApi.php b/app/ApiClients/MapquestApi.php index 0d823c487c..f357b30b6d 100644 --- a/app/ApiClients/MapquestApi.php +++ b/app/ApiClients/MapquestApi.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ @@ -54,6 +55,7 @@ class MapquestApi extends BaseApi implements Geocoder * * @param string $address * @return array + * * @throws \Exception you may throw an Exception if validation fails */ protected function buildGeocodingOptions($address) diff --git a/app/ApiClients/NominatimApi.php b/app/ApiClients/NominatimApi.php index 459bf32195..00ab86e8eb 100644 --- a/app/ApiClients/NominatimApi.php +++ b/app/ApiClients/NominatimApi.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ @@ -52,6 +53,7 @@ class NominatimApi extends BaseApi implements Geocoder * * @param string $address * @return array + * * @throws \Exception you may throw an Exception if validation fails */ protected function buildGeocodingOptions($address) diff --git a/app/ApiClients/RipeApi.php b/app/ApiClients/RipeApi.php index 6c9d8577ea..abb575f455 100644 --- a/app/ApiClients/RipeApi.php +++ b/app/ApiClients/RipeApi.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ @@ -39,6 +40,7 @@ class RipeApi extends BaseApi * * @param string $resource ASN/IPv4/IPv6 * @return array + * * @throws ApiException */ public function getWhois($resource) @@ -55,6 +57,7 @@ class RipeApi extends BaseApi * * @param string $resource prefix, single IP address or ASN * @return array|mixed + * * @throws ApiException */ public function getAbuseContact($resource) @@ -68,6 +71,7 @@ class RipeApi extends BaseApi /** * @return array|mixed + * * @throws ApiException */ private function makeApiCall(string $uri, array $options) diff --git a/app/Application.php b/app/Application.php index eaf23a3232..3462e9b560 100644 --- a/app/Application.php +++ b/app/Application.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Checks.php b/app/Checks.php index 45e39ffda4..58cdaac653 100644 --- a/app/Checks.php +++ b/app/Checks.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Console/Commands/AddUserCommand.php b/app/Console/Commands/AddUserCommand.php index cf162fb9fa..9e14501e7d 100644 --- a/app/Console/Commands/AddUserCommand.php +++ b/app/Console/Commands/AddUserCommand.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/app/Console/Commands/DevCheckCommand.php b/app/Console/Commands/DevCheckCommand.php index 85e9929846..24d07c04ca 100644 --- a/app/Console/Commands/DevCheckCommand.php +++ b/app/Console/Commands/DevCheckCommand.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Console/Commands/SetConfigCommand.php b/app/Console/Commands/SetConfigCommand.php index 27078188a2..1e095d01f9 100644 --- a/app/Console/Commands/SetConfigCommand.php +++ b/app/Console/Commands/SetConfigCommand.php @@ -207,6 +207,7 @@ class SetConfigCommand extends LnmsCommand * @param string $os * @param string $setting * @param mixed $value + * * @throws \JsonSchema\Exception\ValidationException */ private function validateOsSetting(string $os, string $setting, $value) diff --git a/app/Console/Commands/SmokepingGenerateCommand.php b/app/Console/Commands/SmokepingGenerateCommand.php index e05485f3f9..f093ed0051 100644 --- a/app/Console/Commands/SmokepingGenerateCommand.php +++ b/app/Console/Commands/SmokepingGenerateCommand.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Adam Bishop * @author Adam Bishop */ @@ -149,7 +150,6 @@ class SmokepingGenerateCommand extends LnmsCommand * Bring together the probe lists * * @param int $probeCount Number of processes to create - * * @return array */ public function assembleProbes($probeCount) @@ -172,7 +172,6 @@ class SmokepingGenerateCommand extends LnmsCommand * @param string $probe The first part of the probe name, e.g. 'lnmsFPing' or 'lnmsFPing6' * @param string $binary Path to the relevant probe binary (i.e. the output of `which fping` or `which fping6`) * @param int $probeCount Number of processes to create - * * @return array */ public function buildProbes($module, $defaultProbe, $probe, $binary, $probeCount) @@ -224,7 +223,6 @@ class SmokepingGenerateCommand extends LnmsCommand * Determine if a list of targets is needed, and write one if so * * @param array $smokelist A list of devices to create a a config block for - * * @return array */ public function buildTargets($smokelist, $probeCount, $singleProcess) @@ -293,7 +291,6 @@ class SmokepingGenerateCommand extends LnmsCommand * Take config lines and output them to stdout * * @param array ...$blocks Blocks of smokeping configuration arranged in arrays of strings - * * @return int */ private function render(...$blocks) @@ -309,7 +306,6 @@ class SmokepingGenerateCommand extends LnmsCommand * Build the configuration for a set of devices inside a type block * * @param array $devices A list of devices to create a a config block for - * * @return array */ private function buildDevices($devices, $probeCount, $singleProcess) @@ -338,7 +334,6 @@ class SmokepingGenerateCommand extends LnmsCommand * Smokeping refuses to load if it has an unresolvable host, so check for this * * @param string $hostname Hostname to be checked - * * @return bool */ private function deviceIsResolvable($hostname) @@ -358,7 +353,6 @@ class SmokepingGenerateCommand extends LnmsCommand * Rewrite menu entries to a format that smokeping finds acceptable * * @param string $entry The LibreNMS device hostname to rewrite - * * @return string */ private function buildMenuEntry($entry) @@ -370,7 +364,6 @@ class SmokepingGenerateCommand extends LnmsCommand * Select a probe to use deterministically. * * @param string $transport The transport (udp or udp6) as per the device database entry - * * @return string */ private function balanceProbes($transport, $probeCount) diff --git a/app/Console/Commands/Traits/CompletesConfigArgument.php b/app/Console/Commands/Traits/CompletesConfigArgument.php index 9a45442bfb..50d16526c6 100644 --- a/app/Console/Commands/Traits/CompletesConfigArgument.php +++ b/app/Console/Commands/Traits/CompletesConfigArgument.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Console/Commands/TranslationGenerateCommand.php b/app/Console/Commands/TranslationGenerateCommand.php index 78c4b20b59..a2216b6c7b 100644 --- a/app/Console/Commands/TranslationGenerateCommand.php +++ b/app/Console/Commands/TranslationGenerateCommand.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/app/Console/LnmsCommand.php b/app/Console/LnmsCommand.php index cffc5ff207..399a95452a 100644 --- a/app/Console/LnmsCommand.php +++ b/app/Console/LnmsCommand.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ @@ -59,10 +60,9 @@ abstract class LnmsCommand extends Command * @param int|null $mode The argument mode: InputArgument::REQUIRED or InputArgument::OPTIONAL * @param string $description A description text * @param string|string[]|null $default The default value (for InputArgument::OPTIONAL mode only) + * @return $this * * @throws InvalidArgumentException When argument mode is not valid - * - * @return $this */ public function addArgument($name, $mode = null, $description = null, $default = null) { @@ -85,10 +85,9 @@ abstract class LnmsCommand extends Command * @param int|null $mode The option mode: One of the InputOption::VALUE_* constants * @param string $description A description text * @param string|string[]|int|bool|null $default The default value (must be null for InputOption::VALUE_NONE) + * @return $this * * @throws InvalidArgumentException If option mode is invalid or incompatible - * - * @return $this */ public function addOption($name, $shortcut = null, $mode = null, $description = null, $default = null) { diff --git a/app/Facades/DeviceCache.php b/app/Facades/DeviceCache.php index 91ce2d8363..d173607d9b 100644 --- a/app/Facades/DeviceCache.php +++ b/app/Facades/DeviceCache.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/app/Facades/LogManager.php b/app/Facades/LogManager.php index 6b94d55c56..c4d48629e3 100644 --- a/app/Facades/LogManager.php +++ b/app/Facades/LogManager.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/app/Facades/Permissions.php b/app/Facades/Permissions.php index 8c7aed4fce..d6e97e53d2 100644 --- a/app/Facades/Permissions.php +++ b/app/Facades/Permissions.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/app/Facades/Rrd.php b/app/Facades/Rrd.php index e5b5d3a325..dc644a33e9 100644 --- a/app/Facades/Rrd.php +++ b/app/Facades/Rrd.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Guards/ApiTokenGuard.php b/app/Guards/ApiTokenGuard.php index 0f7a97c0b9..9c5a8024f0 100644 --- a/app/Guards/ApiTokenGuard.php +++ b/app/Guards/ApiTokenGuard.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/AboutController.php b/app/Http/Controllers/AboutController.php index b4db49cf3c..efb468b4ff 100644 --- a/app/Http/Controllers/AboutController.php +++ b/app/Http/Controllers/AboutController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Ajax/AvailabilityMapController.php b/app/Http/Controllers/Ajax/AvailabilityMapController.php index 8aeb28811a..c554485ca4 100644 --- a/app/Http/Controllers/Ajax/AvailabilityMapController.php +++ b/app/Http/Controllers/Ajax/AvailabilityMapController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Ajax/NetCommand.php b/app/Http/Controllers/Ajax/NetCommand.php index c16e771fc5..5b867ad7c4 100644 --- a/app/Http/Controllers/Ajax/NetCommand.php +++ b/app/Http/Controllers/Ajax/NetCommand.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Ajax/ResolutionController.php b/app/Http/Controllers/Ajax/ResolutionController.php index 89dc7be12a..bc737f5c41 100644 --- a/app/Http/Controllers/Ajax/ResolutionController.php +++ b/app/Http/Controllers/Ajax/ResolutionController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Ajax/RipeNccApiController.php b/app/Http/Controllers/Ajax/RipeNccApiController.php index d8da95f332..f17c80bb01 100644 --- a/app/Http/Controllers/Ajax/RipeNccApiController.php +++ b/app/Http/Controllers/Ajax/RipeNccApiController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Auth/TwoFactorController.php b/app/Http/Controllers/Auth/TwoFactorController.php index 8e7dce509c..10803b9f2a 100644 --- a/app/Http/Controllers/Auth/TwoFactorController.php +++ b/app/Http/Controllers/Auth/TwoFactorController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ @@ -150,6 +151,7 @@ class TwoFactorController extends Controller * @param User $user * @param int $token * @return true + * * @throws AuthenticationException */ private function checkToken($user, $token) diff --git a/app/Http/Controllers/Auth/TwoFactorManagementController.php b/app/Http/Controllers/Auth/TwoFactorManagementController.php index 136e58cdf8..15df9609a6 100644 --- a/app/Http/Controllers/Auth/TwoFactorManagementController.php +++ b/app/Http/Controllers/Auth/TwoFactorManagementController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/AccessPointsController.php b/app/Http/Controllers/Device/Tabs/AccessPointsController.php index 10ffc04ad7..316bd1db4b 100644 --- a/app/Http/Controllers/Device/Tabs/AccessPointsController.php +++ b/app/Http/Controllers/Device/Tabs/AccessPointsController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/AlertStatsController.php b/app/Http/Controllers/Device/Tabs/AlertStatsController.php index bf50b88ef9..9e90f2c8bc 100644 --- a/app/Http/Controllers/Device/Tabs/AlertStatsController.php +++ b/app/Http/Controllers/Device/Tabs/AlertStatsController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/AlertsController.php b/app/Http/Controllers/Device/Tabs/AlertsController.php index 0021f13a92..4cd0125d21 100644 --- a/app/Http/Controllers/Device/Tabs/AlertsController.php +++ b/app/Http/Controllers/Device/Tabs/AlertsController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/AppsController.php b/app/Http/Controllers/Device/Tabs/AppsController.php index f4750ff221..bdde17dfc4 100644 --- a/app/Http/Controllers/Device/Tabs/AppsController.php +++ b/app/Http/Controllers/Device/Tabs/AppsController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/CaptureController.php b/app/Http/Controllers/Device/Tabs/CaptureController.php index 98a5501808..f2ba93a61a 100644 --- a/app/Http/Controllers/Device/Tabs/CaptureController.php +++ b/app/Http/Controllers/Device/Tabs/CaptureController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/CollectdController.php b/app/Http/Controllers/Device/Tabs/CollectdController.php index cec6cb25cf..dc907a8893 100644 --- a/app/Http/Controllers/Device/Tabs/CollectdController.php +++ b/app/Http/Controllers/Device/Tabs/CollectdController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/EditController.php b/app/Http/Controllers/Device/Tabs/EditController.php index f2f66ba951..bf137f3460 100644 --- a/app/Http/Controllers/Device/Tabs/EditController.php +++ b/app/Http/Controllers/Device/Tabs/EditController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/GraphsController.php b/app/Http/Controllers/Device/Tabs/GraphsController.php index 7ed3b88f35..d2dad30505 100644 --- a/app/Http/Controllers/Device/Tabs/GraphsController.php +++ b/app/Http/Controllers/Device/Tabs/GraphsController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/HealthController.php b/app/Http/Controllers/Device/Tabs/HealthController.php index e382b4a2dc..24388ea24e 100644 --- a/app/Http/Controllers/Device/Tabs/HealthController.php +++ b/app/Http/Controllers/Device/Tabs/HealthController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/InventoryController.php b/app/Http/Controllers/Device/Tabs/InventoryController.php index d2aa0624d1..15adf9a3f4 100644 --- a/app/Http/Controllers/Device/Tabs/InventoryController.php +++ b/app/Http/Controllers/Device/Tabs/InventoryController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/LatencyController.php b/app/Http/Controllers/Device/Tabs/LatencyController.php index fd52e4faeb..2249d9c0ab 100644 --- a/app/Http/Controllers/Device/Tabs/LatencyController.php +++ b/app/Http/Controllers/Device/Tabs/LatencyController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ @@ -96,6 +97,7 @@ class LatencyController implements DeviceTab /** * Data ready for json export + * * @param \Illuminate\Support\Collection $data * @return array */ diff --git a/app/Http/Controllers/Device/Tabs/LoadBalancerController.php b/app/Http/Controllers/Device/Tabs/LoadBalancerController.php index 325d246649..c4377cda28 100644 --- a/app/Http/Controllers/Device/Tabs/LoadBalancerController.php +++ b/app/Http/Controllers/Device/Tabs/LoadBalancerController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/LogsController.php b/app/Http/Controllers/Device/Tabs/LogsController.php index be642d2e18..d884d84a3a 100644 --- a/app/Http/Controllers/Device/Tabs/LogsController.php +++ b/app/Http/Controllers/Device/Tabs/LogsController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/MefController.php b/app/Http/Controllers/Device/Tabs/MefController.php index 70125c1ea2..eb6d2b1abf 100644 --- a/app/Http/Controllers/Device/Tabs/MefController.php +++ b/app/Http/Controllers/Device/Tabs/MefController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/MibController.php b/app/Http/Controllers/Device/Tabs/MibController.php index f2726ede08..393bb4bd04 100644 --- a/app/Http/Controllers/Device/Tabs/MibController.php +++ b/app/Http/Controllers/Device/Tabs/MibController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/MuninController.php b/app/Http/Controllers/Device/Tabs/MuninController.php index ef6ee81f8e..e02f1cf51f 100644 --- a/app/Http/Controllers/Device/Tabs/MuninController.php +++ b/app/Http/Controllers/Device/Tabs/MuninController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/NacController.php b/app/Http/Controllers/Device/Tabs/NacController.php index 9268df7d1d..97920fe44a 100644 --- a/app/Http/Controllers/Device/Tabs/NacController.php +++ b/app/Http/Controllers/Device/Tabs/NacController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/NeighboursController.php b/app/Http/Controllers/Device/Tabs/NeighboursController.php index 1033fe2735..d6f8896461 100644 --- a/app/Http/Controllers/Device/Tabs/NeighboursController.php +++ b/app/Http/Controllers/Device/Tabs/NeighboursController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/NetflowController.php b/app/Http/Controllers/Device/Tabs/NetflowController.php index 5432b06377..80fb3c5666 100644 --- a/app/Http/Controllers/Device/Tabs/NetflowController.php +++ b/app/Http/Controllers/Device/Tabs/NetflowController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/NotesController.php b/app/Http/Controllers/Device/Tabs/NotesController.php index 53c3b1c227..1e672bfba1 100644 --- a/app/Http/Controllers/Device/Tabs/NotesController.php +++ b/app/Http/Controllers/Device/Tabs/NotesController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/OverviewController.php b/app/Http/Controllers/Device/Tabs/OverviewController.php index f5d92d384e..c6d6e98142 100644 --- a/app/Http/Controllers/Device/Tabs/OverviewController.php +++ b/app/Http/Controllers/Device/Tabs/OverviewController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/PackagesController.php b/app/Http/Controllers/Device/Tabs/PackagesController.php index 00d830b2ae..9cdb38a905 100644 --- a/app/Http/Controllers/Device/Tabs/PackagesController.php +++ b/app/Http/Controllers/Device/Tabs/PackagesController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/PortController.php b/app/Http/Controllers/Device/Tabs/PortController.php index 866982239e..de8eba35a1 100644 --- a/app/Http/Controllers/Device/Tabs/PortController.php +++ b/app/Http/Controllers/Device/Tabs/PortController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/PortsController.php b/app/Http/Controllers/Device/Tabs/PortsController.php index cdf01647dd..20b68ea975 100644 --- a/app/Http/Controllers/Device/Tabs/PortsController.php +++ b/app/Http/Controllers/Device/Tabs/PortsController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/PrinterController.php b/app/Http/Controllers/Device/Tabs/PrinterController.php index 00afad2ea1..4d52ae487d 100644 --- a/app/Http/Controllers/Device/Tabs/PrinterController.php +++ b/app/Http/Controllers/Device/Tabs/PrinterController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/ProcessesController.php b/app/Http/Controllers/Device/Tabs/ProcessesController.php index a74dab5821..d7a50da2e4 100644 --- a/app/Http/Controllers/Device/Tabs/ProcessesController.php +++ b/app/Http/Controllers/Device/Tabs/ProcessesController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/PseudowiresController.php b/app/Http/Controllers/Device/Tabs/PseudowiresController.php index 2c6d4e4518..9d40169944 100644 --- a/app/Http/Controllers/Device/Tabs/PseudowiresController.php +++ b/app/Http/Controllers/Device/Tabs/PseudowiresController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/RoutingController.php b/app/Http/Controllers/Device/Tabs/RoutingController.php index 3384e756de..ed867e5672 100644 --- a/app/Http/Controllers/Device/Tabs/RoutingController.php +++ b/app/Http/Controllers/Device/Tabs/RoutingController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/ServicesController.php b/app/Http/Controllers/Device/Tabs/ServicesController.php index 85a08002bc..bdfa1a7625 100644 --- a/app/Http/Controllers/Device/Tabs/ServicesController.php +++ b/app/Http/Controllers/Device/Tabs/ServicesController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/ShowConfigController.php b/app/Http/Controllers/Device/Tabs/ShowConfigController.php index 42312fd2bf..e70050ef31 100644 --- a/app/Http/Controllers/Device/Tabs/ShowConfigController.php +++ b/app/Http/Controllers/Device/Tabs/ShowConfigController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/SlasController.php b/app/Http/Controllers/Device/Tabs/SlasController.php index 5c5d0c8e87..46b5448905 100644 --- a/app/Http/Controllers/Device/Tabs/SlasController.php +++ b/app/Http/Controllers/Device/Tabs/SlasController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/StpController.php b/app/Http/Controllers/Device/Tabs/StpController.php index 1c58f0adfe..93f01d1a0c 100644 --- a/app/Http/Controllers/Device/Tabs/StpController.php +++ b/app/Http/Controllers/Device/Tabs/StpController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/TnmsneController.php b/app/Http/Controllers/Device/Tabs/TnmsneController.php index 74830d0fe7..6da7579abd 100644 --- a/app/Http/Controllers/Device/Tabs/TnmsneController.php +++ b/app/Http/Controllers/Device/Tabs/TnmsneController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/VlansController.php b/app/Http/Controllers/Device/Tabs/VlansController.php index bbe79b81dd..2ea44ac240 100644 --- a/app/Http/Controllers/Device/Tabs/VlansController.php +++ b/app/Http/Controllers/Device/Tabs/VlansController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/VmInfoController.php b/app/Http/Controllers/Device/Tabs/VmInfoController.php index 1132d741a9..6974cb7386 100644 --- a/app/Http/Controllers/Device/Tabs/VmInfoController.php +++ b/app/Http/Controllers/Device/Tabs/VmInfoController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Device/Tabs/WirelessController.php b/app/Http/Controllers/Device/Tabs/WirelessController.php index 3b08bdb825..d27d2476ab 100644 --- a/app/Http/Controllers/Device/Tabs/WirelessController.php +++ b/app/Http/Controllers/Device/Tabs/WirelessController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Form/CopyDashboardController.php b/app/Http/Controllers/Form/CopyDashboardController.php index 71ad2d65a4..bcb2b1fb4d 100644 --- a/app/Http/Controllers/Form/CopyDashboardController.php +++ b/app/Http/Controllers/Form/CopyDashboardController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Thomas Berberich * @author Thomas Berberich */ diff --git a/app/Http/Controllers/Form/WidgetSettingsController.php b/app/Http/Controllers/Form/WidgetSettingsController.php index ec2ebcfcbb..2f665d0497 100644 --- a/app/Http/Controllers/Form/WidgetSettingsController.php +++ b/app/Http/Controllers/Form/WidgetSettingsController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Install/ChecksController.php b/app/Http/Controllers/Install/ChecksController.php index 8b53ac3201..3cec32a4b0 100644 --- a/app/Http/Controllers/Install/ChecksController.php +++ b/app/Http/Controllers/Install/ChecksController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Install/DatabaseController.php b/app/Http/Controllers/Install/DatabaseController.php index b3f5abea12..8c39818202 100644 --- a/app/Http/Controllers/Install/DatabaseController.php +++ b/app/Http/Controllers/Install/DatabaseController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Install/FinalizeController.php b/app/Http/Controllers/Install/FinalizeController.php index e13e4e8885..5a87ff0ba6 100644 --- a/app/Http/Controllers/Install/FinalizeController.php +++ b/app/Http/Controllers/Install/FinalizeController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Install/InstallationController.php b/app/Http/Controllers/Install/InstallationController.php index a789c8836f..73696e4cd7 100644 --- a/app/Http/Controllers/Install/InstallationController.php +++ b/app/Http/Controllers/Install/InstallationController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Install/MakeUserController.php b/app/Http/Controllers/Install/MakeUserController.php index a2d2e66a93..c76e4543b4 100644 --- a/app/Http/Controllers/Install/MakeUserController.php +++ b/app/Http/Controllers/Install/MakeUserController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/LocationController.php b/app/Http/Controllers/LocationController.php index 10e7c68448..1e8ea4f67f 100644 --- a/app/Http/Controllers/LocationController.php +++ b/app/Http/Controllers/LocationController.php @@ -41,6 +41,7 @@ class LocationController extends Controller * @param \Illuminate\Http\Request $request * @param Location $location * @return \Illuminate\Http\JsonResponse + * * @throws \Illuminate\Auth\Access\AuthorizationException */ public function update(Request $request, Location $location) @@ -64,6 +65,7 @@ class LocationController extends Controller * * @param Location $location * @return \Illuminate\Http\JsonResponse + * * @throws \Exception */ public function destroy(Request $request, Location $location) diff --git a/app/Http/Controllers/Maps/DeviceDependencyController.php b/app/Http/Controllers/Maps/DeviceDependencyController.php index 4f73d5a0b4..b5af24652a 100644 --- a/app/Http/Controllers/Maps/DeviceDependencyController.php +++ b/app/Http/Controllers/Maps/DeviceDependencyController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Thomas Berberich * @author Thomas Berberich */ diff --git a/app/Http/Controllers/Maps/MapController.php b/app/Http/Controllers/Maps/MapController.php index d6b8299115..a34de2646e 100644 --- a/app/Http/Controllers/Maps/MapController.php +++ b/app/Http/Controllers/Maps/MapController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Thomas Berberich * @author Thomas Berberich */ diff --git a/app/Http/Controllers/PaginatedAjaxController.php b/app/Http/Controllers/PaginatedAjaxController.php index 3745b1f379..ea3d72e927 100644 --- a/app/Http/Controllers/PaginatedAjaxController.php +++ b/app/Http/Controllers/PaginatedAjaxController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ @@ -34,6 +35,7 @@ abstract class PaginatedAjaxController extends Controller { /** * Default sort, column => direction + * * @var array */ protected $default_sort = []; diff --git a/app/Http/Controllers/PollerSettingsController.php b/app/Http/Controllers/PollerSettingsController.php index 2ccbd3c2db..0639b39e50 100644 --- a/app/Http/Controllers/PollerSettingsController.php +++ b/app/Http/Controllers/PollerSettingsController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Select/ApplicationController.php b/app/Http/Controllers/Select/ApplicationController.php index 65a7ae4f40..dd22ce2b1d 100644 --- a/app/Http/Controllers/Select/ApplicationController.php +++ b/app/Http/Controllers/Select/ApplicationController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Select/BillController.php b/app/Http/Controllers/Select/BillController.php index 3f0b21c71e..4fef24947d 100644 --- a/app/Http/Controllers/Select/BillController.php +++ b/app/Http/Controllers/Select/BillController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Select/DashboardController.php b/app/Http/Controllers/Select/DashboardController.php index 47236df3cb..213caa586f 100644 --- a/app/Http/Controllers/Select/DashboardController.php +++ b/app/Http/Controllers/Select/DashboardController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Select/DeviceController.php b/app/Http/Controllers/Select/DeviceController.php index 802da216c2..3affe025d9 100644 --- a/app/Http/Controllers/Select/DeviceController.php +++ b/app/Http/Controllers/Select/DeviceController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Select/DeviceFieldController.php b/app/Http/Controllers/Select/DeviceFieldController.php index 7bdb984162..8f39b76798 100644 --- a/app/Http/Controllers/Select/DeviceFieldController.php +++ b/app/Http/Controllers/Select/DeviceFieldController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Select/DeviceGroupController.php b/app/Http/Controllers/Select/DeviceGroupController.php index caa0765a3a..e6a3e0eeb6 100644 --- a/app/Http/Controllers/Select/DeviceGroupController.php +++ b/app/Http/Controllers/Select/DeviceGroupController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Select/EventlogController.php b/app/Http/Controllers/Select/EventlogController.php index 15079aada9..b58b0ba214 100644 --- a/app/Http/Controllers/Select/EventlogController.php +++ b/app/Http/Controllers/Select/EventlogController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Select/GraphAggregateController.php b/app/Http/Controllers/Select/GraphAggregateController.php index 16187d5de3..90cab0a77c 100644 --- a/app/Http/Controllers/Select/GraphAggregateController.php +++ b/app/Http/Controllers/Select/GraphAggregateController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Select/GraphController.php b/app/Http/Controllers/Select/GraphController.php index 7d2f0e1755..11a716ba39 100644 --- a/app/Http/Controllers/Select/GraphController.php +++ b/app/Http/Controllers/Select/GraphController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Select/GraylogStreamsController.php b/app/Http/Controllers/Select/GraylogStreamsController.php index f28d36e53a..321155cfb7 100644 --- a/app/Http/Controllers/Select/GraylogStreamsController.php +++ b/app/Http/Controllers/Select/GraylogStreamsController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Select/LocationController.php b/app/Http/Controllers/Select/LocationController.php index 6debdf7686..b60ce0d966 100644 --- a/app/Http/Controllers/Select/LocationController.php +++ b/app/Http/Controllers/Select/LocationController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Select/MuninPluginController.php b/app/Http/Controllers/Select/MuninPluginController.php index f37a3dbe86..6a48a2cb68 100644 --- a/app/Http/Controllers/Select/MuninPluginController.php +++ b/app/Http/Controllers/Select/MuninPluginController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Select/PortController.php b/app/Http/Controllers/Select/PortController.php index a5bcc795a5..2bbc4a2bfb 100644 --- a/app/Http/Controllers/Select/PortController.php +++ b/app/Http/Controllers/Select/PortController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Select/PortFieldController.php b/app/Http/Controllers/Select/PortFieldController.php index 002c5fd20e..a55b7e2598 100644 --- a/app/Http/Controllers/Select/PortFieldController.php +++ b/app/Http/Controllers/Select/PortFieldController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Select/PortGroupController.php b/app/Http/Controllers/Select/PortGroupController.php index 47a2df6a95..b21bada64a 100644 --- a/app/Http/Controllers/Select/PortGroupController.php +++ b/app/Http/Controllers/Select/PortGroupController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link http://librenms.org + * * @copyright 2020 Thomas Berberich * @author Thomas Berberich */ diff --git a/app/Http/Controllers/Select/SelectController.php b/app/Http/Controllers/Select/SelectController.php index b38398a715..d7f64d8050 100644 --- a/app/Http/Controllers/Select/SelectController.php +++ b/app/Http/Controllers/Select/SelectController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Select/ServiceController.php b/app/Http/Controllers/Select/ServiceController.php index 16530efce5..6d1d55ff3f 100644 --- a/app/Http/Controllers/Select/ServiceController.php +++ b/app/Http/Controllers/Select/ServiceController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Select/ServiceTemplateController.php b/app/Http/Controllers/Select/ServiceTemplateController.php index 610cdc8164..5fdd794949 100644 --- a/app/Http/Controllers/Select/ServiceTemplateController.php +++ b/app/Http/Controllers/Select/ServiceTemplateController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Anthony F McInerney * @author Anthony F McInerney */ diff --git a/app/Http/Controllers/Select/SyslogController.php b/app/Http/Controllers/Select/SyslogController.php index 1599d968a9..3eb493b4d4 100644 --- a/app/Http/Controllers/Select/SyslogController.php +++ b/app/Http/Controllers/Select/SyslogController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Table/AlertScheduleController.php b/app/Http/Controllers/Table/AlertScheduleController.php index 22e32f10d0..0285ce24d8 100644 --- a/app/Http/Controllers/Table/AlertScheduleController.php +++ b/app/Http/Controllers/Table/AlertScheduleController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Table/CustomersController.php b/app/Http/Controllers/Table/CustomersController.php index 0eae095e8e..ed23e45f4c 100644 --- a/app/Http/Controllers/Table/CustomersController.php +++ b/app/Http/Controllers/Table/CustomersController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Table/DeviceController.php b/app/Http/Controllers/Table/DeviceController.php index 8bd57682ba..f8baeb2865 100644 --- a/app/Http/Controllers/Table/DeviceController.php +++ b/app/Http/Controllers/Table/DeviceController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ @@ -158,6 +159,7 @@ class DeviceController extends TableController /** * Get the device up/down status + * * @param Device $device * @return string */ @@ -174,6 +176,7 @@ class DeviceController extends TableController /** * Get the status label class + * * @param Device $device * @return string */ diff --git a/app/Http/Controllers/Table/EventlogController.php b/app/Http/Controllers/Table/EventlogController.php index e0cf27d1d4..04772eedf1 100644 --- a/app/Http/Controllers/Table/EventlogController.php +++ b/app/Http/Controllers/Table/EventlogController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Table/FdbTablesController.php b/app/Http/Controllers/Table/FdbTablesController.php index a0e6cfb15d..0535eb8e13 100644 --- a/app/Http/Controllers/Table/FdbTablesController.php +++ b/app/Http/Controllers/Table/FdbTablesController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Table/GraylogController.php b/app/Http/Controllers/Table/GraylogController.php index 1ded08011b..bc0d9f418c 100644 --- a/app/Http/Controllers/Table/GraylogController.php +++ b/app/Http/Controllers/Table/GraylogController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ @@ -144,6 +145,7 @@ class GraylogController extends SimpleTableController /** * Cache device lookups so we don't lookup for every entry + * * @param mixed $source * @return mixed */ diff --git a/app/Http/Controllers/Table/LocationController.php b/app/Http/Controllers/Table/LocationController.php index 783e0b8e43..244a84b6bf 100644 --- a/app/Http/Controllers/Table/LocationController.php +++ b/app/Http/Controllers/Table/LocationController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Table/OutagesController.php b/app/Http/Controllers/Table/OutagesController.php index 1fcfcaa73b..3dfdd806d6 100644 --- a/app/Http/Controllers/Table/OutagesController.php +++ b/app/Http/Controllers/Table/OutagesController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Thomas Berberich * @author Thomas Berberich */ diff --git a/app/Http/Controllers/Table/PortNacController.php b/app/Http/Controllers/Table/PortNacController.php index d7bd8b29fc..f6c68e758e 100644 --- a/app/Http/Controllers/Table/PortNacController.php +++ b/app/Http/Controllers/Table/PortNacController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Table/RoutesTablesController.php b/app/Http/Controllers/Table/RoutesTablesController.php index 52a0cc4b3c..9e226a5910 100644 --- a/app/Http/Controllers/Table/RoutesTablesController.php +++ b/app/Http/Controllers/Table/RoutesTablesController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 PipoCanaja * @author PipoCanaja */ diff --git a/app/Http/Controllers/Table/SimpleTableController.php b/app/Http/Controllers/Table/SimpleTableController.php index 820ae09f00..9b26fd7a53 100644 --- a/app/Http/Controllers/Table/SimpleTableController.php +++ b/app/Http/Controllers/Table/SimpleTableController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Table/SyslogController.php b/app/Http/Controllers/Table/SyslogController.php index 1660bec6b6..94ce76520e 100644 --- a/app/Http/Controllers/Table/SyslogController.php +++ b/app/Http/Controllers/Table/SyslogController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Table/TableController.php b/app/Http/Controllers/Table/TableController.php index 9ef705ec71..0431193fdb 100644 --- a/app/Http/Controllers/Table/TableController.php +++ b/app/Http/Controllers/Table/TableController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Table/VminfoController.php b/app/Http/Controllers/Table/VminfoController.php index 688190798d..ab52a88196 100644 --- a/app/Http/Controllers/Table/VminfoController.php +++ b/app/Http/Controllers/Table/VminfoController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php index 7b939b9c02..a549e75c19 100644 --- a/app/Http/Controllers/UserController.php +++ b/app/Http/Controllers/UserController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ @@ -47,6 +48,7 @@ class UserController extends Controller * Display a listing of the resource. * * @return \Illuminate\View\View + * * @throws \Illuminate\Auth\Access\AuthorizationException */ public function index() @@ -63,6 +65,7 @@ class UserController extends Controller * Show the form for creating a new resource. * * @return \Illuminate\View\View + * * @throws \Illuminate\Auth\Access\AuthorizationException */ public function create() @@ -113,6 +116,7 @@ class UserController extends Controller * * @param User $user * @return string + * * @throws \Illuminate\Auth\Access\AuthorizationException */ public function show(User $user) @@ -127,6 +131,7 @@ class UserController extends Controller * * @param User $user * @return \Illuminate\View\View + * * @throws \Illuminate\Auth\Access\AuthorizationException */ public function edit(User $user) @@ -189,6 +194,7 @@ class UserController extends Controller * * @param User $user * @return \Illuminate\Http\JsonResponse + * * @throws \Illuminate\Auth\Access\AuthorizationException */ public function destroy(User $user) diff --git a/app/Http/Controllers/UserPreferencesController.php b/app/Http/Controllers/UserPreferencesController.php index 047ad8e29a..20d3844dda 100644 --- a/app/Http/Controllers/UserPreferencesController.php +++ b/app/Http/Controllers/UserPreferencesController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Widgets/AlertlogController.php b/app/Http/Controllers/Widgets/AlertlogController.php index 2ba59a7864..ea67b5389b 100644 --- a/app/Http/Controllers/Widgets/AlertlogController.php +++ b/app/Http/Controllers/Widgets/AlertlogController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Widgets/AlertlogStatsController.php b/app/Http/Controllers/Widgets/AlertlogStatsController.php index cec69a0b15..30a9d92309 100644 --- a/app/Http/Controllers/Widgets/AlertlogStatsController.php +++ b/app/Http/Controllers/Widgets/AlertlogStatsController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Widgets/AlertsController.php b/app/Http/Controllers/Widgets/AlertsController.php index 7c2f94edb2..901af30b99 100644 --- a/app/Http/Controllers/Widgets/AlertsController.php +++ b/app/Http/Controllers/Widgets/AlertsController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Widgets/AvailabilityMapController.php b/app/Http/Controllers/Widgets/AvailabilityMapController.php index c8d5d03c18..0c868d40a0 100644 --- a/app/Http/Controllers/Widgets/AvailabilityMapController.php +++ b/app/Http/Controllers/Widgets/AvailabilityMapController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Widgets/ComponentStatusController.php b/app/Http/Controllers/Widgets/ComponentStatusController.php index 78747bf5b9..26a22f733c 100644 --- a/app/Http/Controllers/Widgets/ComponentStatusController.php +++ b/app/Http/Controllers/Widgets/ComponentStatusController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Widgets/DeviceSummaryController.php b/app/Http/Controllers/Widgets/DeviceSummaryController.php index 45f140ecd9..ef0f572522 100644 --- a/app/Http/Controllers/Widgets/DeviceSummaryController.php +++ b/app/Http/Controllers/Widgets/DeviceSummaryController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Widgets/DeviceSummaryHorizController.php b/app/Http/Controllers/Widgets/DeviceSummaryHorizController.php index de33e6567d..186f74c928 100644 --- a/app/Http/Controllers/Widgets/DeviceSummaryHorizController.php +++ b/app/Http/Controllers/Widgets/DeviceSummaryHorizController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Widgets/DeviceSummaryVertController.php b/app/Http/Controllers/Widgets/DeviceSummaryVertController.php index 79290fe396..d41b015ee4 100644 --- a/app/Http/Controllers/Widgets/DeviceSummaryVertController.php +++ b/app/Http/Controllers/Widgets/DeviceSummaryVertController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Widgets/EventlogController.php b/app/Http/Controllers/Widgets/EventlogController.php index b081a88710..c331cd856a 100644 --- a/app/Http/Controllers/Widgets/EventlogController.php +++ b/app/Http/Controllers/Widgets/EventlogController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Widgets/GlobeController.php b/app/Http/Controllers/Widgets/GlobeController.php index e9e843238f..f3a1438651 100644 --- a/app/Http/Controllers/Widgets/GlobeController.php +++ b/app/Http/Controllers/Widgets/GlobeController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Widgets/GraphController.php b/app/Http/Controllers/Widgets/GraphController.php index 1d39052d06..59138b6a02 100644 --- a/app/Http/Controllers/Widgets/GraphController.php +++ b/app/Http/Controllers/Widgets/GraphController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Widgets/GraylogController.php b/app/Http/Controllers/Widgets/GraylogController.php index a08fabf030..fdfe89a229 100644 --- a/app/Http/Controllers/Widgets/GraylogController.php +++ b/app/Http/Controllers/Widgets/GraylogController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Widgets/ImageController.php b/app/Http/Controllers/Widgets/ImageController.php index 1cce3713d4..4f9cbf53aa 100644 --- a/app/Http/Controllers/Widgets/ImageController.php +++ b/app/Http/Controllers/Widgets/ImageController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Widgets/NotesController.php b/app/Http/Controllers/Widgets/NotesController.php index 9fa229ba6b..25206b37da 100644 --- a/app/Http/Controllers/Widgets/NotesController.php +++ b/app/Http/Controllers/Widgets/NotesController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Widgets/PlaceholderController.php b/app/Http/Controllers/Widgets/PlaceholderController.php index 5974256906..7fceb7b623 100644 --- a/app/Http/Controllers/Widgets/PlaceholderController.php +++ b/app/Http/Controllers/Widgets/PlaceholderController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Widgets/ServerStatsController.php b/app/Http/Controllers/Widgets/ServerStatsController.php index 1369c3e429..55b1eeaf70 100644 --- a/app/Http/Controllers/Widgets/ServerStatsController.php +++ b/app/Http/Controllers/Widgets/ServerStatsController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Widgets/SyslogController.php b/app/Http/Controllers/Widgets/SyslogController.php index 294f2349bf..b697ebf091 100644 --- a/app/Http/Controllers/Widgets/SyslogController.php +++ b/app/Http/Controllers/Widgets/SyslogController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Widgets/TopDevicesController.php b/app/Http/Controllers/Widgets/TopDevicesController.php index c87c678442..3e16da50b7 100644 --- a/app/Http/Controllers/Widgets/TopDevicesController.php +++ b/app/Http/Controllers/Widgets/TopDevicesController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Widgets/TopErrorsController.php b/app/Http/Controllers/Widgets/TopErrorsController.php index 75685fff3e..bf236011be 100644 --- a/app/Http/Controllers/Widgets/TopErrorsController.php +++ b/app/Http/Controllers/Widgets/TopErrorsController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @copyright 2021 PipoCanaja * @author Tony Murray diff --git a/app/Http/Controllers/Widgets/TopInterfacesController.php b/app/Http/Controllers/Widgets/TopInterfacesController.php index 074a2a7af5..bc23338a01 100644 --- a/app/Http/Controllers/Widgets/TopInterfacesController.php +++ b/app/Http/Controllers/Widgets/TopInterfacesController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Widgets/WidgetController.php b/app/Http/Controllers/Widgets/WidgetController.php index e482813d16..a58f8e073b 100644 --- a/app/Http/Controllers/Widgets/WidgetController.php +++ b/app/Http/Controllers/Widgets/WidgetController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Controllers/Widgets/WorldMapController.php b/app/Http/Controllers/Widgets/WorldMapController.php index 7fe6d50c7c..986a81b32a 100644 --- a/app/Http/Controllers/Widgets/WorldMapController.php +++ b/app/Http/Controllers/Widgets/WorldMapController.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Middleware/CheckInstalled.php b/app/Http/Middleware/CheckInstalled.php index dcfd5209bd..29c59ad261 100644 --- a/app/Http/Middleware/CheckInstalled.php +++ b/app/Http/Middleware/CheckInstalled.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Middleware/HandleCors.php b/app/Http/Middleware/HandleCors.php index f00606970c..dba9ce4f74 100644 --- a/app/Http/Middleware/HandleCors.php +++ b/app/Http/Middleware/HandleCors.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/app/Http/Requests/TwoFactorManagementRequest.php b/app/Http/Requests/TwoFactorManagementRequest.php index b77845a892..126c25ba37 100644 --- a/app/Http/Requests/TwoFactorManagementRequest.php +++ b/app/Http/Requests/TwoFactorManagementRequest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/ViewComposers/LayoutComposer.php b/app/Http/ViewComposers/LayoutComposer.php index f8315ec9c7..498c932829 100644 --- a/app/Http/ViewComposers/LayoutComposer.php +++ b/app/Http/ViewComposers/LayoutComposer.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Http/ViewComposers/MenuComposer.php b/app/Http/ViewComposers/MenuComposer.php index 3d480cc92c..097f1c3021 100644 --- a/app/Http/ViewComposers/MenuComposer.php +++ b/app/Http/ViewComposers/MenuComposer.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Jobs/PingCheck.php b/app/Jobs/PingCheck.php index a785e64e35..8e4e2f1e69 100644 --- a/app/Jobs/PingCheck.php +++ b/app/Jobs/PingCheck.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/Alert.php b/app/Models/Alert.php index 5561d2e686..18d9ede3b5 100644 --- a/app/Models/Alert.php +++ b/app/Models/Alert.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ @@ -38,6 +39,7 @@ class Alert extends Model /** * Only select active alerts + * * @param Builder $query * @return Builder */ @@ -48,6 +50,7 @@ class Alert extends Model /** * Only select active alerts + * * @param Builder $query * @return Builder */ diff --git a/app/Models/AlertRule.php b/app/Models/AlertRule.php index 6afa83ce29..36640bdddd 100644 --- a/app/Models/AlertRule.php +++ b/app/Models/AlertRule.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ diff --git a/app/Models/AlertSchedule.php b/app/Models/AlertSchedule.php index aa88234da3..fef73493ea 100644 --- a/app/Models/AlertSchedule.php +++ b/app/Models/AlertSchedule.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/AlertTemplate.php b/app/Models/AlertTemplate.php index 13aa881481..62fa192a4b 100644 --- a/app/Models/AlertTemplate.php +++ b/app/Models/AlertTemplate.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Neil Lathwood * @author Neil Lathwood */ diff --git a/app/Models/AlertTemplateMap.php b/app/Models/AlertTemplateMap.php index f95b9b3f86..760ac42751 100644 --- a/app/Models/AlertTemplateMap.php +++ b/app/Models/AlertTemplateMap.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Neil Lathwood * @author Neil Lathwood */ diff --git a/app/Models/ApiToken.php b/app/Models/ApiToken.php index c61351b9f1..df0ff0337e 100644 --- a/app/Models/ApiToken.php +++ b/app/Models/ApiToken.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/Application.php b/app/Models/Application.php index 953e12ace6..ee63328efd 100644 --- a/app/Models/Application.php +++ b/app/Models/Application.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/AuthLog.php b/app/Models/AuthLog.php index 6425efd114..100191a295 100644 --- a/app/Models/AuthLog.php +++ b/app/Models/AuthLog.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/Availability.php b/app/Models/Availability.php index 5084f3923a..cc945ee3e3 100644 --- a/app/Models/Availability.php +++ b/app/Models/Availability.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Thomas Berberich * @author Thomas Berberich */ diff --git a/app/Models/BaseModel.php b/app/Models/BaseModel.php index 57c8f10c04..42de8cbbe8 100644 --- a/app/Models/BaseModel.php +++ b/app/Models/BaseModel.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/BgpPeer.php b/app/Models/BgpPeer.php index 67ee15dfd2..f1624478f2 100644 --- a/app/Models/BgpPeer.php +++ b/app/Models/BgpPeer.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/Bill.php b/app/Models/Bill.php index a8fd58fe6e..1ff8b5133d 100644 --- a/app/Models/Bill.php +++ b/app/Models/Bill.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/Callback.php b/app/Models/Callback.php index 7bcf9808b4..819c340a02 100644 --- a/app/Models/Callback.php +++ b/app/Models/Callback.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/CefSwitching.php b/app/Models/CefSwitching.php index a089ce2f21..3b65abb993 100644 --- a/app/Models/CefSwitching.php +++ b/app/Models/CefSwitching.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/Component.php b/app/Models/Component.php index a87e7a35a7..3aad87416c 100644 --- a/app/Models/Component.php +++ b/app/Models/Component.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/Config.php b/app/Models/Config.php index 9e103164d1..aa22936c76 100644 --- a/app/Models/Config.php +++ b/app/Models/Config.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/Device.php b/app/Models/Device.php index 1650ffba7b..b533e77456 100644 --- a/app/Models/Device.php +++ b/app/Models/Device.php @@ -26,6 +26,7 @@ use Permissions; * @property-read int|null $ports_count * @property-read int|null $sensors_count * @property-read int|null $wirelessSensors_count + * * @method static \Database\Factories\DeviceFactory factory(...$parameters) */ class Device extends BaseModel diff --git a/app/Models/DeviceAttrib.php b/app/Models/DeviceAttrib.php index f0ca59fac8..b1bcb40210 100644 --- a/app/Models/DeviceAttrib.php +++ b/app/Models/DeviceAttrib.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/app/Models/DeviceGroup.php b/app/Models/DeviceGroup.php index 1e4c074f8e..7ecaf0eccd 100644 --- a/app/Models/DeviceGroup.php +++ b/app/Models/DeviceGroup.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/app/Models/DeviceOutage.php b/app/Models/DeviceOutage.php index 2fd65fbfa1..bcdb9c1290 100644 --- a/app/Models/DeviceOutage.php +++ b/app/Models/DeviceOutage.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Thomas Berberich * @author Thomas Berberich */ diff --git a/app/Models/DevicePerf.php b/app/Models/DevicePerf.php index 5105c3d65f..f07445bfbd 100644 --- a/app/Models/DevicePerf.php +++ b/app/Models/DevicePerf.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/DeviceRelatedModel.php b/app/Models/DeviceRelatedModel.php index 4f0159535f..1e751b01a4 100644 --- a/app/Models/DeviceRelatedModel.php +++ b/app/Models/DeviceRelatedModel.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/app/Models/Eventlog.php b/app/Models/Eventlog.php index 421d4b35ae..1ea721484d 100644 --- a/app/Models/Eventlog.php +++ b/app/Models/Eventlog.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/GraphType.php b/app/Models/GraphType.php index 2e1c251d08..4c9c624c15 100644 --- a/app/Models/GraphType.php +++ b/app/Models/GraphType.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/Ipv4Address.php b/app/Models/Ipv4Address.php index 2b3b5112de..3389e237fb 100644 --- a/app/Models/Ipv4Address.php +++ b/app/Models/Ipv4Address.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/Ipv4Network.php b/app/Models/Ipv4Network.php index 3cd297c030..89767d8c37 100644 --- a/app/Models/Ipv4Network.php +++ b/app/Models/Ipv4Network.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/Ipv6Address.php b/app/Models/Ipv6Address.php index b6c366d28e..77b6dc3e95 100644 --- a/app/Models/Ipv6Address.php +++ b/app/Models/Ipv6Address.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/Ipv6Network.php b/app/Models/Ipv6Network.php index 68dd98c3b8..f7647780c1 100644 --- a/app/Models/Ipv6Network.php +++ b/app/Models/Ipv6Network.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/IsisAdjacency.php b/app/Models/IsisAdjacency.php index 1df47b2a9c..8ec7e4a49f 100644 --- a/app/Models/IsisAdjacency.php +++ b/app/Models/IsisAdjacency.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link http://librenms.org + * * @copyright 2021 Otto Reinikainen * @author Otto Reinikainen */ diff --git a/app/Models/Location.php b/app/Models/Location.php index 1670702bec..7dc4a20e0a 100644 --- a/app/Models/Location.php +++ b/app/Models/Location.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/Mpls.php b/app/Models/Mpls.php index e37da7ada2..1ae91f6b07 100644 --- a/app/Models/Mpls.php +++ b/app/Models/Mpls.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Vitali Kari * @author Vitali Kari */ diff --git a/app/Models/MplsLsp.php b/app/Models/MplsLsp.php index 64a66afdf2..61bdf9c89d 100644 --- a/app/Models/MplsLsp.php +++ b/app/Models/MplsLsp.php @@ -38,6 +38,7 @@ class MplsLsp extends Model implements Keyable /** * Get a string that can identify a unique instance of this model + * * @return string */ public function getCompositeKey() diff --git a/app/Models/MplsLspPath.php b/app/Models/MplsLspPath.php index 19458e6fac..2a51ec00f9 100644 --- a/app/Models/MplsLspPath.php +++ b/app/Models/MplsLspPath.php @@ -37,6 +37,7 @@ class MplsLspPath extends Model implements Keyable /** * Get a string that can identify a unique instance of this model + * * @return string */ public function getCompositeKey() diff --git a/app/Models/MplsSap.php b/app/Models/MplsSap.php index 90bc23d5e1..1aedf862fe 100644 --- a/app/Models/MplsSap.php +++ b/app/Models/MplsSap.php @@ -30,6 +30,7 @@ class MplsSap extends Model implements Keyable /** * Get a string that can identify a unique instance of this model + * * @return string */ public function getCompositeKey() diff --git a/app/Models/MplsSdp.php b/app/Models/MplsSdp.php index 9c2a5e0acc..1ff8fd2572 100644 --- a/app/Models/MplsSdp.php +++ b/app/Models/MplsSdp.php @@ -31,6 +31,7 @@ class MplsSdp extends Model implements Keyable /** * Get a string that can identify a unique instance of this model + * * @return int */ public function getCompositeKey() diff --git a/app/Models/MplsSdpBind.php b/app/Models/MplsSdpBind.php index 26c63cfaad..3bcd6a8312 100644 --- a/app/Models/MplsSdpBind.php +++ b/app/Models/MplsSdpBind.php @@ -33,6 +33,7 @@ class MplsSdpBind extends Model implements Keyable /** * Get a string that can identify a unique instance of this model + * * @return string */ public function getCompositeKey() diff --git a/app/Models/MplsTunnelArHop.php b/app/Models/MplsTunnelArHop.php index 9b46641eed..07e24e56ae 100644 --- a/app/Models/MplsTunnelArHop.php +++ b/app/Models/MplsTunnelArHop.php @@ -31,6 +31,7 @@ class MplsTunnelArHop extends Model implements Keyable /** * Get a string that can identify a unique instance of this model + * * @return string */ public function getCompositeKey() diff --git a/app/Models/MplsTunnelCHop.php b/app/Models/MplsTunnelCHop.php index 0addb8f711..da3d1602d2 100644 --- a/app/Models/MplsTunnelCHop.php +++ b/app/Models/MplsTunnelCHop.php @@ -27,6 +27,7 @@ class MplsTunnelCHop extends Model implements Keyable /** * Get a string that can identify a unique instance of this model + * * @return string */ public function getCompositeKey() diff --git a/app/Models/MuninPlugin.php b/app/Models/MuninPlugin.php index 7ff287c57f..957f673a4f 100644 --- a/app/Models/MuninPlugin.php +++ b/app/Models/MuninPlugin.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/Notification.php b/app/Models/Notification.php index 0475f465db..7a8d62f825 100644 --- a/app/Models/Notification.php +++ b/app/Models/Notification.php @@ -46,6 +46,7 @@ class Notification extends Model * Mark this notification as sticky or unsticky * * @var bool + * * @return bool */ public function markSticky(bool $enabled = true): bool diff --git a/app/Models/OspfArea.php b/app/Models/OspfArea.php index 64f43a5609..84f2421115 100644 --- a/app/Models/OspfArea.php +++ b/app/Models/OspfArea.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/OspfInstance.php b/app/Models/OspfInstance.php index 98f703bd3f..b3859f754c 100644 --- a/app/Models/OspfInstance.php +++ b/app/Models/OspfInstance.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/OspfNbr.php b/app/Models/OspfNbr.php index 74d7785760..f5c7c2cd88 100644 --- a/app/Models/OspfNbr.php +++ b/app/Models/OspfNbr.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/OspfPort.php b/app/Models/OspfPort.php index 85f87a8671..3108d5790b 100644 --- a/app/Models/OspfPort.php +++ b/app/Models/OspfPort.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/Package.php b/app/Models/Package.php index 9236414d93..9089d33fed 100644 --- a/app/Models/Package.php +++ b/app/Models/Package.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/Plugin.php b/app/Models/Plugin.php index aea9b57abe..ac898f1908 100644 --- a/app/Models/Plugin.php +++ b/app/Models/Plugin.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/Poller.php b/app/Models/Poller.php index 55d4eb5262..9fcd3272c8 100644 --- a/app/Models/Poller.php +++ b/app/Models/Poller.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Thomas Berberich * @author Thomas Berberich */ diff --git a/app/Models/PollerCluster.php b/app/Models/PollerCluster.php index 40af0e73e7..54f8f20bc1 100644 --- a/app/Models/PollerCluster.php +++ b/app/Models/PollerCluster.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Thomas Berberich * @author Thomas Berberich */ @@ -60,6 +61,7 @@ class PollerCluster extends Model * * @param string $name * @return mixed + * * @throws \LibreNMS\Exceptions\InvalidNameException */ public function getSettingValue(string $name) diff --git a/app/Models/PollerClusterStat.php b/app/Models/PollerClusterStat.php index a622633a89..24e1796a03 100644 --- a/app/Models/PollerClusterStat.php +++ b/app/Models/PollerClusterStat.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Thomas Berberich * @author Thomas Berberich */ diff --git a/app/Models/PollerGroup.php b/app/Models/PollerGroup.php index 02a4aabec7..151c4e8311 100644 --- a/app/Models/PollerGroup.php +++ b/app/Models/PollerGroup.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Thomas Berberich * @author Thomas Berberich */ diff --git a/app/Models/PortGroup.php b/app/Models/PortGroup.php index e09e622704..95be9ef205 100644 --- a/app/Models/PortGroup.php +++ b/app/Models/PortGroup.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link http://librenms.org + * * @copyright 2020 Thomas Berberich * @author Thomas Berberich */ diff --git a/app/Models/PortRelatedModel.php b/app/Models/PortRelatedModel.php index 921e6903dd..f30374afad 100644 --- a/app/Models/PortRelatedModel.php +++ b/app/Models/PortRelatedModel.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/app/Models/PortsNac.php b/app/Models/PortsNac.php index 281eba2613..eb42ba96d5 100644 --- a/app/Models/PortsNac.php +++ b/app/Models/PortsNac.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/Pseudowire.php b/app/Models/Pseudowire.php index 1b021b0330..bbe19da7ad 100644 --- a/app/Models/Pseudowire.php +++ b/app/Models/Pseudowire.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/ServiceTemplate.php b/app/Models/ServiceTemplate.php index 89bcdfd397..236e65dcf3 100644 --- a/app/Models/ServiceTemplate.php +++ b/app/Models/ServiceTemplate.php @@ -19,6 +19,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Anthony F McInerney * @author Anthony F McInerney */ diff --git a/app/Models/Syslog.php b/app/Models/Syslog.php index 1fc6a0991b..cf24e38c1b 100644 --- a/app/Models/Syslog.php +++ b/app/Models/Syslog.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/UserPref.php b/app/Models/UserPref.php index 7648248adb..4903fea217 100644 --- a/app/Models/UserPref.php +++ b/app/Models/UserPref.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/Vrf.php b/app/Models/Vrf.php index ef0b8627a0..967903c69e 100644 --- a/app/Models/Vrf.php +++ b/app/Models/Vrf.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/VrfLite.php b/app/Models/VrfLite.php index 4642a2f6df..2164560e4a 100644 --- a/app/Models/VrfLite.php +++ b/app/Models/VrfLite.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/app/Models/Widget.php b/app/Models/Widget.php index 1f18bc47b5..a8f6934bb1 100644 --- a/app/Models/Widget.php +++ b/app/Models/Widget.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Models/WirelessSensor.php b/app/Models/WirelessSensor.php index 81ded14b81..2e1cb653ff 100644 --- a/app/Models/WirelessSensor.php +++ b/app/Models/WirelessSensor.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Providers/ComposerServiceProvider.php b/app/Providers/ComposerServiceProvider.php index 53bec5efdf..6c695cacfe 100644 --- a/app/Providers/ComposerServiceProvider.php +++ b/app/Providers/ComposerServiceProvider.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Providers/DatastoreServiceProvider.php b/app/Providers/DatastoreServiceProvider.php index 1637404f1a..1ea545dca7 100644 --- a/app/Providers/DatastoreServiceProvider.php +++ b/app/Providers/DatastoreServiceProvider.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Providers/LegacyUserProvider.php b/app/Providers/LegacyUserProvider.php index c85a2fd5fc..b2a818b9d6 100644 --- a/app/Providers/LegacyUserProvider.php +++ b/app/Providers/LegacyUserProvider.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/Providers/TokenUserProvider.php b/app/Providers/TokenUserProvider.php index b02665e3ff..37b769cbd2 100644 --- a/app/Providers/TokenUserProvider.php +++ b/app/Providers/TokenUserProvider.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/app/StreamedOutput.php b/app/StreamedOutput.php index 462e2a0a26..c2971ad537 100644 --- a/app/StreamedOutput.php +++ b/app/StreamedOutput.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/database/migrations/2018_07_03_091314_create_alert_transport_groups_table.php b/database/migrations/2018_07_03_091314_create_alert_transport_groups_table.php index 87c69d467a..c45ca7fbc1 100644 --- a/database/migrations/2018_07_03_091314_create_alert_transport_groups_table.php +++ b/database/migrations/2018_07_03_091314_create_alert_transport_groups_table.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/database/migrations/2018_07_03_091314_create_alert_transport_map_table.php b/database/migrations/2018_07_03_091314_create_alert_transport_map_table.php index 0b857af73c..5dd9ab7f3a 100644 --- a/database/migrations/2018_07_03_091314_create_alert_transport_map_table.php +++ b/database/migrations/2018_07_03_091314_create_alert_transport_map_table.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/database/migrations/2018_07_03_091314_create_alert_transports_table.php b/database/migrations/2018_07_03_091314_create_alert_transports_table.php index de6bac09b6..e315d8e1ed 100644 --- a/database/migrations/2018_07_03_091314_create_alert_transports_table.php +++ b/database/migrations/2018_07_03_091314_create_alert_transports_table.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/database/migrations/2018_07_03_091314_create_transport_group_transport_table.php b/database/migrations/2018_07_03_091314_create_transport_group_transport_table.php index e789177caf..8955e0ccd8 100644 --- a/database/migrations/2018_07_03_091314_create_transport_group_transport_table.php +++ b/database/migrations/2018_07_03_091314_create_transport_group_transport_table.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/database/seeders/DefaultLegacySchemaSeeder.php b/database/seeders/DefaultLegacySchemaSeeder.php index 22f6fe5b2b..bf32170290 100644 --- a/database/seeders/DefaultLegacySchemaSeeder.php +++ b/database/seeders/DefaultLegacySchemaSeeder.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/html/ajax_ossuggest.php b/html/ajax_ossuggest.php index f3b09a6035..3a72ad0974 100644 --- a/html/ajax_ossuggest.php +++ b/html/ajax_ossuggest.php @@ -28,6 +28,7 @@ Debug::set($_REQUEST['debug']); /** * Levenshtein Sort + * * @param string $base Comparison basis * @param array $obj Object to sort * @return array diff --git a/includes/caches/notifications.inc.php b/includes/caches/notifications.inc.php index 1ee65fe58d..94dd74d003 100644 --- a/includes/caches/notifications.inc.php +++ b/includes/caches/notifications.inc.php @@ -15,6 +15,7 @@ /** * Notification Cache + * * @author Daniel Preussker * @copyright 2015 Daniel Preussker, QuxLabs UG * @license GPL diff --git a/includes/common.php b/includes/common.php index 0e88005d52..fc5ef6c4c4 100644 --- a/includes/common.php +++ b/includes/common.php @@ -571,6 +571,7 @@ function object_is_cached($section, $obj) * Checks if config allows us to ping this device * $attribs contains an array of all of this devices * attributes + * * @param array $attribs Device attributes * @return bool **/ @@ -592,6 +593,7 @@ function search_phrase_column($c) /** * Constructs the path to an RRD for the Ceph application + * * @param string $gtype The type of rrd we're looking for * @return string **/ @@ -611,6 +613,7 @@ function ceph_rrd($gtype) /** * Parse location field for coordinates + * * @param string location The location field to look for coords in. * @return array|bool Containing the lat and lng coords **/ @@ -626,6 +629,7 @@ function parse_location($location) /** * Returns version info + * * @param bool $remote fetch remote version info from github * @return array */ @@ -685,6 +689,7 @@ function snmpv3_capabilities(): array /** * Convert a MySQL binary v4 (4-byte) or v6 (16-byte) IP address to a printable string. + * * @param string $ip A binary string containing an IP address, as returned from MySQL's INET6_ATON function * @return string Empty if not valid. */ @@ -701,6 +706,7 @@ function inet6_ntop($ip) /** * If hostname is an ip, use return sysName + * * @param array $device (uses hostname and sysName fields) * @param string $hostname * @return string @@ -728,6 +734,7 @@ function format_hostname($device, $hostname = null) /** * Return valid port association modes + * * @return array */ function get_port_assoc_modes() @@ -742,6 +749,7 @@ function get_port_assoc_modes() /** * Get DB id of given port association mode name + * * @param string $port_assoc_mode * @return int */ @@ -754,6 +762,7 @@ function get_port_assoc_mode_id($port_assoc_mode) /** * Get name of given port association_mode ID + * * @param int $port_assoc_mode_id Port association mode ID * @return bool */ @@ -768,6 +777,7 @@ function get_port_assoc_mode_name($port_assoc_mode_id) * Query all ports of the given device (by ID) and build port array and * port association maps for ifIndex, ifName, ifDescr. Query port stats * if told to do so, too. + * * @param int $device_id ID of device to query ports for * @param bool $with_statistics Query port statistics, too. (optional, default false) * @return array @@ -809,6 +819,7 @@ function get_ports_mapped($device_id, $with_statistics = false) /** * Calculate port_id of given port using given devices port information and port association mode + * * @param array $ports_mapped Port information of device queried by get_ports_mapped() * @param array $port Port information as fetched from DB * @param string $port_association_mode Port association mode to use for mapping @@ -837,6 +848,7 @@ function get_port_id($ports_mapped, $port, $port_association_mode) /** * Create a glue-chain + * * @param array $tables Initial Tables to construct glue-chain * @param string $target Glue to find (usual device_id) * @param int $x Recursion Anchor diff --git a/includes/dbFacile.php b/includes/dbFacile.php index d72fa7e019..87572ca6b6 100644 --- a/includes/dbFacile.php +++ b/includes/dbFacile.php @@ -39,6 +39,7 @@ function dbIsConnected() * @param string $db_port * @param string $db_socket * @return \Illuminate\Database\Connection + * * @throws DatabaseConnectException */ function dbConnect($db_host = null, $db_user = '', $db_pass = '', $db_name = '', $db_port = null, $db_socket = null) @@ -81,6 +82,7 @@ function dbConnect($db_host = null, $db_user = '', $db_pass = '', $db_name = '', /** * Performs a query using the given string. + * * @param string $sql * @param array $parameters * @return bool if query was successful or not diff --git a/includes/discovery/applications.inc.php b/includes/discovery/applications.inc.php index b2258e4db1..b0c5a863a2 100644 --- a/includes/discovery/applications.inc.php +++ b/includes/discovery/applications.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/discovery/arp-table.inc.php b/includes/discovery/arp-table.inc.php index aafd002ec4..e09798a2b8 100644 --- a/includes/discovery/arp-table.inc.php +++ b/includes/discovery/arp-table.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/discovery/arp-table/edgeswitch.inc.php b/includes/discovery/arp-table/edgeswitch.inc.php index 89cc04f8d8..8f2dc4215d 100644 --- a/includes/discovery/arp-table/edgeswitch.inc.php +++ b/includes/discovery/arp-table/edgeswitch.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/includes/discovery/arp-table/screenos.inc.php b/includes/discovery/arp-table/screenos.inc.php index 5f69a41651..de40168de1 100644 --- a/includes/discovery/arp-table/screenos.inc.php +++ b/includes/discovery/arp-table/screenos.inc.php @@ -19,6 +19,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/includes/discovery/bgp-peers/dell-os10.inc.php b/includes/discovery/bgp-peers/dell-os10.inc.php index 14faccf479..eb498239d8 100644 --- a/includes/discovery/bgp-peers/dell-os10.inc.php +++ b/includes/discovery/bgp-peers/dell-os10.inc.php @@ -19,6 +19,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2021 LibreNMS Contributors * @author LibreNMS Contributors */ diff --git a/includes/discovery/bgp-peers/firebrick.inc.php b/includes/discovery/bgp-peers/firebrick.inc.php index 89043c04f0..1bd462f5f8 100644 --- a/includes/discovery/bgp-peers/firebrick.inc.php +++ b/includes/discovery/bgp-peers/firebrick.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Chris Malton (@cjsoftuk) * @author Chris Malton (@cjsoftuk) */ diff --git a/includes/discovery/bgp-peers/timos.inc.php b/includes/discovery/bgp-peers/timos.inc.php index 4f92a07975..713af6a0ae 100644 --- a/includes/discovery/bgp-peers/timos.inc.php +++ b/includes/discovery/bgp-peers/timos.inc.php @@ -19,6 +19,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 LibreNMS Contributors * @author LibreNMS Contributors */ diff --git a/includes/discovery/bgp-peers/vrp.inc.php b/includes/discovery/bgp-peers/vrp.inc.php index b8daaad1b3..3ab0753ad3 100644 --- a/includes/discovery/bgp-peers/vrp.inc.php +++ b/includes/discovery/bgp-peers/vrp.inc.php @@ -19,6 +19,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 PipoCanaja * @author PipoCanaja */ diff --git a/includes/discovery/cisco-qfp.inc.php b/includes/discovery/cisco-qfp.inc.php index b5e5c7dd7d..0337b7887c 100644 --- a/includes/discovery/cisco-qfp.inc.php +++ b/includes/discovery/cisco-qfp.inc.php @@ -9,6 +9,7 @@ * LibreNMS module to capture Cisco QFP Statistics * * @link https://www.librenms.org + * * @copyright 2019 LibreNMS * @author Pavle Obradovic */ diff --git a/includes/discovery/entity-state.inc.php b/includes/discovery/entity-state.inc.php index 476b4606e3..2bfaad3e51 100644 --- a/includes/discovery/entity-state.inc.php +++ b/includes/discovery/entity-state.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/includes/discovery/fdb-table/aos6.inc.php b/includes/discovery/fdb-table/aos6.inc.php index bf7ae4c558..5605ea1860 100644 --- a/includes/discovery/fdb-table/aos6.inc.php +++ b/includes/discovery/fdb-table/aos6.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright LibreNMS contributors * @author Tony Murray * @author JoseUPV diff --git a/includes/discovery/fdb-table/aos7.inc.php b/includes/discovery/fdb-table/aos7.inc.php index 57a2187cf1..1c7372d900 100644 --- a/includes/discovery/fdb-table/aos7.inc.php +++ b/includes/discovery/fdb-table/aos7.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright LibreNMS contributors * @author Tony Murray * @author JoseUPV diff --git a/includes/discovery/fdb-table/arubaos.inc.php b/includes/discovery/fdb-table/arubaos.inc.php index 5538151ba1..6f7a2bf131 100644 --- a/includes/discovery/fdb-table/arubaos.inc.php +++ b/includes/discovery/fdb-table/arubaos.inc.php @@ -19,6 +19,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 LibreNMS * @author Ken Lui */ diff --git a/includes/discovery/fdb-table/bridge.inc.php b/includes/discovery/fdb-table/bridge.inc.php index 06ef344086..f96f3cbc27 100644 --- a/includes/discovery/fdb-table/bridge.inc.php +++ b/includes/discovery/fdb-table/bridge.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright LibreNMS contributors * @author Tony Murray * @author cjwbath diff --git a/includes/discovery/fdb-table/edgeswitch.inc.php b/includes/discovery/fdb-table/edgeswitch.inc.php index 1230007128..85cb9aaaf4 100644 --- a/includes/discovery/fdb-table/edgeswitch.inc.php +++ b/includes/discovery/fdb-table/edgeswitch.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/includes/discovery/functions.inc.php b/includes/discovery/functions.inc.php index 0c3b595cb2..a3d615ea17 100644 --- a/includes/discovery/functions.inc.php +++ b/includes/discovery/functions.inc.php @@ -1184,6 +1184,7 @@ function add_cbgp_peer($device, $peer, $afi, $safi) /** * check if we should skip this sensor from discovery + * * @param $device * @param string $sensor_class * @param string $sensor_descr @@ -1210,6 +1211,7 @@ function can_skip_sensor($device, $sensor_class = '', $sensor_descr = '') /** * check if we should skip this device from discovery + * * @param string $sysName * @param string $sysDescr * @param string $platform diff --git a/includes/discovery/isis.inc.php b/includes/discovery/isis.inc.php index 026603f263..57b40f8308 100644 --- a/includes/discovery/isis.inc.php +++ b/includes/discovery/isis.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link http://librenms.org + * * @copyright 2021 Otto Reinikainen * @author Otto Reinikainen */ diff --git a/includes/discovery/mpls.inc.php b/includes/discovery/mpls.inc.php index d24b167a81..1a39d7b512 100644 --- a/includes/discovery/mpls.inc.php +++ b/includes/discovery/mpls.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 20169 Vitali Kari * @author Vitali Kari */ diff --git a/includes/discovery/ports/airos-af-ltu.inc.php b/includes/discovery/ports/airos-af-ltu.inc.php index efdac7228f..2cb4dabc9d 100644 --- a/includes/discovery/ports/airos-af-ltu.inc.php +++ b/includes/discovery/ports/airos-af-ltu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Denny Friebe * @author Denny Friebe */ diff --git a/includes/discovery/ports/ekinops.inc.php b/includes/discovery/ports/ekinops.inc.php index 6e3db13212..088cdaab00 100644 --- a/includes/discovery/ports/ekinops.inc.php +++ b/includes/discovery/ports/ekinops.inc.php @@ -32,6 +32,7 @@ * Flow Creation object, and LAG Creation object. * * @link https://www.librenms.org + * * @copyright 2020 KanREN, Inc * @author Heath Barnhart */ diff --git a/includes/discovery/sensors/airflow/apc.inc.php b/includes/discovery/sensors/airflow/apc.inc.php index 6769688c07..8637845abd 100644 --- a/includes/discovery/sensors/airflow/apc.inc.php +++ b/includes/discovery/sensors/airflow/apc.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/airflow/geist-watchdog.inc.php b/includes/discovery/sensors/airflow/geist-watchdog.inc.php index ffe240e3ec..cbc485d019 100644 --- a/includes/discovery/sensors/airflow/geist-watchdog.inc.php +++ b/includes/discovery/sensors/airflow/geist-watchdog.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/ber/infinera-groove.inc.php b/includes/discovery/sensors/ber/infinera-groove.inc.php index a3de58c812..b828c90143 100644 --- a/includes/discovery/sensors/ber/infinera-groove.inc.php +++ b/includes/discovery/sensors/ber/infinera-groove.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Nick Hilliard * @author Nick Hilliard * diff --git a/includes/discovery/sensors/charge/compas.inc.php b/includes/discovery/sensors/charge/compas.inc.php index c0ee65f034..9c1b79d962 100644 --- a/includes/discovery/sensors/charge/compas.inc.php +++ b/includes/discovery/sensors/charge/compas.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Paul Parsons * @author Paul Parsons */ diff --git a/includes/discovery/sensors/charge/netagent2.inc.php b/includes/discovery/sensors/charge/netagent2.inc.php index 6e21f621cd..7792abf680 100644 --- a/includes/discovery/sensors/charge/netagent2.inc.php +++ b/includes/discovery/sensors/charge/netagent2.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/discovery/sensors/charge/sinetica.inc.php b/includes/discovery/sensors/charge/sinetica.inc.php index b2e9764f29..01b94b8ff0 100644 --- a/includes/discovery/sensors/charge/sinetica.inc.php +++ b/includes/discovery/sensors/charge/sinetica.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/discovery/sensors/chromatic_dispersion/infinera-groove.inc.php b/includes/discovery/sensors/chromatic_dispersion/infinera-groove.inc.php index bd8f490413..d86735ab72 100644 --- a/includes/discovery/sensors/chromatic_dispersion/infinera-groove.inc.php +++ b/includes/discovery/sensors/chromatic_dispersion/infinera-groove.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Nick Hilliard * @author Nick Hilliard */ diff --git a/includes/discovery/sensors/current/adva_fsp150.inc.php b/includes/discovery/sensors/current/adva_fsp150.inc.php index 1cdf76e81f..6d34598282 100644 --- a/includes/discovery/sensors/current/adva_fsp150.inc.php +++ b/includes/discovery/sensors/current/adva_fsp150.inc.php @@ -3,8 +3,10 @@ * LibreNMS - ADVA device support - Current * * @category Network_Monitoring + * * @author Christoph Zilian * @license https://gnu.org/copyleft/gpl.html GNU GPL + * * @link https://github.com/librenms/librenms/ * * This program is free software: you can redistribute it and/or modify it diff --git a/includes/discovery/sensors/current/adva_fsp3kr7.inc.php b/includes/discovery/sensors/current/adva_fsp3kr7.inc.php index 1661bfef86..5094dc7fa4 100644 --- a/includes/discovery/sensors/current/adva_fsp3kr7.inc.php +++ b/includes/discovery/sensors/current/adva_fsp3kr7.inc.php @@ -3,8 +3,10 @@ * LibreNMS - ADVA device support - Current * * @category Network_Monitoring + * * @author Christoph Zilian * @license https://gnu.org/copyleft/gpl.html GNU GPL + * * @link https://github.com/librenms/librenms/ * * This program is free software: you can redistribute it and/or modify it diff --git a/includes/discovery/sensors/current/commander-plus.inc.php b/includes/discovery/sensors/current/commander-plus.inc.php index cef54b2a56..103744f127 100644 --- a/includes/discovery/sensors/current/commander-plus.inc.php +++ b/includes/discovery/sensors/current/commander-plus.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/current/compas.inc.php b/includes/discovery/sensors/current/compas.inc.php index abeb292473..f1c3052311 100644 --- a/includes/discovery/sensors/current/compas.inc.php +++ b/includes/discovery/sensors/current/compas.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Paul Parsons * @author Paul Parsons */ diff --git a/includes/discovery/sensors/current/enlogic-pdu.inc.php b/includes/discovery/sensors/current/enlogic-pdu.inc.php index c489b64107..e3cc2defc3 100644 --- a/includes/discovery/sensors/current/enlogic-pdu.inc.php +++ b/includes/discovery/sensors/current/enlogic-pdu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/current/fs-net-pdu.inc.php b/includes/discovery/sensors/current/fs-net-pdu.inc.php index affb09b272..d40996e224 100644 --- a/includes/discovery/sensors/current/fs-net-pdu.inc.php +++ b/includes/discovery/sensors/current/fs-net-pdu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/current/geist-pdu.inc.php b/includes/discovery/sensors/current/geist-pdu.inc.php index c1eb20531f..d0ac5f9080 100644 --- a/includes/discovery/sensors/current/geist-pdu.inc.php +++ b/includes/discovery/sensors/current/geist-pdu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/current/ict-pdu.inc.php b/includes/discovery/sensors/current/ict-pdu.inc.php index 2784fbd66e..5888cccb7a 100644 --- a/includes/discovery/sensors/current/ict-pdu.inc.php +++ b/includes/discovery/sensors/current/ict-pdu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Lorenzo Zafra * @author Lorenzo Zafra */ diff --git a/includes/discovery/sensors/current/ict-psu.inc.php b/includes/discovery/sensors/current/ict-psu.inc.php index eb06b0cb39..41497d459d 100644 --- a/includes/discovery/sensors/current/ict-psu.inc.php +++ b/includes/discovery/sensors/current/ict-psu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Lorenzo Zafra * @author Lorenzo Zafra */ diff --git a/includes/discovery/sensors/current/liebert.inc.php b/includes/discovery/sensors/current/liebert.inc.php index 05b6268f23..904b153416 100644 --- a/includes/discovery/sensors/current/liebert.inc.php +++ b/includes/discovery/sensors/current/liebert.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Spencer Butler * @author Spencer Butler */ diff --git a/includes/discovery/sensors/current/netagent2.inc.php b/includes/discovery/sensors/current/netagent2.inc.php index 8a1f2c9231..b0109fc2d9 100644 --- a/includes/discovery/sensors/current/netagent2.inc.php +++ b/includes/discovery/sensors/current/netagent2.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/discovery/sensors/current/netonix.inc.php b/includes/discovery/sensors/current/netonix.inc.php index 8c8925c952..e4ce81837e 100644 --- a/includes/discovery/sensors/current/netonix.inc.php +++ b/includes/discovery/sensors/current/netonix.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/discovery/sensors/current/powerlogic.inc.php b/includes/discovery/sensors/current/powerlogic.inc.php index d29e600762..3048c54d9d 100644 --- a/includes/discovery/sensors/current/powerlogic.inc.php +++ b/includes/discovery/sensors/current/powerlogic.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/current/raritan-pdu.inc.php b/includes/discovery/sensors/current/raritan-pdu.inc.php index acfbcbdc94..828f9838b8 100644 --- a/includes/discovery/sensors/current/raritan-pdu.inc.php +++ b/includes/discovery/sensors/current/raritan-pdu.inc.php @@ -102,6 +102,7 @@ if ($outlet_oids) { * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/current/sinetica.inc.php b/includes/discovery/sensors/current/sinetica.inc.php index 220ec1173e..ad24f74114 100644 --- a/includes/discovery/sensors/current/sinetica.inc.php +++ b/includes/discovery/sensors/current/sinetica.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/discovery/sensors/current/sitemonitor.inc.php b/includes/discovery/sensors/current/sitemonitor.inc.php index 08bf4559fd..759eae3fab 100644 --- a/includes/discovery/sensors/current/sitemonitor.inc.php +++ b/includes/discovery/sensors/current/sitemonitor.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/current/tpdin.inc.php b/includes/discovery/sensors/current/tpdin.inc.php index 7ca7507c20..991511bb53 100644 --- a/includes/discovery/sensors/current/tpdin.inc.php +++ b/includes/discovery/sensors/current/tpdin.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/dbm/adva_fsp150.inc.php b/includes/discovery/sensors/dbm/adva_fsp150.inc.php index e7d5154d92..fe98e9e1b0 100644 --- a/includes/discovery/sensors/dbm/adva_fsp150.inc.php +++ b/includes/discovery/sensors/dbm/adva_fsp150.inc.php @@ -27,6 +27,7 @@ * Flow Creation object, and LAG Creation object. * * @link https://www.librenms.org + * * @copyright 2020 KanREN, Inc * @author Heath Barnhart */ diff --git a/includes/discovery/sensors/dbm/adva_fsp3kr7.inc.php b/includes/discovery/sensors/dbm/adva_fsp3kr7.inc.php index 0161f59037..66b3d32241 100644 --- a/includes/discovery/sensors/dbm/adva_fsp3kr7.inc.php +++ b/includes/discovery/sensors/dbm/adva_fsp3kr7.inc.php @@ -3,8 +3,10 @@ * LibreNMS - ADVA device support - Pre-Cache for Sensors * * @category Network_Monitoring + * * @author Christoph Zilian * @license https://gnu.org/copyleft/gpl.html GNU GPL + * * @link https://github.com/librenms/librenms/ * * This program is free software: you can redistribute it and/or modify it diff --git a/includes/discovery/sensors/dbm/ciscoepc.inc.php b/includes/discovery/sensors/dbm/ciscoepc.inc.php index d0774fef41..2580347db5 100644 --- a/includes/discovery/sensors/dbm/ciscoepc.inc.php +++ b/includes/discovery/sensors/dbm/ciscoepc.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/dbm/fs-nmu.inc.php b/includes/discovery/sensors/dbm/fs-nmu.inc.php index f9c9ce3566..96501b3956 100644 --- a/includes/discovery/sensors/dbm/fs-nmu.inc.php +++ b/includes/discovery/sensors/dbm/fs-nmu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Jozef Rebjak * @author Jozef Rebjak */ diff --git a/includes/discovery/sensors/dbm/infinera-groove.inc.php b/includes/discovery/sensors/dbm/infinera-groove.inc.php index 86e0127d36..bf57b72517 100644 --- a/includes/discovery/sensors/dbm/infinera-groove.inc.php +++ b/includes/discovery/sensors/dbm/infinera-groove.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Nick Hilliard * @author Nick Hilliard */ diff --git a/includes/discovery/sensors/delay/infinera-groove.inc.php b/includes/discovery/sensors/delay/infinera-groove.inc.php index fa3037f58b..97e3a540fa 100644 --- a/includes/discovery/sensors/delay/infinera-groove.inc.php +++ b/includes/discovery/sensors/delay/infinera-groove.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Nick Hilliard * @author Nick Hilliard * diff --git a/includes/discovery/sensors/fanspeed/apc.inc.php b/includes/discovery/sensors/fanspeed/apc.inc.php index 4c97934d8b..79276da685 100644 --- a/includes/discovery/sensors/fanspeed/apc.inc.php +++ b/includes/discovery/sensors/fanspeed/apc.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/fanspeed/eltex-olt.inc.php b/includes/discovery/sensors/fanspeed/eltex-olt.inc.php index 35394c37a7..202942d73d 100644 --- a/includes/discovery/sensors/fanspeed/eltex-olt.inc.php +++ b/includes/discovery/sensors/fanspeed/eltex-olt.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/fanspeed/netonix.inc.php b/includes/discovery/sensors/fanspeed/netonix.inc.php index ee219f9d66..20c80a4b16 100644 --- a/includes/discovery/sensors/fanspeed/netonix.inc.php +++ b/includes/discovery/sensors/fanspeed/netonix.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/discovery/sensors/fanspeed/onefs.inc.php b/includes/discovery/sensors/fanspeed/onefs.inc.php index 1ecc05a657..448f2afcca 100644 --- a/includes/discovery/sensors/fanspeed/onefs.inc.php +++ b/includes/discovery/sensors/fanspeed/onefs.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/frequency/netagent2.inc.php b/includes/discovery/sensors/frequency/netagent2.inc.php index 5617909d8e..26f88c4beb 100644 --- a/includes/discovery/sensors/frequency/netagent2.inc.php +++ b/includes/discovery/sensors/frequency/netagent2.inc.php @@ -18,7 +18,9 @@ * along with this program. If not, see . * * Original file + * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray * 3 Phase support extension diff --git a/includes/discovery/sensors/frequency/powerlogic.inc.php b/includes/discovery/sensors/frequency/powerlogic.inc.php index 21b59b3219..0111c52e0e 100644 --- a/includes/discovery/sensors/frequency/powerlogic.inc.php +++ b/includes/discovery/sensors/frequency/powerlogic.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/frequency/sinetica.inc.php b/includes/discovery/sensors/frequency/sinetica.inc.php index 65eb896539..5adccaac47 100644 --- a/includes/discovery/sensors/frequency/sinetica.inc.php +++ b/includes/discovery/sensors/frequency/sinetica.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/discovery/sensors/gw-eydfa.inc.php b/includes/discovery/sensors/gw-eydfa.inc.php index 644b8259ad..049e05f256 100644 --- a/includes/discovery/sensors/gw-eydfa.inc.php +++ b/includes/discovery/sensors/gw-eydfa.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 TheGreatDoc * @author TheGreatDoc */ diff --git a/includes/discovery/sensors/humidity/aos-emu2.inc.php b/includes/discovery/sensors/humidity/aos-emu2.inc.php index 079e5234a3..2a86f84dd6 100644 --- a/includes/discovery/sensors/humidity/aos-emu2.inc.php +++ b/includes/discovery/sensors/humidity/aos-emu2.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/humidity/geist-watchdog.inc.php b/includes/discovery/sensors/humidity/geist-watchdog.inc.php index f49355ca4a..8375264d85 100644 --- a/includes/discovery/sensors/humidity/geist-watchdog.inc.php +++ b/includes/discovery/sensors/humidity/geist-watchdog.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/humidity/liebert.inc.php b/includes/discovery/sensors/humidity/liebert.inc.php index a58463aaeb..ed4b12f46d 100644 --- a/includes/discovery/sensors/humidity/liebert.inc.php +++ b/includes/discovery/sensors/humidity/liebert.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/humidity/raritan-pdu.inc.php b/includes/discovery/sensors/humidity/raritan-pdu.inc.php index 09518f9149..12bd2514a3 100644 --- a/includes/discovery/sensors/humidity/raritan-pdu.inc.php +++ b/includes/discovery/sensors/humidity/raritan-pdu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/humidity/sentry4.inc.php b/includes/discovery/sensors/humidity/sentry4.inc.php index 83319fc275..b88c8abceb 100644 --- a/includes/discovery/sensors/humidity/sentry4.inc.php +++ b/includes/discovery/sensors/humidity/sentry4.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/humidity/serverscheck.inc.php b/includes/discovery/sensors/humidity/serverscheck.inc.php index 628e7db433..faa7b637de 100644 --- a/includes/discovery/sensors/humidity/serverscheck.inc.php +++ b/includes/discovery/sensors/humidity/serverscheck.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/humidity/websensor.inc.php b/includes/discovery/sensors/humidity/websensor.inc.php index 8143ea4da8..30c8fb971c 100644 --- a/includes/discovery/sensors/humidity/websensor.inc.php +++ b/includes/discovery/sensors/humidity/websensor.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/load/infinera-groove.inc.php b/includes/discovery/sensors/load/infinera-groove.inc.php index cafc3af94d..ad9e54bf71 100644 --- a/includes/discovery/sensors/load/infinera-groove.inc.php +++ b/includes/discovery/sensors/load/infinera-groove.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Nick Hilliard * @author Nick Hilliard */ diff --git a/includes/discovery/sensors/load/netagent2.inc.php b/includes/discovery/sensors/load/netagent2.inc.php index d21b8ef36c..8553675856 100644 --- a/includes/discovery/sensors/load/netagent2.inc.php +++ b/includes/discovery/sensors/load/netagent2.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray * 3 Phase support extension diff --git a/includes/discovery/sensors/load/sinetica.inc.php b/includes/discovery/sensors/load/sinetica.inc.php index b799842921..f4f5bf9f77 100644 --- a/includes/discovery/sensors/load/sinetica.inc.php +++ b/includes/discovery/sensors/load/sinetica.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/discovery/sensors/power/apc.inc.php b/includes/discovery/sensors/power/apc.inc.php index 36cfbe6366..3949e174c1 100644 --- a/includes/discovery/sensors/power/apc.inc.php +++ b/includes/discovery/sensors/power/apc.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/power/dell.inc.php b/includes/discovery/sensors/power/dell.inc.php index c5a2aff88b..96fcaf14a2 100644 --- a/includes/discovery/sensors/power/dell.inc.php +++ b/includes/discovery/sensors/power/dell.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/power/enlogic-pdu.inc.php b/includes/discovery/sensors/power/enlogic-pdu.inc.php index dac1429e3b..6591b7c35d 100644 --- a/includes/discovery/sensors/power/enlogic-pdu.inc.php +++ b/includes/discovery/sensors/power/enlogic-pdu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/power/geist-pdu.inc.php b/includes/discovery/sensors/power/geist-pdu.inc.php index 34072e5d44..7233414ed0 100644 --- a/includes/discovery/sensors/power/geist-pdu.inc.php +++ b/includes/discovery/sensors/power/geist-pdu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/power/netonix.inc.php b/includes/discovery/sensors/power/netonix.inc.php index 71d6ef97fa..8b36b43c53 100644 --- a/includes/discovery/sensors/power/netonix.inc.php +++ b/includes/discovery/sensors/power/netonix.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/discovery/sensors/power/powerlogic.inc.php b/includes/discovery/sensors/power/powerlogic.inc.php index 9159d3ec9f..9c76017347 100644 --- a/includes/discovery/sensors/power/powerlogic.inc.php +++ b/includes/discovery/sensors/power/powerlogic.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/power/sinetica.inc.php b/includes/discovery/sensors/power/sinetica.inc.php index 687bc4041d..b6a3158f81 100644 --- a/includes/discovery/sensors/power/sinetica.inc.php +++ b/includes/discovery/sensors/power/sinetica.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/discovery/sensors/power/smartax.inc.php b/includes/discovery/sensors/power/smartax.inc.php index f09305e4a2..f16549ece7 100644 --- a/includes/discovery/sensors/power/smartax.inc.php +++ b/includes/discovery/sensors/power/smartax.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 TheGreatDoc * @author TheGreatDoc */ diff --git a/includes/discovery/sensors/pre-cache/adva_fsp150.inc.php b/includes/discovery/sensors/pre-cache/adva_fsp150.inc.php index 0b2fe526bd..4d02e86ac2 100644 --- a/includes/discovery/sensors/pre-cache/adva_fsp150.inc.php +++ b/includes/discovery/sensors/pre-cache/adva_fsp150.inc.php @@ -3,8 +3,10 @@ * LibreNMS - ADVA device support - Pre-Cache for Sensors * * @category Network_Monitoring + * * @author Christoph Zilian * @license https://gnu.org/copyleft/gpl.html GNU GPL + * * @link https://github.com/librenms/librenms/ * * This program is free software: you can redistribute it and/or modify it diff --git a/includes/discovery/sensors/pre-cache/adva_fsp3kr7.inc.php b/includes/discovery/sensors/pre-cache/adva_fsp3kr7.inc.php index 53e73de913..5ff03fffd3 100644 --- a/includes/discovery/sensors/pre-cache/adva_fsp3kr7.inc.php +++ b/includes/discovery/sensors/pre-cache/adva_fsp3kr7.inc.php @@ -3,8 +3,10 @@ * LibreNMS - ADVA device support - Pre-Cache for Sensors * * @category Network_Monitoring + * * @author Christoph Zilian * @license https://gnu.org/copyleft/gpl.html GNU GPL + * * @link https://github.com/librenms/librenms/ * * This program is free software: you can redistribute it and/or modify it diff --git a/includes/discovery/sensors/pre-cache/aos-emu2.inc.php b/includes/discovery/sensors/pre-cache/aos-emu2.inc.php index 4a2d7f010e..9e9ebe2a12 100644 --- a/includes/discovery/sensors/pre-cache/aos-emu2.inc.php +++ b/includes/discovery/sensors/pre-cache/aos-emu2.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/pre-cache/apc.inc.php b/includes/discovery/sensors/pre-cache/apc.inc.php index 31d1a6a45f..2996ad71f7 100644 --- a/includes/discovery/sensors/pre-cache/apc.inc.php +++ b/includes/discovery/sensors/pre-cache/apc.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/pre-cache/arris-c3.inc.php b/includes/discovery/sensors/pre-cache/arris-c3.inc.php index 347908bfdc..1b213ae595 100644 --- a/includes/discovery/sensors/pre-cache/arris-c3.inc.php +++ b/includes/discovery/sensors/pre-cache/arris-c3.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 TheGreatDoc * @author TheGreatDoc * Based on Neil Lathwood Cisco EPC files diff --git a/includes/discovery/sensors/pre-cache/arris-c4.inc.php b/includes/discovery/sensors/pre-cache/arris-c4.inc.php index 94a14f5c56..2d3db1a053 100644 --- a/includes/discovery/sensors/pre-cache/arris-c4.inc.php +++ b/includes/discovery/sensors/pre-cache/arris-c4.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 TheGreatDoc * @author TheGreatDoc * Based on Neil Lathwood Cisco EPC files diff --git a/includes/discovery/sensors/pre-cache/avtech.inc.php b/includes/discovery/sensors/pre-cache/avtech.inc.php index da994afd6c..43ad60427d 100644 --- a/includes/discovery/sensors/pre-cache/avtech.inc.php +++ b/includes/discovery/sensors/pre-cache/avtech.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/includes/discovery/sensors/pre-cache/ciscoepc.inc.php b/includes/discovery/sensors/pre-cache/ciscoepc.inc.php index dbf50ca4a6..ee9d124c0a 100644 --- a/includes/discovery/sensors/pre-cache/ciscoepc.inc.php +++ b/includes/discovery/sensors/pre-cache/ciscoepc.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/pre-cache/enlogic-pdu.inc.php b/includes/discovery/sensors/pre-cache/enlogic-pdu.inc.php index 0433a5b2c7..2d97df9018 100644 --- a/includes/discovery/sensors/pre-cache/enlogic-pdu.inc.php +++ b/includes/discovery/sensors/pre-cache/enlogic-pdu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/pre-cache/geist-pdu.inc.php b/includes/discovery/sensors/pre-cache/geist-pdu.inc.php index 76d7482868..6d4a6a54d8 100644 --- a/includes/discovery/sensors/pre-cache/geist-pdu.inc.php +++ b/includes/discovery/sensors/pre-cache/geist-pdu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/pre-cache/ifotec.inc.php b/includes/discovery/sensors/pre-cache/ifotec.inc.php index bef1c86c55..73cd2e5652 100644 --- a/includes/discovery/sensors/pre-cache/ifotec.inc.php +++ b/includes/discovery/sensors/pre-cache/ifotec.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright LibreNMS contributors * @author Cedric MARMONIER */ diff --git a/includes/discovery/sensors/pre-cache/infinera-groove.inc.php b/includes/discovery/sensors/pre-cache/infinera-groove.inc.php index 71ae5070b1..0b1dfda25e 100644 --- a/includes/discovery/sensors/pre-cache/infinera-groove.inc.php +++ b/includes/discovery/sensors/pre-cache/infinera-groove.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Nick Hilliard * @author Nick Hilliard */ diff --git a/includes/discovery/sensors/pre-cache/linux.inc.php b/includes/discovery/sensors/pre-cache/linux.inc.php index 8a13a70351..db4f761d4d 100644 --- a/includes/discovery/sensors/pre-cache/linux.inc.php +++ b/includes/discovery/sensors/pre-cache/linux.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/pre-cache/powerlogic.inc.php b/includes/discovery/sensors/pre-cache/powerlogic.inc.php index 00b74a9dc8..0b6929d67e 100644 --- a/includes/discovery/sensors/pre-cache/powerlogic.inc.php +++ b/includes/discovery/sensors/pre-cache/powerlogic.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/pre-cache/procurve.inc.php b/includes/discovery/sensors/pre-cache/procurve.inc.php index 1daac46fcd..07030b1711 100644 --- a/includes/discovery/sensors/pre-cache/procurve.inc.php +++ b/includes/discovery/sensors/pre-cache/procurve.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/pre-cache/raritan-pdu.inc.php b/includes/discovery/sensors/pre-cache/raritan-pdu.inc.php index e5430bf025..269fce3d33 100644 --- a/includes/discovery/sensors/pre-cache/raritan-pdu.inc.php +++ b/includes/discovery/sensors/pre-cache/raritan-pdu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/pre-cache/sentry4.inc.php b/includes/discovery/sensors/pre-cache/sentry4.inc.php index aca0c1a67d..630965b1f3 100644 --- a/includes/discovery/sensors/pre-cache/sentry4.inc.php +++ b/includes/discovery/sensors/pre-cache/sentry4.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/pre-cache/serverscheck.inc.php b/includes/discovery/sensors/pre-cache/serverscheck.inc.php index 3c2edcdfc6..503f0e29eb 100644 --- a/includes/discovery/sensors/pre-cache/serverscheck.inc.php +++ b/includes/discovery/sensors/pre-cache/serverscheck.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/pre-cache/tpdin.inc.php b/includes/discovery/sensors/pre-cache/tpdin.inc.php index 57ae516876..c344869284 100644 --- a/includes/discovery/sensors/pre-cache/tpdin.inc.php +++ b/includes/discovery/sensors/pre-cache/tpdin.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/pre-cache/websensor.inc.php b/includes/discovery/sensors/pre-cache/websensor.inc.php index 8c09134cf0..463e5c5330 100644 --- a/includes/discovery/sensors/pre-cache/websensor.inc.php +++ b/includes/discovery/sensors/pre-cache/websensor.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/rittal-cmc-iii-sensors.inc.php b/includes/discovery/sensors/rittal-cmc-iii-sensors.inc.php index 44a5ecb50f..8d815d78a0 100644 --- a/includes/discovery/sensors/rittal-cmc-iii-sensors.inc.php +++ b/includes/discovery/sensors/rittal-cmc-iii-sensors.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Denny Friebe * @author Denny Friebe */ diff --git a/includes/discovery/sensors/runtime/compas.inc.php b/includes/discovery/sensors/runtime/compas.inc.php index 123c98f0dc..7835df1855 100644 --- a/includes/discovery/sensors/runtime/compas.inc.php +++ b/includes/discovery/sensors/runtime/compas.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Paul Parsons * @author Paul Parsons */ diff --git a/includes/discovery/sensors/runtime/sinetica.inc.php b/includes/discovery/sensors/runtime/sinetica.inc.php index 7811a8797d..cb7be3e413 100644 --- a/includes/discovery/sensors/runtime/sinetica.inc.php +++ b/includes/discovery/sensors/runtime/sinetica.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/discovery/sensors/snr/arris-c3.inc.php b/includes/discovery/sensors/snr/arris-c3.inc.php index 561b0b06f1..1a93e0bdf2 100644 --- a/includes/discovery/sensors/snr/arris-c3.inc.php +++ b/includes/discovery/sensors/snr/arris-c3.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 TheGreatDoc * @author TheGreatDoc * Based on Neil Lathwood Cisco EPC files diff --git a/includes/discovery/sensors/snr/arris-c4.inc.php b/includes/discovery/sensors/snr/arris-c4.inc.php index 156608f77f..1eec90369b 100644 --- a/includes/discovery/sensors/snr/arris-c4.inc.php +++ b/includes/discovery/sensors/snr/arris-c4.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 TheGreatDoc * @author TheGreatDoc * Based on Neil Lathwood Cisco EPC files diff --git a/includes/discovery/sensors/snr/ciscoepc.inc.php b/includes/discovery/sensors/snr/ciscoepc.inc.php index 386f502d52..70c8cecf0b 100644 --- a/includes/discovery/sensors/snr/ciscoepc.inc.php +++ b/includes/discovery/sensors/snr/ciscoepc.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/snr/infinera-groove.inc.php b/includes/discovery/sensors/snr/infinera-groove.inc.php index c81dfe8798..fd2112c274 100644 --- a/includes/discovery/sensors/snr/infinera-groove.inc.php +++ b/includes/discovery/sensors/snr/infinera-groove.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Nick Hilliard * @author Nick Hilliard */ diff --git a/includes/discovery/sensors/state/airos-af-ltu.inc.php b/includes/discovery/sensors/state/airos-af-ltu.inc.php index 3cec2e23ed..f9ae32f6d7 100644 --- a/includes/discovery/sensors/state/airos-af-ltu.inc.php +++ b/includes/discovery/sensors/state/airos-af-ltu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Denny Friebe * @author Denny Friebe */ diff --git a/includes/discovery/sensors/state/aos-emu2.inc.php b/includes/discovery/sensors/state/aos-emu2.inc.php index c6be349f52..259a408591 100644 --- a/includes/discovery/sensors/state/aos-emu2.inc.php +++ b/includes/discovery/sensors/state/aos-emu2.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Ben Gibbons * @author Ben Gibbons */ diff --git a/includes/discovery/sensors/state/commander-plus.inc.php b/includes/discovery/sensors/state/commander-plus.inc.php index 1b1d66d7f9..eebda77a74 100644 --- a/includes/discovery/sensors/state/commander-plus.inc.php +++ b/includes/discovery/sensors/state/commander-plus.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/state/compas.inc.php b/includes/discovery/sensors/state/compas.inc.php index 55a92f9ea4..92158c1922 100644 --- a/includes/discovery/sensors/state/compas.inc.php +++ b/includes/discovery/sensors/state/compas.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Paul Parsons * @author Paul Parsons */ diff --git a/includes/discovery/sensors/state/ctm.inc.php b/includes/discovery/sensors/state/ctm.inc.php index 6f36c83675..627dc5e817 100644 --- a/includes/discovery/sensors/state/ctm.inc.php +++ b/includes/discovery/sensors/state/ctm.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Paul Heinrichs * @author Paul Heinrichs */ diff --git a/includes/discovery/sensors/state/eltek-webpower.inc.php b/includes/discovery/sensors/state/eltek-webpower.inc.php index 8436fd2353..c7c3a771ba 100644 --- a/includes/discovery/sensors/state/eltek-webpower.inc.php +++ b/includes/discovery/sensors/state/eltek-webpower.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Mikael Sipilainen * @author Mikael Sipilainen */ diff --git a/includes/discovery/sensors/state/enlogic-pdu.inc.php b/includes/discovery/sensors/state/enlogic-pdu.inc.php index 30b3c5e8d8..64445dd1bc 100644 --- a/includes/discovery/sensors/state/enlogic-pdu.inc.php +++ b/includes/discovery/sensors/state/enlogic-pdu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/state/extendair.inc.php b/includes/discovery/sensors/state/extendair.inc.php index aa61adf1c2..4e7cded1f1 100644 --- a/includes/discovery/sensors/state/extendair.inc.php +++ b/includes/discovery/sensors/state/extendair.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/state/fortigate.inc.php b/includes/discovery/sensors/state/fortigate.inc.php index 08cb4147a1..daf95b834b 100644 --- a/includes/discovery/sensors/state/fortigate.inc.php +++ b/includes/discovery/sensors/state/fortigate.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Net Entertainment AB * @author Patrik Jonsson */ diff --git a/includes/discovery/sensors/state/fs-nmu.inc.php b/includes/discovery/sensors/state/fs-nmu.inc.php index 34756f95a6..61c13c9926 100644 --- a/includes/discovery/sensors/state/fs-nmu.inc.php +++ b/includes/discovery/sensors/state/fs-nmu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Jozef Rebjak * @author Jozef Rebjak */ diff --git a/includes/discovery/sensors/state/hp.inc.php b/includes/discovery/sensors/state/hp.inc.php index da1544ebca..1123c16027 100644 --- a/includes/discovery/sensors/state/hp.inc.php +++ b/includes/discovery/sensors/state/hp.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/state/ict-pdu.inc.php b/includes/discovery/sensors/state/ict-pdu.inc.php index bf84bef254..5a3da334e4 100644 --- a/includes/discovery/sensors/state/ict-pdu.inc.php +++ b/includes/discovery/sensors/state/ict-pdu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Lorenzo Zafra * @author Lorenzo Zafra */ diff --git a/includes/discovery/sensors/state/infinera-groove.inc.php b/includes/discovery/sensors/state/infinera-groove.inc.php index 0ae138794e..b6654ec7b5 100644 --- a/includes/discovery/sensors/state/infinera-groove.inc.php +++ b/includes/discovery/sensors/state/infinera-groove.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Nick Hilliard * @author Nick Hilliard */ diff --git a/includes/discovery/sensors/state/netagent2.inc.php b/includes/discovery/sensors/state/netagent2.inc.php index 6a72779d5a..e8e446a912 100644 --- a/includes/discovery/sensors/state/netagent2.inc.php +++ b/includes/discovery/sensors/state/netagent2.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray * 3 Phase support extension diff --git a/includes/discovery/sensors/state/procurve.inc.php b/includes/discovery/sensors/state/procurve.inc.php index 4eec57c8cc..dabb80c5de 100644 --- a/includes/discovery/sensors/state/procurve.inc.php +++ b/includes/discovery/sensors/state/procurve.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/state/serverscheck.inc.php b/includes/discovery/sensors/state/serverscheck.inc.php index cc0cfb11ad..ca6ca64004 100644 --- a/includes/discovery/sensors/state/serverscheck.inc.php +++ b/includes/discovery/sensors/state/serverscheck.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Marcus Pink * @author Marcus Pink */ diff --git a/includes/discovery/sensors/state/sitemonitor.inc.php b/includes/discovery/sensors/state/sitemonitor.inc.php index 02d63c2237..eac91433ff 100644 --- a/includes/discovery/sensors/state/sitemonitor.inc.php +++ b/includes/discovery/sensors/state/sitemonitor.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Josh Baird * @author Josh Baird */ diff --git a/includes/discovery/sensors/state/vrp.inc.php b/includes/discovery/sensors/state/vrp.inc.php index 1c5e6f7f43..0e523eee74 100644 --- a/includes/discovery/sensors/state/vrp.inc.php +++ b/includes/discovery/sensors/state/vrp.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 PipoCanaja * @author PipoCanaja */ diff --git a/includes/discovery/sensors/temperature/adva_fsp150.inc.php b/includes/discovery/sensors/temperature/adva_fsp150.inc.php index 9aec233d6a..a66f89addc 100644 --- a/includes/discovery/sensors/temperature/adva_fsp150.inc.php +++ b/includes/discovery/sensors/temperature/adva_fsp150.inc.php @@ -3,8 +3,10 @@ * LibreNMS - ADVA device support - Temperature Sensors * * @category Network_Monitoring + * * @author Christoph Zilian * @license https://gnu.org/copyleft/gpl.html GNU GPL + * * @link https://github.com/librenms/librenms/ * * This program is free software: you can redistribute it and/or modify it diff --git a/includes/discovery/sensors/temperature/adva_fsp3kr7.inc.php b/includes/discovery/sensors/temperature/adva_fsp3kr7.inc.php index 7ecd029e34..ecfaa63154 100644 --- a/includes/discovery/sensors/temperature/adva_fsp3kr7.inc.php +++ b/includes/discovery/sensors/temperature/adva_fsp3kr7.inc.php @@ -3,8 +3,10 @@ * LibreNMS - ADVA device support - Temperature Sensors * * @category Network_Monitoring + * * @author Christoph Zilian * @license https://gnu.org/copyleft/gpl.html GNU GPL + * * @link https://github.com/librenms/librenms/ * * This program is free software: you can redistribute it and/or modify it diff --git a/includes/discovery/sensors/temperature/aos-emu2.inc.php b/includes/discovery/sensors/temperature/aos-emu2.inc.php index 996015b02e..3f24197cd8 100644 --- a/includes/discovery/sensors/temperature/aos-emu2.inc.php +++ b/includes/discovery/sensors/temperature/aos-emu2.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/temperature/commander-plus.inc.php b/includes/discovery/sensors/temperature/commander-plus.inc.php index f1aa4fcef0..0b09ca3ed1 100644 --- a/includes/discovery/sensors/temperature/commander-plus.inc.php +++ b/includes/discovery/sensors/temperature/commander-plus.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/temperature/compas.inc.php b/includes/discovery/sensors/temperature/compas.inc.php index ce1b636afb..d14780bc8b 100644 --- a/includes/discovery/sensors/temperature/compas.inc.php +++ b/includes/discovery/sensors/temperature/compas.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Paul Parsons * @author Paul Parsons */ diff --git a/includes/discovery/sensors/temperature/eltex-olt.inc.php b/includes/discovery/sensors/temperature/eltex-olt.inc.php index 2300d7cf5f..8ca495ad38 100644 --- a/includes/discovery/sensors/temperature/eltex-olt.inc.php +++ b/includes/discovery/sensors/temperature/eltex-olt.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/temperature/extendair.inc.php b/includes/discovery/sensors/temperature/extendair.inc.php index 9140cc54bd..72faa0cbe5 100644 --- a/includes/discovery/sensors/temperature/extendair.inc.php +++ b/includes/discovery/sensors/temperature/extendair.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/temperature/geist-watchdog.inc.php b/includes/discovery/sensors/temperature/geist-watchdog.inc.php index fe7d670dbe..5b1a8a0a29 100644 --- a/includes/discovery/sensors/temperature/geist-watchdog.inc.php +++ b/includes/discovery/sensors/temperature/geist-watchdog.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/temperature/ifotec.inc.php b/includes/discovery/sensors/temperature/ifotec.inc.php index 55b625aa73..b704fde92a 100644 --- a/includes/discovery/sensors/temperature/ifotec.inc.php +++ b/includes/discovery/sensors/temperature/ifotec.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright LibreNMS contributors * @author Cedric MARMONIER */ diff --git a/includes/discovery/sensors/temperature/liebert.inc.php b/includes/discovery/sensors/temperature/liebert.inc.php index d183ab98a8..9d698e5cbc 100644 --- a/includes/discovery/sensors/temperature/liebert.inc.php +++ b/includes/discovery/sensors/temperature/liebert.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/temperature/microsemipdsine.inc.php b/includes/discovery/sensors/temperature/microsemipdsine.inc.php index 37533ee803..595aa7b5a0 100644 --- a/includes/discovery/sensors/temperature/microsemipdsine.inc.php +++ b/includes/discovery/sensors/temperature/microsemipdsine.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Lorenzo Zafra * @author Lorenzo Zafra */ diff --git a/includes/discovery/sensors/temperature/netagent2.inc.php b/includes/discovery/sensors/temperature/netagent2.inc.php index 475d5d4da3..6703730c51 100644 --- a/includes/discovery/sensors/temperature/netagent2.inc.php +++ b/includes/discovery/sensors/temperature/netagent2.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/discovery/sensors/temperature/netonix.inc.php b/includes/discovery/sensors/temperature/netonix.inc.php index 8a648ae3bd..b523db1e10 100644 --- a/includes/discovery/sensors/temperature/netonix.inc.php +++ b/includes/discovery/sensors/temperature/netonix.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/discovery/sensors/temperature/onefs.inc.php b/includes/discovery/sensors/temperature/onefs.inc.php index 1ab9495e75..6125ad076d 100644 --- a/includes/discovery/sensors/temperature/onefs.inc.php +++ b/includes/discovery/sensors/temperature/onefs.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/temperature/raritan-pdu.inc.php b/includes/discovery/sensors/temperature/raritan-pdu.inc.php index e10ac07fde..93d7653136 100644 --- a/includes/discovery/sensors/temperature/raritan-pdu.inc.php +++ b/includes/discovery/sensors/temperature/raritan-pdu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/temperature/serverscheck.inc.php b/includes/discovery/sensors/temperature/serverscheck.inc.php index 056a4cf05e..b678ded0c9 100644 --- a/includes/discovery/sensors/temperature/serverscheck.inc.php +++ b/includes/discovery/sensors/temperature/serverscheck.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/temperature/sitemonitor.inc.php b/includes/discovery/sensors/temperature/sitemonitor.inc.php index 099aebbf7f..433a32d821 100644 --- a/includes/discovery/sensors/temperature/sitemonitor.inc.php +++ b/includes/discovery/sensors/temperature/sitemonitor.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/temperature/smartax.inc.php b/includes/discovery/sensors/temperature/smartax.inc.php index 64b20d9507..6398493194 100644 --- a/includes/discovery/sensors/temperature/smartax.inc.php +++ b/includes/discovery/sensors/temperature/smartax.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 TheGreatDoc * @author TheGreatDoc */ diff --git a/includes/discovery/sensors/temperature/tpdin.inc.php b/includes/discovery/sensors/temperature/tpdin.inc.php index dd2c6630fc..4fb97a86e5 100644 --- a/includes/discovery/sensors/temperature/tpdin.inc.php +++ b/includes/discovery/sensors/temperature/tpdin.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/voltage/adva_fsp150.inc.php b/includes/discovery/sensors/voltage/adva_fsp150.inc.php index 81f03d0893..06cdeeb3e0 100644 --- a/includes/discovery/sensors/voltage/adva_fsp150.inc.php +++ b/includes/discovery/sensors/voltage/adva_fsp150.inc.php @@ -3,8 +3,10 @@ * LibreNMS - ADVA device support - Voltage Sensors * * @category Network_Monitoring + * * @author Christoph Zilian * @license https://gnu.org/copyleft/gpl.html GNU GPL + * * @link https://github.com/librenms/librenms/ * * This program is free software: you can redistribute it and/or modify it diff --git a/includes/discovery/sensors/voltage/adva_fsp3kr7.inc.php b/includes/discovery/sensors/voltage/adva_fsp3kr7.inc.php index c45ca88c9b..b6a37ce26a 100644 --- a/includes/discovery/sensors/voltage/adva_fsp3kr7.inc.php +++ b/includes/discovery/sensors/voltage/adva_fsp3kr7.inc.php @@ -3,8 +3,10 @@ * LibreNMS - ADVA device support - Voltage Sensors * * @category Network_Monitoring + * * @author Christoph Zilian * @license https://gnu.org/copyleft/gpl.html GNU GPL + * * @link https://github.com/librenms/librenms/ * * This program is free software: you can redistribute it and/or modify it diff --git a/includes/discovery/sensors/voltage/commander-plus.inc.php b/includes/discovery/sensors/voltage/commander-plus.inc.php index e96bf1555f..bb362a31e7 100644 --- a/includes/discovery/sensors/voltage/commander-plus.inc.php +++ b/includes/discovery/sensors/voltage/commander-plus.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/voltage/compas.inc.php b/includes/discovery/sensors/voltage/compas.inc.php index de37c8584f..3d815090c5 100644 --- a/includes/discovery/sensors/voltage/compas.inc.php +++ b/includes/discovery/sensors/voltage/compas.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Paul Parsons * @author Paul Parsons */ diff --git a/includes/discovery/sensors/voltage/dell.inc.php b/includes/discovery/sensors/voltage/dell.inc.php index 68aefd111f..dd661a224f 100644 --- a/includes/discovery/sensors/voltage/dell.inc.php +++ b/includes/discovery/sensors/voltage/dell.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/voltage/enlogic-pdu.inc.php b/includes/discovery/sensors/voltage/enlogic-pdu.inc.php index c1e3ab546a..453e22503b 100644 --- a/includes/discovery/sensors/voltage/enlogic-pdu.inc.php +++ b/includes/discovery/sensors/voltage/enlogic-pdu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/voltage/fs-net-pdu.inc.php b/includes/discovery/sensors/voltage/fs-net-pdu.inc.php index 317aa33993..a0706cb4df 100644 --- a/includes/discovery/sensors/voltage/fs-net-pdu.inc.php +++ b/includes/discovery/sensors/voltage/fs-net-pdu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/voltage/geist-pdu.inc.php b/includes/discovery/sensors/voltage/geist-pdu.inc.php index e38ad82632..f5193e7ae3 100644 --- a/includes/discovery/sensors/voltage/geist-pdu.inc.php +++ b/includes/discovery/sensors/voltage/geist-pdu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/voltage/geist-watchdog.inc.php b/includes/discovery/sensors/voltage/geist-watchdog.inc.php index 7608d039ba..b442cc0608 100644 --- a/includes/discovery/sensors/voltage/geist-watchdog.inc.php +++ b/includes/discovery/sensors/voltage/geist-watchdog.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/voltage/ict-pdu.inc.php b/includes/discovery/sensors/voltage/ict-pdu.inc.php index e0a61998e9..55a97ea67d 100644 --- a/includes/discovery/sensors/voltage/ict-pdu.inc.php +++ b/includes/discovery/sensors/voltage/ict-pdu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Lorenzo Zafra * @author Lorenzo Zafra */ diff --git a/includes/discovery/sensors/voltage/ict-psu.inc.php b/includes/discovery/sensors/voltage/ict-psu.inc.php index e46b2e82dd..0f500769cc 100644 --- a/includes/discovery/sensors/voltage/ict-psu.inc.php +++ b/includes/discovery/sensors/voltage/ict-psu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Lorenzo Zafra * @author Lorenzo Zafra */ diff --git a/includes/discovery/sensors/voltage/microsemipdsine.inc.php b/includes/discovery/sensors/voltage/microsemipdsine.inc.php index 2019bf01aa..fa4cf6ab64 100644 --- a/includes/discovery/sensors/voltage/microsemipdsine.inc.php +++ b/includes/discovery/sensors/voltage/microsemipdsine.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Lorenzo Zafra * @author Lorenzo Zafra */ diff --git a/includes/discovery/sensors/voltage/netagent2.inc.php b/includes/discovery/sensors/voltage/netagent2.inc.php index b66f40733b..95205803f1 100644 --- a/includes/discovery/sensors/voltage/netagent2.inc.php +++ b/includes/discovery/sensors/voltage/netagent2.inc.php @@ -18,7 +18,9 @@ * along with this program. If not, see . * * Original file + * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray * 3 Phase support extension diff --git a/includes/discovery/sensors/voltage/netonix.inc.php b/includes/discovery/sensors/voltage/netonix.inc.php index 47bd7df6d2..0e6040940b 100644 --- a/includes/discovery/sensors/voltage/netonix.inc.php +++ b/includes/discovery/sensors/voltage/netonix.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/discovery/sensors/voltage/onefs.inc.php b/includes/discovery/sensors/voltage/onefs.inc.php index 10d504422a..fa792d2769 100644 --- a/includes/discovery/sensors/voltage/onefs.inc.php +++ b/includes/discovery/sensors/voltage/onefs.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/voltage/powerlogic.inc.php b/includes/discovery/sensors/voltage/powerlogic.inc.php index 3247c7e800..272f2e2507 100644 --- a/includes/discovery/sensors/voltage/powerlogic.inc.php +++ b/includes/discovery/sensors/voltage/powerlogic.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/voltage/raritan-pdu.inc.php b/includes/discovery/sensors/voltage/raritan-pdu.inc.php index 979fb72aa9..8214ffca36 100644 --- a/includes/discovery/sensors/voltage/raritan-pdu.inc.php +++ b/includes/discovery/sensors/voltage/raritan-pdu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/voltage/sinetica.inc.php b/includes/discovery/sensors/voltage/sinetica.inc.php index c2db3862d6..dd7fa64732 100644 --- a/includes/discovery/sensors/voltage/sinetica.inc.php +++ b/includes/discovery/sensors/voltage/sinetica.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/discovery/sensors/voltage/sitemonitor.inc.php b/includes/discovery/sensors/voltage/sitemonitor.inc.php index fa92fb341d..e454d14672 100644 --- a/includes/discovery/sensors/voltage/sitemonitor.inc.php +++ b/includes/discovery/sensors/voltage/sitemonitor.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/sensors/voltage/tpdin.inc.php b/includes/discovery/sensors/voltage/tpdin.inc.php index b972891247..7f4892b0c7 100644 --- a/includes/discovery/sensors/voltage/tpdin.inc.php +++ b/includes/discovery/sensors/voltage/tpdin.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/discovery/vlans/jetstream.inc.php b/includes/discovery/vlans/jetstream.inc.php index 35662c09ac..84bfb1b90c 100644 --- a/includes/discovery/vlans/jetstream.inc.php +++ b/includes/discovery/vlans/jetstream.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @author peca.nesovanovic@sattrakt.com * @author mtammasss@gmail.com * @author PipoCanaja diff --git a/includes/discovery/wireless.inc.php b/includes/discovery/wireless.inc.php index 127af50678..a46b391bcf 100644 --- a/includes/discovery/wireless.inc.php +++ b/includes/discovery/wireless.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/includes/functions.php b/includes/functions.php index 6d47945000..6ebcf6c7a5 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -371,7 +371,6 @@ function delete_device($id) * @param bool $force_add add even if the device isn't reachable * @param string $port_assoc_mode snmp field to use to determine unique ports * @param array $additional an array with additional parameters to take into consideration when adding devices - * * @return int returns the device_id of the added device * * @throws HostExistsException This hostname already exists @@ -520,7 +519,6 @@ function isSNMPable($device) * @param string $address_family The address family ('ipv4' or 'ipv6') to use. Defaults to IPv4. * Will *not* be autodetected for IP addresses, so it has to be set to 'ipv6' when pinging an IPv6 address or an IPv6-only host. * @param array $attribs The device attributes - * * @return array 'result' => bool pingable, 'last_ping_timetaken' => int time for last ping, 'db' => fping results */ function isPingable($hostname, $address_family = 'ipv4', $attribs = []) @@ -590,6 +588,7 @@ function getpollergroup($poller_group = '0') * @param bool $force_add Do not detect the host os * @param array $additional an array with additional parameters to take into consideration when adding devices * @return int the id of the added host + * * @throws HostExistsException Throws this exception if the host already exists * @throws Exception Throws this exception if insertion into the database fails */ @@ -1201,7 +1200,6 @@ function device_has_ip($ip) * @param string $transport The SNMP transport specifier, for example "udp", * "udp6", "tcp", or "tcp6". See `man snmpcmd`, * section "Agent Specification" for a full list. - * * @return string The address family associated with the given transport * specifier: 'ipv4' (or local connections not associated * with an IP stack) or 'ipv6'. @@ -1266,7 +1264,6 @@ function oxidized_reload_nodes() * * @param array $device Device array from database * @param string $type The type of record to lookup - * * @return string ip * **/ @@ -2149,6 +2146,7 @@ function oxidized_node_update($hostname, $msg, $username = 'not_provided') /** * @params int code * @params int subcode + * * @return string * Take a BGP error code and subcode to return a string representation of it */ diff --git a/includes/helpers.php b/includes/helpers.php index bb2c95abe0..723b169924 100644 --- a/includes/helpers.php +++ b/includes/helpers.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/includes/html/application/proxmox.inc.php b/includes/html/application/proxmox.inc.php index 31e7f09846..e327febb37 100644 --- a/includes/html/application/proxmox.inc.php +++ b/includes/html/application/proxmox.inc.php @@ -18,6 +18,7 @@ /** * Fetch all VM's in a Proxmox Cluster + * * @param string $c Clustername * @return array An array with all the VM's on this cluster */ @@ -28,6 +29,7 @@ function proxmox_cluster_vms($c) /** * Fetch all VM's on a Proxmox node + * * @param int $n device_id * @return array An array with all the VM's on this node */ @@ -38,6 +40,7 @@ function proxmox_node_vms($n) /** * Fetch all info about a Proxmox VM + * * @param int $vmid Proxmox VM ID * @param string $c Clustername * @return array An array with all info of this VM on this cluster, including ports diff --git a/includes/html/collectd/functions.php b/includes/html/collectd/functions.php index 73344744df..f2859eee25 100644 --- a/includes/html/collectd/functions.php +++ b/includes/html/collectd/functions.php @@ -79,6 +79,7 @@ function collectd_compare_host($a, $b) /** * Fetch list of hosts found in collectd's datadirs. + * * @return array Sorted list of hosts (sorted by label from rigth to left) */ function collectd_list_hosts() @@ -173,9 +174,11 @@ function collectd_list_pinsts($arg_host, $arg_plugin) /** * Fetch list of types found in collectd's datadirs for given host+plugin+instance + * * @arg_host Name of host * @arg_plugin Name of plugin * @arg_pinst Plugin instance + * * @return array Sorted list of types (sorted alphabetically) */ function collectd_list_types($arg_host, $arg_plugin, $arg_pinst) @@ -211,10 +214,12 @@ function collectd_list_types($arg_host, $arg_plugin, $arg_pinst) /** * Fetch list of type instances found in collectd's datadirs for given host+plugin+instance+type + * * @arg_host Name of host * @arg_plugin Name of plugin * @arg_pinst Plugin instance * @arg_type Type + * * @return array Sorted list of type instances (sorted alphabetically) */ function collectd_list_tinsts($arg_host, $arg_plugin, $arg_pinst, $arg_type) @@ -700,6 +705,7 @@ function collectd_draw_generic($timespan, $host, $plugin, $type, $pinst = null, /** * Draw stack-graph for set of RRD files + * * @param array $opts Graph options like colors * @param array $sources List of array(name, file, ds) * @return string Commandline to call RRDGraph in order to generate the final graph @@ -836,6 +842,7 @@ function collectd_draw_meta_stack(&$opts, &$sources) /** * Draw stack-graph for set of RRD files + * * @param array $opts Graph options like colors * @param array $sources List of array(name, file, ds) * @return string Commandline to call RRDGraph in order to generate the final graph diff --git a/includes/html/common/worldmap.inc.php b/includes/html/common/worldmap.inc.php index 8ba29cf5c6..79c5643fd5 100644 --- a/includes/html/common/worldmap.inc.php +++ b/includes/html/common/worldmap.inc.php @@ -15,6 +15,7 @@ /** * Custom Frontpage + * * @author f0o * @copyright 2014 f0o, LibreNMS * @license GPL diff --git a/includes/html/forms/ack-alert.inc.php b/includes/html/forms/ack-alert.inc.php index 08a24cd344..c4305ff5fd 100644 --- a/includes/html/forms/ack-alert.inc.php +++ b/includes/html/forms/ack-alert.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/html/forms/add-dashboard.inc.php b/includes/html/forms/add-dashboard.inc.php index 084fdf1009..0e9d357fd1 100644 --- a/includes/html/forms/add-dashboard.inc.php +++ b/includes/html/forms/add-dashboard.inc.php @@ -15,6 +15,7 @@ /** * Create Dashboards + * * @author Daniel Preussker * @copyright 2015 Daniel Preussker, QuxLabs UG * @license GPL diff --git a/includes/html/forms/alert-notes.inc.php b/includes/html/forms/alert-notes.inc.php index c679909b7a..27cd3fd77d 100644 --- a/includes/html/forms/alert-notes.inc.php +++ b/includes/html/forms/alert-notes.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/html/forms/alert-rules.inc.php b/includes/html/forms/alert-rules.inc.php index 1381c1539a..4f1b842e06 100644 --- a/includes/html/forms/alert-rules.inc.php +++ b/includes/html/forms/alert-rules.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/html/forms/alert-templates.inc.php b/includes/html/forms/alert-templates.inc.php index 40dcf776fc..3bbba6358b 100644 --- a/includes/html/forms/alert-templates.inc.php +++ b/includes/html/forms/alert-templates.inc.php @@ -15,6 +15,7 @@ /** * Alert Templates + * * @author f0o * @copyright 2014 f0o, LibreNMS * @license GPL diff --git a/includes/html/forms/alert-transports.inc.php b/includes/html/forms/alert-transports.inc.php index dbeda688c2..5df8b4a043 100644 --- a/includes/html/forms/alert-transports.inc.php +++ b/includes/html/forms/alert-transports.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Vivia Nguyen-Tran * @author Vivia Nguyen-Tran */ diff --git a/includes/html/forms/application-update.inc.php b/includes/html/forms/application-update.inc.php index 21d7f186de..74c52e0ccd 100644 --- a/includes/html/forms/application-update.inc.php +++ b/includes/html/forms/application-update.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/includes/html/forms/convert-template.inc.php b/includes/html/forms/convert-template.inc.php index 6d33d1b0fd..590eef0145 100644 --- a/includes/html/forms/convert-template.inc.php +++ b/includes/html/forms/convert-template.inc.php @@ -21,6 +21,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Neil Lathwood * @copyright 2018 Tony Murray * @author Tony Murray diff --git a/includes/html/forms/delete-cluster-poller.inc.php b/includes/html/forms/delete-cluster-poller.inc.php index 8b50b0f744..664efc2bd4 100644 --- a/includes/html/forms/delete-cluster-poller.inc.php +++ b/includes/html/forms/delete-cluster-poller.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/includes/html/forms/delete-dashboard.inc.php b/includes/html/forms/delete-dashboard.inc.php index 12b94e672b..3a8f731354 100644 --- a/includes/html/forms/delete-dashboard.inc.php +++ b/includes/html/forms/delete-dashboard.inc.php @@ -15,6 +15,7 @@ /** * Delete Dashboards + * * @author Daniel Preussker * @copyright 2015 Daniel Preussker, QuxLabs UG * @license GPL diff --git a/includes/html/forms/delete-poller.inc.php b/includes/html/forms/delete-poller.inc.php index b59eaeb29d..74f58a0ac6 100644 --- a/includes/html/forms/delete-poller.inc.php +++ b/includes/html/forms/delete-poller.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/includes/html/forms/edit-dashboard.inc.php b/includes/html/forms/edit-dashboard.inc.php index 9469043b7c..fe0b293914 100644 --- a/includes/html/forms/edit-dashboard.inc.php +++ b/includes/html/forms/edit-dashboard.inc.php @@ -15,6 +15,7 @@ /** * Edit Dashboards + * * @author Daniel Preussker * @copyright 2015 Daniel Preussker, QuxLabs UG * @license GPL diff --git a/includes/html/forms/notifications.inc.php b/includes/html/forms/notifications.inc.php index c7edf1ae52..a5ef53c7b3 100644 --- a/includes/html/forms/notifications.inc.php +++ b/includes/html/forms/notifications.inc.php @@ -15,6 +15,7 @@ /** * Notification Page + * * @author Daniel Preussker * @copyright 2015 Daniel Preussker, QuxLabs UG * @license GPL diff --git a/includes/html/forms/reset-port-state.inc.php b/includes/html/forms/reset-port-state.inc.php index 2e0a62f911..eaab6ea0fe 100644 --- a/includes/html/forms/reset-port-state.inc.php +++ b/includes/html/forms/reset-port-state.inc.php @@ -19,6 +19,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2021 Adam Bishop * @author Adam Bishop */ diff --git a/includes/html/forms/sql-from-alert-collection.inc.php b/includes/html/forms/sql-from-alert-collection.inc.php index 7a164c8ee9..b38c9ec1c3 100644 --- a/includes/html/forms/sql-from-alert-collection.inc.php +++ b/includes/html/forms/sql-from-alert-collection.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/html/forms/sql-from-alert-rules.inc.php b/includes/html/forms/sql-from-alert-rules.inc.php index 38da74bc45..e6f6794fd3 100644 --- a/includes/html/forms/sql-from-alert-rules.inc.php +++ b/includes/html/forms/sql-from-alert-rules.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Thomas Berberich * @author Thomas Berberich */ diff --git a/includes/html/forms/transport-groups.inc.php b/includes/html/forms/transport-groups.inc.php index b81d7d1caf..62dae3cd68 100644 --- a/includes/html/forms/transport-groups.inc.php +++ b/includes/html/forms/transport-groups.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Vivia Nguyen-Tran * @author Vivia Nguyen-Tran */ diff --git a/includes/html/functions.inc.php b/includes/html/functions.inc.php index a0c624608f..2d02bb818d 100644 --- a/includes/html/functions.inc.php +++ b/includes/html/functions.inc.php @@ -17,6 +17,7 @@ use LibreNMS\Util\Rewrite; /** * Compare $t with the value of $vars[$v], if that exists + * * @param string $v Name of the var to test * @param string $t Value to compare $vars[$v] to * @return bool true, if values are the same, false if $vars[$v] @@ -34,6 +35,7 @@ function var_eq($v, $t) /** * Get the value of $vars[$v], if it exists + * * @param string $v Name of the var to get * @return string|bool The value of $vars[$v] if it exists, false if it does not exist */ @@ -312,6 +314,7 @@ function generate_entity_link($type, $entity, $text = null, $graph_type = null) /** * Extract type and subtype from a complex graph type, also makes sure variables are file name safe. + * * @param string $type * @return array [type, subtype] */ @@ -882,6 +885,7 @@ function dynamic_override_config($type, $name, $device) * Return the rows from 'ports' for all ports of a certain type as parsed by port_descr_parser. * One or an array of strings can be provided as an argument; if an array is passed, all ports matching * any of the types in the array are returned. + * * @param $types mixed String or strings matching 'port_descr_type's. * @return array Rows from the ports table for matching ports. */ @@ -1032,6 +1036,7 @@ function eventlog_severity($eventlog_severity) /** * Get the http content type of the image + * * @param string $type svg or png * @return string */ @@ -1073,6 +1078,7 @@ function get_oxidized_nodes_list() /** * Get the fail2ban jails for a device... just requires the device ID * an empty return means either no jails or fail2ban is not in use + * * @param $device_id * @return array */ @@ -1099,6 +1105,7 @@ function get_fail2ban_jails($device_id) /** * Get the Postgres databases for a device... just requires the device ID * an empty return means Postres is not in use + * * @param $device_id * @return array */ @@ -1139,6 +1146,7 @@ function generate_stacked_graphs($transparency = '88') /** * Parse AT time spec, does not handle the entire spec. + * * @param string|int $time * @return int */ @@ -1169,6 +1177,7 @@ function parse_at_time($time) /** * Get the ZFS pools for a device... just requires the device ID * an empty return means ZFS is not in use or there are currently no pools + * * @param $device_id * @return array */ @@ -1195,6 +1204,7 @@ function get_zfs_pools($device_id) /** * Get the ports for a device... just requires the device ID * an empty return means portsactivity is not in use or there are currently no ports + * * @param $device_id * @return array */ @@ -1222,6 +1232,7 @@ function get_portactivity_ports($device_id) * Returns the sysname of a device with a html line break prepended. * if the device has an empty sysname it will return device's hostname instead * And finally if the device has no hostname it will return an empty string + * * @param array device * @return string */ @@ -1269,6 +1280,7 @@ function get_state_label($sensor) /** * Get sensor label and state color + * * @param array $sensor * @param string $type sensors or wireless * @return string @@ -1307,6 +1319,7 @@ function get_sensor_label_color($sensor, $type = 'sensors') /** * @params int unix time * @params int seconds + * * @return int * * Rounds down to the nearest interval. @@ -1324,6 +1337,7 @@ function lowest_time($time, $seconds = 300) /** * @params int + * * @return string * * This returns the subpath for working with nfdump. @@ -1373,6 +1387,7 @@ function time_to_nfsen_subpath($time) /** * @params string hostname + * * @return string * * Takes a hostname and transforms it to the name @@ -1391,6 +1406,7 @@ function nfsen_hostname($hostname) /** * @params string hostname + * * @return string * * Takes a hostname and returns the path to the nfsen @@ -1410,6 +1426,7 @@ function nfsen_live_dir($hostname) /** * Get the ZFS pools for a device... just requires the device ID * an empty return means ZFS is not in use or there are currently no pools + * * @param $device_id * @return array */ diff --git a/includes/html/graphs/application/powerdns-recursor.inc.php b/includes/html/graphs/application/powerdns-recursor.inc.php index 4f0b1146ca..81ee51d430 100644 --- a/includes/html/graphs/application/powerdns-recursor.inc.php +++ b/includes/html/graphs/application/powerdns-recursor.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/html/graphs/application/powerdns-recursor_answers.inc.php b/includes/html/graphs/application/powerdns-recursor_answers.inc.php index 9e7a6a5fcd..97bc739f29 100644 --- a/includes/html/graphs/application/powerdns-recursor_answers.inc.php +++ b/includes/html/graphs/application/powerdns-recursor_answers.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/html/graphs/application/powerdns-recursor_cache_performance.inc.php b/includes/html/graphs/application/powerdns-recursor_cache_performance.inc.php index 709af306ae..8997cd4f33 100644 --- a/includes/html/graphs/application/powerdns-recursor_cache_performance.inc.php +++ b/includes/html/graphs/application/powerdns-recursor_cache_performance.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/html/graphs/application/powerdns-recursor_cache_size.inc.php b/includes/html/graphs/application/powerdns-recursor_cache_size.inc.php index 63da5da9d7..09f9c22a79 100644 --- a/includes/html/graphs/application/powerdns-recursor_cache_size.inc.php +++ b/includes/html/graphs/application/powerdns-recursor_cache_size.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/html/graphs/application/powerdns-recursor_outqueries.inc.php b/includes/html/graphs/application/powerdns-recursor_outqueries.inc.php index 5e771c909e..c61ac4cc47 100644 --- a/includes/html/graphs/application/powerdns-recursor_outqueries.inc.php +++ b/includes/html/graphs/application/powerdns-recursor_outqueries.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/html/graphs/application/powerdns-recursor_questions.inc.php b/includes/html/graphs/application/powerdns-recursor_questions.inc.php index b54ff9244d..4d19c2f8a0 100644 --- a/includes/html/graphs/application/powerdns-recursor_questions.inc.php +++ b/includes/html/graphs/application/powerdns-recursor_questions.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/html/graphs/application/rrdcached.inc.php b/includes/html/graphs/application/rrdcached.inc.php index 2b0aed0d6d..1620762ce9 100644 --- a/includes/html/graphs/application/rrdcached.inc.php +++ b/includes/html/graphs/application/rrdcached.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/html/graphs/application/rrdcached_events.inc.php b/includes/html/graphs/application/rrdcached_events.inc.php index 485487f1a6..2a76b30140 100644 --- a/includes/html/graphs/application/rrdcached_events.inc.php +++ b/includes/html/graphs/application/rrdcached_events.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/html/graphs/application/rrdcached_journal.inc.php b/includes/html/graphs/application/rrdcached_journal.inc.php index 9806cd9d40..327b517375 100644 --- a/includes/html/graphs/application/rrdcached_journal.inc.php +++ b/includes/html/graphs/application/rrdcached_journal.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/html/graphs/application/rrdcached_queue_length.inc.php b/includes/html/graphs/application/rrdcached_queue_length.inc.php index 3abc5d614a..4316af4bbd 100644 --- a/includes/html/graphs/application/rrdcached_queue_length.inc.php +++ b/includes/html/graphs/application/rrdcached_queue_length.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/html/graphs/application/rrdcached_tree.inc.php b/includes/html/graphs/application/rrdcached_tree.inc.php index 496134ea72..18ee225bb4 100644 --- a/includes/html/graphs/application/rrdcached_tree.inc.php +++ b/includes/html/graphs/application/rrdcached_tree.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/html/graphs/device/collectd.inc.php b/includes/html/graphs/device/collectd.inc.php index 6ec0503096..46bbeddae7 100644 --- a/includes/html/graphs/device/collectd.inc.php +++ b/includes/html/graphs/device/collectd.inc.php @@ -46,6 +46,7 @@ function makeTextBlock($text, $fontfile, $fontsize, $width) /** * No RRD files found that could match request + * * @code HTTP error code * @code_msg Short text description of HTTP error code * @title Title for fake RRD graph diff --git a/includes/html/graphs/device/qfp.inc.php b/includes/html/graphs/device/qfp.inc.php index 348668c11e..b0fefb8387 100644 --- a/includes/html/graphs/device/qfp.inc.php +++ b/includes/html/graphs/device/qfp.inc.php @@ -7,6 +7,7 @@ * the source code distribution for details. * * @link https://www.librenms.org + * * @copyright 2019 LibreNMS * @author Pavle Obradovic */ diff --git a/includes/html/graphs/device/wireless-sensor.inc.php b/includes/html/graphs/device/wireless-sensor.inc.php index f493d79686..ef4cfb5b25 100644 --- a/includes/html/graphs/device/wireless-sensor.inc.php +++ b/includes/html/graphs/device/wireless-sensor.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/includes/html/graphs/global/poller_modules_perf.inc.php b/includes/html/graphs/global/poller_modules_perf.inc.php index 8795dc663f..7a2b7a92a6 100644 --- a/includes/html/graphs/global/poller_modules_perf.inc.php +++ b/includes/html/graphs/global/poller_modules_perf.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/includes/html/graphs/global/poller_perf.inc.php b/includes/html/graphs/global/poller_perf.inc.php index d6c6bd84d5..05029c32fd 100644 --- a/includes/html/graphs/global/poller_perf.inc.php +++ b/includes/html/graphs/global/poller_perf.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/includes/html/graphs/port/cie.inc.php b/includes/html/graphs/port/cie.inc.php index 4480a2c547..43df045548 100644 --- a/includes/html/graphs/port/cie.inc.php +++ b/includes/html/graphs/port/cie.inc.php @@ -7,6 +7,7 @@ * the source code distribution for details. * * @link https://www.librenms.org + * * @copyright 2019 LibreNMS * @author Pavle Obradovic */ diff --git a/includes/html/graphs/qfp/auth.inc.php b/includes/html/graphs/qfp/auth.inc.php index 74e50f5294..3ae3739974 100644 --- a/includes/html/graphs/qfp/auth.inc.php +++ b/includes/html/graphs/qfp/auth.inc.php @@ -7,6 +7,7 @@ * the source code distribution for details. * * @link https://www.librenms.org + * * @copyright 2019 LibreNMS * @author Pavle Obradovic */ diff --git a/includes/html/graphs/qfp/avgpktsize.inc.php b/includes/html/graphs/qfp/avgpktsize.inc.php index 49aa29757c..d44fe9e3ce 100644 --- a/includes/html/graphs/qfp/avgpktsize.inc.php +++ b/includes/html/graphs/qfp/avgpktsize.inc.php @@ -7,6 +7,7 @@ * the source code distribution for details. * * @link https://www.librenms.org + * * @copyright 2019 LibreNMS * @author Pavle Obradovic */ diff --git a/includes/html/graphs/qfp/memory.inc.php b/includes/html/graphs/qfp/memory.inc.php index 6cd4927dc9..267f7fb97d 100644 --- a/includes/html/graphs/qfp/memory.inc.php +++ b/includes/html/graphs/qfp/memory.inc.php @@ -7,6 +7,7 @@ * the source code distribution for details. * * @link https://www.librenms.org + * * @copyright 2019 LibreNMS * @author Pavle Obradovic */ diff --git a/includes/html/graphs/qfp/packets.inc.php b/includes/html/graphs/qfp/packets.inc.php index 5395874a99..a3f6a51f39 100644 --- a/includes/html/graphs/qfp/packets.inc.php +++ b/includes/html/graphs/qfp/packets.inc.php @@ -7,6 +7,7 @@ * the source code distribution for details. * * @link https://www.librenms.org + * * @copyright 2019 LibreNMS * @author Pavle Obradovic */ diff --git a/includes/html/graphs/qfp/relativeutil.inc.php b/includes/html/graphs/qfp/relativeutil.inc.php index fb9205e1b8..a3383bf80d 100644 --- a/includes/html/graphs/qfp/relativeutil.inc.php +++ b/includes/html/graphs/qfp/relativeutil.inc.php @@ -9,6 +9,7 @@ * Display relative QFP utilization (in %) to kpps processed * * @link https://www.librenms.org + * * @copyright 2019 LibreNMS * @author Pavle Obradovic */ diff --git a/includes/html/graphs/qfp/throughput.inc.php b/includes/html/graphs/qfp/throughput.inc.php index 41241433c4..0cadbbab06 100644 --- a/includes/html/graphs/qfp/throughput.inc.php +++ b/includes/html/graphs/qfp/throughput.inc.php @@ -7,6 +7,7 @@ * the source code distribution for details. * * @link https://www.librenms.org + * * @copyright 2019 LibreNMS * @author Pavle Obradovic */ diff --git a/includes/html/graphs/qfp/util.inc.php b/includes/html/graphs/qfp/util.inc.php index bc635abc2f..d2f2a29b23 100644 --- a/includes/html/graphs/qfp/util.inc.php +++ b/includes/html/graphs/qfp/util.inc.php @@ -7,6 +7,7 @@ * the source code distribution for details. * * @link https://www.librenms.org + * * @copyright 2019 LibreNMS * @author Pavle Obradovic */ diff --git a/includes/html/graphs/sensor/airflow.inc.php b/includes/html/graphs/sensor/airflow.inc.php index 6e64d49425..2b105a40f9 100644 --- a/includes/html/graphs/sensor/airflow.inc.php +++ b/includes/html/graphs/sensor/airflow.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/html/graphs/wireless/clients.inc.php b/includes/html/graphs/wireless/clients.inc.php index 5d23f862c9..dbd0ff709a 100644 --- a/includes/html/graphs/wireless/clients.inc.php +++ b/includes/html/graphs/wireless/clients.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/includes/html/graphs/wireless/rsrp.inc.php b/includes/html/graphs/wireless/rsrp.inc.php index b6436ac3dc..9d3bcc7868 100644 --- a/includes/html/graphs/wireless/rsrp.inc.php +++ b/includes/html/graphs/wireless/rsrp.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Jozef Rebjak * @author Jozef Rebjak */ diff --git a/includes/html/graphs/wireless/rsrq.inc.php b/includes/html/graphs/wireless/rsrq.inc.php index 8d9c2c73e3..2690267542 100644 --- a/includes/html/graphs/wireless/rsrq.inc.php +++ b/includes/html/graphs/wireless/rsrq.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Jozef Rebjak * @author Jozef Rebjak */ diff --git a/includes/html/graphs/wireless/rssi.inc.php b/includes/html/graphs/wireless/rssi.inc.php index 2c2dab47e8..a0dc210a87 100644 --- a/includes/html/graphs/wireless/rssi.inc.php +++ b/includes/html/graphs/wireless/rssi.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/includes/html/graphs/wireless/sinr.inc.php b/includes/html/graphs/wireless/sinr.inc.php index 0e2c13eceb..9151d81a6c 100644 --- a/includes/html/graphs/wireless/sinr.inc.php +++ b/includes/html/graphs/wireless/sinr.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Jozef Rebjak * @author Jozef Rebjak */ diff --git a/includes/html/graphs/wireless/wireless-sensor.inc.php b/includes/html/graphs/wireless/wireless-sensor.inc.php index 987352c37c..9eb722f67e 100644 --- a/includes/html/graphs/wireless/wireless-sensor.inc.php +++ b/includes/html/graphs/wireless/wireless-sensor.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/includes/html/list/devices.inc.php b/includes/html/list/devices.inc.php index 675d33c27c..c2434e83d2 100644 --- a/includes/html/list/devices.inc.php +++ b/includes/html/list/devices.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/includes/html/list/devices_groups.inc.php b/includes/html/list/devices_groups.inc.php index 88cab7d679..273ccccd1f 100644 --- a/includes/html/list/devices_groups.inc.php +++ b/includes/html/list/devices_groups.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/includes/html/list/devices_groups_locations.inc.php b/includes/html/list/devices_groups_locations.inc.php index fc66c17162..1e18f1e964 100644 --- a/includes/html/list/devices_groups_locations.inc.php +++ b/includes/html/list/devices_groups_locations.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/includes/html/list/groups.inc.php b/includes/html/list/groups.inc.php index 2fae87a696..22c4d9de9c 100644 --- a/includes/html/list/groups.inc.php +++ b/includes/html/list/groups.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/includes/html/list/locations.inc.php b/includes/html/list/locations.inc.php index 5b867bbe17..084a6d6b0a 100644 --- a/includes/html/list/locations.inc.php +++ b/includes/html/list/locations.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Thomas Berberich * @author Thomas Berberich */ diff --git a/includes/html/list/transport_groups.inc.php b/includes/html/list/transport_groups.inc.php index 08d365629e..d1da117b04 100644 --- a/includes/html/list/transport_groups.inc.php +++ b/includes/html/list/transport_groups.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Vivia Nguyen-Tran * @author Vivia Nguyen-Tran */ diff --git a/includes/html/list/transports.inc.php b/includes/html/list/transports.inc.php index a26edff68b..fff9bc9cd1 100644 --- a/includes/html/list/transports.inc.php +++ b/includes/html/list/transports.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Vivia Nguyen-Tran * @author Vivia Nguyen-Tran */ diff --git a/includes/html/modal/alert_rule_collection.inc.php b/includes/html/modal/alert_rule_collection.inc.php index 1989b7ecd0..bedf0a12ac 100644 --- a/includes/html/modal/alert_rule_collection.inc.php +++ b/includes/html/modal/alert_rule_collection.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/html/modal/alert_rule_list.inc.php b/includes/html/modal/alert_rule_list.inc.php index aeec9590cd..ad6a50c736 100644 --- a/includes/html/modal/alert_rule_list.inc.php +++ b/includes/html/modal/alert_rule_list.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Thomas Berberich * @author Thomas Berberich */ diff --git a/includes/html/modal/delete_poller.inc.php b/includes/html/modal/delete_poller.inc.php index e1cc3c58cf..f5f51dd7d7 100644 --- a/includes/html/modal/delete_poller.inc.php +++ b/includes/html/modal/delete_poller.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/includes/html/modal/device_maintenance.inc.php b/includes/html/modal/device_maintenance.inc.php index 6d717854ac..8aa35724f7 100644 --- a/includes/html/modal/device_maintenance.inc.php +++ b/includes/html/modal/device_maintenance.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Thomas Berberich * @author Thomas Berberich */ diff --git a/includes/html/output/capture.inc.php b/includes/html/output/capture.inc.php index 1610de587a..2c99e4a7a1 100644 --- a/includes/html/output/capture.inc.php +++ b/includes/html/output/capture.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/html/output/query.inc.php b/includes/html/output/query.inc.php index 367f724198..0368628f12 100644 --- a/includes/html/output/query.inc.php +++ b/includes/html/output/query.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/html/pages/device/apps/powerdns-recursor.inc.php b/includes/html/pages/device/apps/powerdns-recursor.inc.php index 4d8e7a3b6d..8899829ba9 100644 --- a/includes/html/pages/device/apps/powerdns-recursor.inc.php +++ b/includes/html/pages/device/apps/powerdns-recursor.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/html/pages/device/apps/rrdcached.inc.php b/includes/html/pages/device/apps/rrdcached.inc.php index 7bf08979d1..4098b5da2e 100644 --- a/includes/html/pages/device/apps/rrdcached.inc.php +++ b/includes/html/pages/device/apps/rrdcached.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/html/pages/device/capture.inc.php b/includes/html/pages/device/capture.inc.php index a143301440..b3cf499d0a 100644 --- a/includes/html/pages/device/capture.inc.php +++ b/includes/html/pages/device/capture.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/html/pages/device/health/airflow.inc.php b/includes/html/pages/device/health/airflow.inc.php index 3fb009ba8b..f563fd4a6e 100644 --- a/includes/html/pages/device/health/airflow.inc.php +++ b/includes/html/pages/device/health/airflow.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/html/pages/device/health/qfp.inc.php b/includes/html/pages/device/health/qfp.inc.php index 1124828800..2b656a3e3a 100644 --- a/includes/html/pages/device/health/qfp.inc.php +++ b/includes/html/pages/device/health/qfp.inc.php @@ -7,6 +7,7 @@ * the source code distribution for details. * * @link https://www.librenms.org + * * @copyright 2019 LibreNMS * @author Pavle Obradovic */ diff --git a/includes/html/pages/device/overview/sensors/airflow.inc.php b/includes/html/pages/device/overview/sensors/airflow.inc.php index 50d0f75d8a..7fa17267ef 100644 --- a/includes/html/pages/device/overview/sensors/airflow.inc.php +++ b/includes/html/pages/device/overview/sensors/airflow.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/html/pages/device/overview/tracepath.inc.php b/includes/html/pages/device/overview/tracepath.inc.php index 29357fc929..e1a4e7a2d7 100644 --- a/includes/html/pages/device/overview/tracepath.inc.php +++ b/includes/html/pages/device/overview/tracepath.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/html/pages/fullscreenmap.inc.php b/includes/html/pages/fullscreenmap.inc.php index f9927c6ddf..cf98011ef0 100644 --- a/includes/html/pages/fullscreenmap.inc.php +++ b/includes/html/pages/fullscreenmap.inc.php @@ -14,6 +14,7 @@ * along with this program. If not, see . */ /** * Custom Frontpage + * * @author f0o * @copyright 2014 f0o, LibreNMS * @license GPL diff --git a/includes/html/pages/notifications.inc.php b/includes/html/pages/notifications.inc.php index ff2cd6038f..0a172be326 100644 --- a/includes/html/pages/notifications.inc.php +++ b/includes/html/pages/notifications.inc.php @@ -15,6 +15,7 @@ /** * Notification Page + * * @author Daniel Preussker * @copyright 2015 Daniel Preussker, QuxLabs UG * @license GPL diff --git a/includes/html/pages/peering.inc.php b/includes/html/pages/peering.inc.php index dedf9ec950..c2808d0f83 100644 --- a/includes/html/pages/peering.inc.php +++ b/includes/html/pages/peering.inc.php @@ -16,6 +16,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/html/pages/peering/as-selection.inc.php b/includes/html/pages/peering/as-selection.inc.php index f60e830f18..4c9c099456 100644 --- a/includes/html/pages/peering/as-selection.inc.php +++ b/includes/html/pages/peering/as-selection.inc.php @@ -16,6 +16,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/html/pages/peering/ix-list.inc.php b/includes/html/pages/peering/ix-list.inc.php index 2f0f8d0e41..62d5e1c0d5 100644 --- a/includes/html/pages/peering/ix-list.inc.php +++ b/includes/html/pages/peering/ix-list.inc.php @@ -16,6 +16,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/html/pages/peering/ix-peers.inc.php b/includes/html/pages/peering/ix-peers.inc.php index ddad24e188..bd1a46cfe8 100644 --- a/includes/html/pages/peering/ix-peers.inc.php +++ b/includes/html/pages/peering/ix-peers.inc.php @@ -16,6 +16,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/html/pages/search/packages.inc.php b/includes/html/pages/search/packages.inc.php index 59c3ba5002..11ef61e6e0 100644 --- a/includes/html/pages/search/packages.inc.php +++ b/includes/html/pages/search/packages.inc.php @@ -16,6 +16,7 @@ /** * Package Search + * * @author Daniel Preussker * @copyright 2014 f0o, LibreNMS * @license GPL diff --git a/includes/html/pages/validate.inc.php b/includes/html/pages/validate.inc.php index d890b9d928..577da3944f 100644 --- a/includes/html/pages/validate.inc.php +++ b/includes/html/pages/validate.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/includes/html/pages/wireless.inc.php b/includes/html/pages/wireless.inc.php index d137a152bb..c8d5991a1e 100644 --- a/includes/html/pages/wireless.inc.php +++ b/includes/html/pages/wireless.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/includes/html/print-alert-rules.php b/includes/html/print-alert-rules.php index 4eb26b7d21..bd7c47a4f1 100644 --- a/includes/html/print-alert-rules.php +++ b/includes/html/print-alert-rules.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 The LibreNMS Community * @author Original Author * @author Joseph Tingiris diff --git a/includes/html/table/ix-list.inc.php b/includes/html/table/ix-list.inc.php index 9abccf75d2..e2b04aab08 100644 --- a/includes/html/table/ix-list.inc.php +++ b/includes/html/table/ix-list.inc.php @@ -16,6 +16,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/html/table/ix-peers.inc.php b/includes/html/table/ix-peers.inc.php index a143cc6e0d..ca96fa6ca6 100644 --- a/includes/html/table/ix-peers.inc.php +++ b/includes/html/table/ix-peers.inc.php @@ -16,6 +16,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/html/table/ports.inc.php b/includes/html/table/ports.inc.php index eaaee25831..f2755e60d9 100644 --- a/includes/html/table/ports.inc.php +++ b/includes/html/table/ports.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/init.php b/includes/init.php index 5de7fbc2e0..d6282e24cb 100644 --- a/includes/init.php +++ b/includes/init.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/notifications.php b/includes/notifications.php index bd010516da..bdd68fdd59 100644 --- a/includes/notifications.php +++ b/includes/notifications.php @@ -15,16 +15,19 @@ /** * Notification Poller + * * @copyright 2015 Daniel Preussker, QuxLabs UG * @copyright 2017 Tony Murray * @author Daniel Preussker * @author Tony Murray * @license GPL + * * @link https://www.librenms.org */ /** * Pull notifications from remotes + * * @return array Notifications */ function get_notifications() @@ -51,6 +54,7 @@ function get_notifications() /** * Post notifications to users + * * @return null */ function post_notifications() @@ -68,6 +72,7 @@ function post_notifications() /** * Parse RSS + * * @param array $feed RSS Object * @return array Parsed Object */ @@ -91,6 +96,7 @@ function parse_rss($feed) /** * Parse Atom + * * @param array $feed Atom Object * @return array Parsed Object */ diff --git a/includes/polling/applications/powerdns-recursor.inc.php b/includes/polling/applications/powerdns-recursor.inc.php index 3f3f737ebf..361bd32d2d 100644 --- a/includes/polling/applications/powerdns-recursor.inc.php +++ b/includes/polling/applications/powerdns-recursor.inc.php @@ -19,6 +19,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/polling/applications/proxmox.inc.php b/includes/polling/applications/proxmox.inc.php index 878568f0d5..f3ee46cb81 100644 --- a/includes/polling/applications/proxmox.inc.php +++ b/includes/polling/applications/proxmox.inc.php @@ -5,6 +5,7 @@ use LibreNMS\RRD\RrdDefinition; if (! function_exists('proxmox_port_exists')) { /** * Check if a port on a Proxmox VM exists + * * @param string $p Port name * @param string $c Clustername * @param int $i VM ID @@ -23,6 +24,7 @@ if (! function_exists('proxmox_port_exists')) { if (! function_exists('proxmox_vm_exists')) { /** * Check if a Proxmox VM exists + * * @param int $i VM ID * @param string $c Clustername * @param array $pmxcache Reference to the Proxmox VM Cache diff --git a/includes/polling/applications/rrdcached.inc.php b/includes/polling/applications/rrdcached.inc.php index 76d7d94f01..23b9be49ad 100644 --- a/includes/polling/applications/rrdcached.inc.php +++ b/includes/polling/applications/rrdcached.inc.php @@ -20,6 +20,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/includes/polling/cisco-qfp.inc.php b/includes/polling/cisco-qfp.inc.php index cdd3b47cbe..26f96273e1 100644 --- a/includes/polling/cisco-qfp.inc.php +++ b/includes/polling/cisco-qfp.inc.php @@ -9,6 +9,7 @@ * LibreNMS module to capture Cisco QFP Statistics * * @link https://www.librenms.org + * * @copyright 2019 LibreNMS * @author Pavle Obradovic */ diff --git a/includes/polling/entity-state.inc.php b/includes/polling/entity-state.inc.php index 68c2c62fbc..fc446d3579 100644 --- a/includes/polling/entity-state.inc.php +++ b/includes/polling/entity-state.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/includes/polling/functions.inc.php b/includes/polling/functions.inc.php index 4b53d6d777..b9d42dbbe1 100644 --- a/includes/polling/functions.inc.php +++ b/includes/polling/functions.inc.php @@ -611,8 +611,8 @@ function update_application($app, $response, $metrics = [], $status = '') * @param array $device * @param string $extend the extend name. For example, if 'zfs' is passed it will be converted to 'nsExtendOutputFull.3.122.102.115'. * @param int $min_version the minimum version to accept for the returned JSON. default: 1 - * * @return array The json output data parsed into an array + * * @throws JsonAppBlankJsonException * @throws JsonAppExtendErroredException * @throws JsonAppMissingKeysException @@ -670,7 +670,6 @@ function json_app_get($device, $extend, $min_version = 1) * @param string $prefix What to prefix to the name. Defaults to '', nothing. * @param string $joiner The string to join the prefix, if set to something other * than '', and array keys with. - * * @return array The flattened array. */ function data_flatten($array, $prefix = '', $joiner = '_') diff --git a/includes/polling/isis.inc.php b/includes/polling/isis.inc.php index dc6f41805f..f0f3edb8cb 100644 --- a/includes/polling/isis.inc.php +++ b/includes/polling/isis.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link http://librenms.org + * * @copyright 2021 Otto Reinikainen * @author Otto Reinikainen */ diff --git a/includes/polling/mpls.inc.php b/includes/polling/mpls.inc.php index da13a6f9a5..28a72a977b 100644 --- a/includes/polling/mpls.inc.php +++ b/includes/polling/mpls.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 20169 Vitali Kari * @author Vitali Kari */ diff --git a/includes/polling/nac.inc.php b/includes/polling/nac.inc.php index 225d02bf2d..59cf86a53a 100644 --- a/includes/polling/nac.inc.php +++ b/includes/polling/nac.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Jose Augusto Cardoso * @copyright 2018 Tony Murray * @author Tony Murray diff --git a/includes/polling/os/arris-cm.inc.php b/includes/polling/os/arris-cm.inc.php index 327a8d8adf..68f7bba8c0 100644 --- a/includes/polling/os/arris-cm.inc.php +++ b/includes/polling/os/arris-cm.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/includes/polling/os/breeze.inc.php b/includes/polling/os/breeze.inc.php index ce0261b6af..b846289dbd 100644 --- a/includes/polling/os/breeze.inc.php +++ b/includes/polling/os/breeze.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/chatsworth-pdu.inc.php b/includes/polling/os/chatsworth-pdu.inc.php index 62964dd9ae..6a21af022a 100644 --- a/includes/polling/os/chatsworth-pdu.inc.php +++ b/includes/polling/os/chatsworth-pdu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Lorenzo Zafra * @author Lorenzo Zafra */ diff --git a/includes/polling/os/ciscoepc.inc.php b/includes/polling/os/ciscoepc.inc.php index f82f1b60b8..fac51c0bd8 100644 --- a/includes/polling/os/ciscoepc.inc.php +++ b/includes/polling/os/ciscoepc.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/clearpass.inc.php b/includes/polling/os/clearpass.inc.php index 3f4ba3a277..fe22f441ed 100644 --- a/includes/polling/os/clearpass.inc.php +++ b/includes/polling/os/clearpass.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/ctcu.inc.php b/includes/polling/os/ctcu.inc.php index 7f1365782b..f8dbd2b9f9 100644 --- a/includes/polling/os/ctcu.inc.php +++ b/includes/polling/os/ctcu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/dell-rcs.inc.php b/includes/polling/os/dell-rcs.inc.php index 82e236fbcd..2f3f9deee0 100644 --- a/includes/polling/os/dell-rcs.inc.php +++ b/includes/polling/os/dell-rcs.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/draytek.inc.php b/includes/polling/os/draytek.inc.php index 5f28761257..58998b4077 100644 --- a/includes/polling/os/draytek.inc.php +++ b/includes/polling/os/draytek.inc.php @@ -1,6 +1,7 @@ */ preg_match('/Router Model: ([\w ]+), Version: ([\w\.]+)/', $device['sysDescr'], $tmp_draytek); diff --git a/includes/polling/os/ees.inc.php b/includes/polling/os/ees.inc.php index 08e282ffe1..e455cd76e0 100644 --- a/includes/polling/os/ees.inc.php +++ b/includes/polling/os/ees.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/elg-ipecs-es.inc.php b/includes/polling/os/elg-ipecs-es.inc.php index e38f4327c4..7128d4e242 100644 --- a/includes/polling/os/elg-ipecs-es.inc.php +++ b/includes/polling/os/elg-ipecs-es.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/elg-ipecs-ucp.inc.php b/includes/polling/os/elg-ipecs-ucp.inc.php index 33eb791860..d3b2e75667 100644 --- a/includes/polling/os/elg-ipecs-ucp.inc.php +++ b/includes/polling/os/elg-ipecs-ucp.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/eltex-olt.inc.php b/includes/polling/os/eltex-olt.inc.php index 415c37356c..92460f00a9 100644 --- a/includes/polling/os/eltex-olt.inc.php +++ b/includes/polling/os/eltex-olt.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/enlogic-pdu.inc.php b/includes/polling/os/enlogic-pdu.inc.php index 7b8cc9590f..ab27e92462 100644 --- a/includes/polling/os/enlogic-pdu.inc.php +++ b/includes/polling/os/enlogic-pdu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/etherwan.inc.php b/includes/polling/os/etherwan.inc.php index a9124e1219..e112251372 100644 --- a/includes/polling/os/etherwan.inc.php +++ b/includes/polling/os/etherwan.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Lorenzo Zafra * @author Lorenzo Zafra */ diff --git a/includes/polling/os/extendair.inc.php b/includes/polling/os/extendair.inc.php index 2cef3e49dd..88fae49d62 100644 --- a/includes/polling/os/extendair.inc.php +++ b/includes/polling/os/extendair.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/fxm.inc.php b/includes/polling/os/fxm.inc.php index 646e524b64..c811517fe2 100644 --- a/includes/polling/os/fxm.inc.php +++ b/includes/polling/os/fxm.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/geist-pdu.inc.php b/includes/polling/os/geist-pdu.inc.php index beef25cd7f..0226bbd032 100644 --- a/includes/polling/os/geist-pdu.inc.php +++ b/includes/polling/os/geist-pdu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/geist-watchdog.inc.php b/includes/polling/os/geist-watchdog.inc.php index 9d54d2fa6a..feca5d8f0e 100644 --- a/includes/polling/os/geist-watchdog.inc.php +++ b/includes/polling/os/geist-watchdog.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/hpe-ipdu.inc.php b/includes/polling/os/hpe-ipdu.inc.php index 6f2a17693e..c330106a86 100644 --- a/includes/polling/os/hpe-ipdu.inc.php +++ b/includes/polling/os/hpe-ipdu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/hpe-msl.inc.php b/includes/polling/os/hpe-msl.inc.php index dc5cb5a539..426f2536d2 100644 --- a/includes/polling/os/hpe-msl.inc.php +++ b/includes/polling/os/hpe-msl.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/ipolis.inc.php b/includes/polling/os/ipolis.inc.php index 44b97e79f3..8946daf986 100644 --- a/includes/polling/os/ipolis.inc.php +++ b/includes/polling/os/ipolis.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Priit Mustasaar * @author Priit Mustasaar */ diff --git a/includes/polling/os/netagent2.inc.php b/includes/polling/os/netagent2.inc.php index 3955f7d386..ef2ab7eb1a 100644 --- a/includes/polling/os/netagent2.inc.php +++ b/includes/polling/os/netagent2.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Mikael Sipilainen * @author Mikael Sipilainen */ diff --git a/includes/polling/os/netguardian.inc.php b/includes/polling/os/netguardian.inc.php index 081c6759bf..d8ceb2ffaf 100644 --- a/includes/polling/os/netguardian.inc.php +++ b/includes/polling/os/netguardian.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/ns-bsd.inc.php b/includes/polling/os/ns-bsd.inc.php index 9053ef75ef..e17073bf5d 100644 --- a/includes/polling/os/ns-bsd.inc.php +++ b/includes/polling/os/ns-bsd.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Thomas GAGNIERE * @author Thomas GAGNIERE */ diff --git a/includes/polling/os/oceanstor.inc.php b/includes/polling/os/oceanstor.inc.php index 4811079e32..1a30f1a335 100644 --- a/includes/polling/os/oceanstor.inc.php +++ b/includes/polling/os/oceanstor.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/powerlogic.inc.php b/includes/polling/os/powerlogic.inc.php index d8d120646e..3e6ad857e0 100644 --- a/includes/polling/os/powerlogic.inc.php +++ b/includes/polling/os/powerlogic.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/remoteye4.inc.php b/includes/polling/os/remoteye4.inc.php index 5f4fdc2c60..ab424c8648 100644 --- a/includes/polling/os/remoteye4.inc.php +++ b/includes/polling/os/remoteye4.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/ros.inc.php b/includes/polling/os/ros.inc.php index 23540baddf..a71bb37459 100644 --- a/includes/polling/os/ros.inc.php +++ b/includes/polling/os/ros.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Lorenzo Zafra * @author Lorenzo Zafra */ diff --git a/includes/polling/os/savin.inc.php b/includes/polling/os/savin.inc.php index 7683044477..55672dc9ad 100644 --- a/includes/polling/os/savin.inc.php +++ b/includes/polling/os/savin.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/includes/polling/os/sinetica.inc.php b/includes/polling/os/sinetica.inc.php index 0ef9246fc2..33fd587b19 100644 --- a/includes/polling/os/sinetica.inc.php +++ b/includes/polling/os/sinetica.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/smartos.inc.php b/includes/polling/os/smartos.inc.php index ead4fd26fc..9ba3a9a24a 100644 --- a/includes/polling/os/smartos.inc.php +++ b/includes/polling/os/smartos.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/tgos.inc.php b/includes/polling/os/tgos.inc.php index 07155039ad..15afd470b7 100644 --- a/includes/polling/os/tgos.inc.php +++ b/includes/polling/os/tgos.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Thomas GAGNIERE * @author Thomas GAGNIERE */ diff --git a/includes/polling/os/tomato.inc.php b/includes/polling/os/tomato.inc.php index de20fd836f..03f007fc11 100644 --- a/includes/polling/os/tomato.inc.php +++ b/includes/polling/os/tomato.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/tpdin.inc.php b/includes/polling/os/tpdin.inc.php index c2139fa2e6..a3a88db93c 100644 --- a/includes/polling/os/tpdin.inc.php +++ b/includes/polling/os/tpdin.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/websensor.inc.php b/includes/polling/os/websensor.inc.php index 3bc2c72d56..5f0f7863a8 100644 --- a/includes/polling/os/websensor.inc.php +++ b/includes/polling/os/websensor.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/os/zebra.inc.php b/includes/polling/os/zebra.inc.php index 660d90d23a..7c60ef563a 100644 --- a/includes/polling/os/zebra.inc.php +++ b/includes/polling/os/zebra.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/includes/polling/ports/cisco-if-extension.inc.php b/includes/polling/ports/cisco-if-extension.inc.php index 22d0aee0a6..3da6dbbb50 100644 --- a/includes/polling/ports/cisco-if-extension.inc.php +++ b/includes/polling/ports/cisco-if-extension.inc.php @@ -7,6 +7,7 @@ * the source code distribution for details. * * @link https://www.librenms.org + * * @copyright 2019 LibreNMS * @author Pavle Obradovic */ diff --git a/includes/polling/ports/f5.inc.php b/includes/polling/ports/f5.inc.php index b9b9e61fc9..6781cde11a 100644 --- a/includes/polling/ports/f5.inc.php +++ b/includes/polling/ports/f5.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/ports/os/airos-af-ltu.inc.php b/includes/polling/ports/os/airos-af-ltu.inc.php index e2204f06b6..9a1b400284 100644 --- a/includes/polling/ports/os/airos-af-ltu.inc.php +++ b/includes/polling/ports/os/airos-af-ltu.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Denny Friebe * @author Denny Friebe */ diff --git a/includes/polling/ports/os/ciena-sds.inc.php b/includes/polling/ports/os/ciena-sds.inc.php index 1645c0a9e7..ea13507641 100644 --- a/includes/polling/ports/os/ciena-sds.inc.php +++ b/includes/polling/ports/os/ciena-sds.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Dan Baker, Lancaster-Lebanon IU13 */ diff --git a/includes/polling/ports/os/cmm.inc.php b/includes/polling/ports/os/cmm.inc.php index 8e9fd81387..33b4e470ff 100644 --- a/includes/polling/ports/os/cmm.inc.php +++ b/includes/polling/ports/os/cmm.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Paul Heinrichs * @author Paul Heinrichs */ diff --git a/includes/polling/ports/os/cxr-ts.inc.php b/includes/polling/ports/os/cxr-ts.inc.php index 88ecad3db5..882f13c733 100644 --- a/includes/polling/ports/os/cxr-ts.inc.php +++ b/includes/polling/ports/os/cxr-ts.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright PipoCanaja 2018 * @author PipoCanaja */ diff --git a/includes/polling/ports/os/ekinops.inc.php b/includes/polling/ports/os/ekinops.inc.php index 6e3db13212..088cdaab00 100644 --- a/includes/polling/ports/os/ekinops.inc.php +++ b/includes/polling/ports/os/ekinops.inc.php @@ -32,6 +32,7 @@ * Flow Creation object, and LAG Creation object. * * @link https://www.librenms.org + * * @copyright 2020 KanREN, Inc * @author Heath Barnhart */ diff --git a/includes/polling/ports/os/infinera-groove.inc.php b/includes/polling/ports/os/infinera-groove.inc.php index e53f74ffba..09be4a4291 100644 --- a/includes/polling/ports/os/infinera-groove.inc.php +++ b/includes/polling/ports/os/infinera-groove.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Nick Hilliard * @author Nick Hilliard */ diff --git a/includes/polling/ports/os/junos.inc.php b/includes/polling/ports/os/junos.inc.php index 01943f28b1..e582e7b652 100644 --- a/includes/polling/ports/os/junos.inc.php +++ b/includes/polling/ports/os/junos.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Ruslan Magomedov * @author Ruslan Magomedov */ diff --git a/includes/polling/ports/os/nokia-isam.inc.php b/includes/polling/ports/os/nokia-isam.inc.php index 64b331ad8e..2843e61255 100644 --- a/includes/polling/ports/os/nokia-isam.inc.php +++ b/includes/polling/ports/os/nokia-isam.inc.php @@ -16,6 +16,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Vitali Kari * @author Vitali Kari */ diff --git a/includes/polling/ports/os/procera.inc.php b/includes/polling/ports/os/procera.inc.php index 8965d3f80f..16289ff5da 100644 --- a/includes/polling/ports/os/procera.inc.php +++ b/includes/polling/ports/os/procera.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Paul Heinrichs * @author Paul Heinrichs */ diff --git a/includes/polling/ports/os/smartax.inc.php b/includes/polling/ports/os/smartax.inc.php index eb7be8751c..3b0ce05895 100644 --- a/includes/polling/ports/os/smartax.inc.php +++ b/includes/polling/ports/os/smartax.inc.php @@ -16,6 +16,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Roman Tutkevich * @author Roman Tutkevich */ diff --git a/includes/polling/ports/os/timos.inc.php b/includes/polling/ports/os/timos.inc.php index 7927e78f3d..e8ab604b47 100644 --- a/includes/polling/ports/os/timos.inc.php +++ b/includes/polling/ports/os/timos.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Vitali Kari * @author Vitali Kari */ diff --git a/includes/polling/sensors/pre-cache/aos-emu2.inc.php b/includes/polling/sensors/pre-cache/aos-emu2.inc.php index b7da550dc7..65f7a66fde 100644 --- a/includes/polling/sensors/pre-cache/aos-emu2.inc.php +++ b/includes/polling/sensors/pre-cache/aos-emu2.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/sensors/pre-cache/geist-watchdog.inc.php b/includes/polling/sensors/pre-cache/geist-watchdog.inc.php index e7c7dd0590..76183eaea7 100644 --- a/includes/polling/sensors/pre-cache/geist-watchdog.inc.php +++ b/includes/polling/sensors/pre-cache/geist-watchdog.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/sensors/state/fortigate.inc.php b/includes/polling/sensors/state/fortigate.inc.php index db1d58f7b1..8fff910c91 100644 --- a/includes/polling/sensors/state/fortigate.inc.php +++ b/includes/polling/sensors/state/fortigate.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Net Entertainment AB * @author Patrik Jonsson */ diff --git a/includes/polling/sensors/temperature/aos-emu2.inc.php b/includes/polling/sensors/temperature/aos-emu2.inc.php index 019a33a79b..173d90701f 100644 --- a/includes/polling/sensors/temperature/aos-emu2.inc.php +++ b/includes/polling/sensors/temperature/aos-emu2.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/sensors/temperature/geist-watchdog.inc.php b/includes/polling/sensors/temperature/geist-watchdog.inc.php index 9fb4b7d107..c02c3a2a8d 100644 --- a/includes/polling/sensors/temperature/geist-watchdog.inc.php +++ b/includes/polling/sensors/temperature/geist-watchdog.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/includes/polling/sensors/temperature/quantastor.inc.php b/includes/polling/sensors/temperature/quantastor.inc.php index 2d5a21a511..754a5bf903 100644 --- a/includes/polling/sensors/temperature/quantastor.inc.php +++ b/includes/polling/sensors/temperature/quantastor.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Cercel Valentin * @author Cercel Valentin */ diff --git a/includes/polling/wireless.inc.php b/includes/polling/wireless.inc.php index 3b47c3b220..4862462c26 100644 --- a/includes/polling/wireless.inc.php +++ b/includes/polling/wireless.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/includes/snmp.inc.php b/includes/snmp.inc.php index a8675cf4af..20bc761387 100644 --- a/includes/snmp.inc.php +++ b/includes/snmp.inc.php @@ -733,6 +733,7 @@ function snmpwalk_cache_threepart_oid($device, $oid, $array, $mib = 0) /** * generate snmp auth arguments + * * @param array $device * @param array $cmd * @return array @@ -821,7 +822,9 @@ function snmp_translate($oid, $mib = 'ALL', $mibdir = null, $options = null, $de * @param $device * @param $OID * @param int $indexes + * * @internal param $string + * * @return bool|array */ function snmpwalk_array_num($device, $oid, $indexes = 1) diff --git a/includes/sql-schema/update.php b/includes/sql-schema/update.php index 4c8fa3ca05..796d3175a2 100644 --- a/includes/sql-schema/update.php +++ b/includes/sql-schema/update.php @@ -20,6 +20,7 @@ * Copyright (C) 2006-2012, Observium Developers - http://www.observium.org * * @link https://www.librenms.org + * * @copyright 2017-2018 Tony Murray * @author Tony Murray */ diff --git a/scripts/composer_wrapper.php b/scripts/composer_wrapper.php index 0e0cdb625d..3651dc5124 100755 --- a/scripts/composer_wrapper.php +++ b/scripts/composer_wrapper.php @@ -19,6 +19,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/scripts/gen_smokeping.php b/scripts/gen_smokeping.php index fbb32f2147..522521718b 100755 --- a/scripts/gen_smokeping.php +++ b/scripts/gen_smokeping.php @@ -19,6 +19,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Adam Bishop * @author Adam Bishop */ diff --git a/scripts/rename-mibs.php b/scripts/rename-mibs.php index 2dc9caabfe..e7ba024a23 100755 --- a/scripts/rename-mibs.php +++ b/scripts/rename-mibs.php @@ -19,6 +19,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/scripts/rrdstep.php b/scripts/rrdstep.php index fe8ed14f80..fa4551cc26 100755 --- a/scripts/rrdstep.php +++ b/scripts/rrdstep.php @@ -19,6 +19,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/tests/AddHostCliTest.php b/tests/AddHostCliTest.php index 7e7a81ea7d..a9ea934203 100644 --- a/tests/AddHostCliTest.php +++ b/tests/AddHostCliTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Lars Elgtvedt Susaas * @author Lars Elgtvedt Susaas */ diff --git a/tests/AddHostTest.php b/tests/AddHostTest.php index 39ab60d2a4..a8baeb8258 100644 --- a/tests/AddHostTest.php +++ b/tests/AddHostTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Lars Elgtvedt Susaas * @author Lars Elgtvedt Susaas */ diff --git a/tests/AlertingTest.php b/tests/AlertingTest.php index 5e8c56e7a0..e2b1cc8188 100644 --- a/tests/AlertingTest.php +++ b/tests/AlertingTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ diff --git a/tests/AuthHTTPTest.php b/tests/AuthHTTPTest.php index 0f0a2e75c0..574fa701c6 100644 --- a/tests/AuthHTTPTest.php +++ b/tests/AuthHTTPTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://librenms.org + * * @copyright 2017 Adam Bishop * @author Adam Bishop */ diff --git a/tests/AuthSSOTest.php b/tests/AuthSSOTest.php index 6d78a9941e..23ffeafc6d 100644 --- a/tests/AuthSSOTest.php +++ b/tests/AuthSSOTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://librenms.org + * * @copyright 2017 Adam Bishop * @author Adam Bishop */ diff --git a/tests/BasicApiTest.php b/tests/BasicApiTest.php index 16790296c8..28def60b7e 100644 --- a/tests/BasicApiTest.php +++ b/tests/BasicApiTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/tests/Browser/LoginTest.php b/tests/Browser/LoginTest.php index 59ad77e1f2..6658279c83 100644 --- a/tests/Browser/LoginTest.php +++ b/tests/Browser/LoginTest.php @@ -13,6 +13,7 @@ use LibreNMS\Tests\DuskTestCase; /** * Class LoginTest + * * @group browser */ class LoginTest extends DuskTestCase diff --git a/tests/Browser/Pages/PreferencesPage.php b/tests/Browser/Pages/PreferencesPage.php index 274a7777be..e96d1a3c83 100644 --- a/tests/Browser/Pages/PreferencesPage.php +++ b/tests/Browser/Pages/PreferencesPage.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/tests/Browser/Pages/TwoFactorPage.php b/tests/Browser/Pages/TwoFactorPage.php index a51ca798a0..86549a0206 100644 --- a/tests/Browser/Pages/TwoFactorPage.php +++ b/tests/Browser/Pages/TwoFactorPage.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/tests/CommonFunctionsTest.php b/tests/CommonFunctionsTest.php index bc5828c5da..88b4564003 100644 --- a/tests/CommonFunctionsTest.php +++ b/tests/CommonFunctionsTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/tests/ConfigTest.php b/tests/ConfigTest.php index fe3a717f85..fbf12e7309 100644 --- a/tests/ConfigTest.php +++ b/tests/ConfigTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ @@ -188,6 +189,7 @@ class ConfigTest extends TestCase /** * Pass an anonymous function which will be passed the config variable to modify before it is set + * * @param callable $function */ private function setConfig($function) diff --git a/tests/DBSetupTest.php b/tests/DBSetupTest.php index e90418f65b..dd40e4901a 100644 --- a/tests/DBSetupTest.php +++ b/tests/DBSetupTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ diff --git a/tests/DBTestCase.php b/tests/DBTestCase.php index 97d3ad2a0f..de6d02b525 100644 --- a/tests/DBTestCase.php +++ b/tests/DBTestCase.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/tests/DocsTest.php b/tests/DocsTest.php index c4ea6e280b..ae3b283d12 100644 --- a/tests/DocsTest.php +++ b/tests/DocsTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Neil Lathwood * @author Neil Lathwood */ diff --git a/tests/DuskTestCase.php b/tests/DuskTestCase.php index 3b4892928e..5656d3642a 100644 --- a/tests/DuskTestCase.php +++ b/tests/DuskTestCase.php @@ -15,6 +15,7 @@ abstract class DuskTestCase extends BaseTestCase * Prepare for Dusk test execution. * * @beforeClass + * * @return void */ public static function prepare() diff --git a/tests/Feature/SnmpTraps/AdvaAccThresholdCrossingAlertTest.php b/tests/Feature/SnmpTraps/AdvaAccThresholdCrossingAlertTest.php index 7f24e5ee0f..f19c64da4f 100644 --- a/tests/Feature/SnmpTraps/AdvaAccThresholdCrossingAlertTest.php +++ b/tests/Feature/SnmpTraps/AdvaAccThresholdCrossingAlertTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Heath Barnhart * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/AdvaAttributeChangeTest.php b/tests/Feature/SnmpTraps/AdvaAttributeChangeTest.php index 22668b909b..c635773784 100644 --- a/tests/Feature/SnmpTraps/AdvaAttributeChangeTest.php +++ b/tests/Feature/SnmpTraps/AdvaAttributeChangeTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Heath Barnhart * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/AdvaDyingGaspTrapTest.php b/tests/Feature/SnmpTraps/AdvaDyingGaspTrapTest.php index baede4d6e9..041aad83cb 100644 --- a/tests/Feature/SnmpTraps/AdvaDyingGaspTrapTest.php +++ b/tests/Feature/SnmpTraps/AdvaDyingGaspTrapTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Heath Barnhart * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/AdvaNetThresholdCrossingAlertTest.php b/tests/Feature/SnmpTraps/AdvaNetThresholdCrossingAlertTest.php index e846f4bf07..d18ecd3e28 100644 --- a/tests/Feature/SnmpTraps/AdvaNetThresholdCrossingAlertTest.php +++ b/tests/Feature/SnmpTraps/AdvaNetThresholdCrossingAlertTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Heath Barnhart * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/AdvaNetworkElementAlmTrapTest.php b/tests/Feature/SnmpTraps/AdvaNetworkElementAlmTrapTest.php index 7e0e3088d8..100ccc3b2b 100644 --- a/tests/Feature/SnmpTraps/AdvaNetworkElementAlmTrapTest.php +++ b/tests/Feature/SnmpTraps/AdvaNetworkElementAlmTrapTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Heath Barnhart * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/AdvaObjectCreationTest.php b/tests/Feature/SnmpTraps/AdvaObjectCreationTest.php index 6e08c2e81f..6fdb1ee917 100644 --- a/tests/Feature/SnmpTraps/AdvaObjectCreationTest.php +++ b/tests/Feature/SnmpTraps/AdvaObjectCreationTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Heath Barnhart * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/AdvaObjectDeletionTest.php b/tests/Feature/SnmpTraps/AdvaObjectDeletionTest.php index 3e92a6b62c..6de410ba71 100644 --- a/tests/Feature/SnmpTraps/AdvaObjectDeletionTest.php +++ b/tests/Feature/SnmpTraps/AdvaObjectDeletionTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Heath Barnhart * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/AdvaStateChangeTrapTest.php b/tests/Feature/SnmpTraps/AdvaStateChangeTrapTest.php index 7d50620f10..35a9738b9a 100644 --- a/tests/Feature/SnmpTraps/AdvaStateChangeTrapTest.php +++ b/tests/Feature/SnmpTraps/AdvaStateChangeTrapTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Heath Barnhart * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/AdvaSysAlmTrapTest.php b/tests/Feature/SnmpTraps/AdvaSysAlmTrapTest.php index 74aec6822b..e7566d111a 100644 --- a/tests/Feature/SnmpTraps/AdvaSysAlmTrapTest.php +++ b/tests/Feature/SnmpTraps/AdvaSysAlmTrapTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Heath Barnhart * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/BgpTrapTest.php b/tests/Feature/SnmpTraps/BgpTrapTest.php index b850a8ebbd..f0bc142207 100644 --- a/tests/Feature/SnmpTraps/BgpTrapTest.php +++ b/tests/Feature/SnmpTraps/BgpTrapTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/tests/Feature/SnmpTraps/CommonTrapTest.php b/tests/Feature/SnmpTraps/CommonTrapTest.php index c6a19b6677..b1a66095f3 100644 --- a/tests/Feature/SnmpTraps/CommonTrapTest.php +++ b/tests/Feature/SnmpTraps/CommonTrapTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/tests/Feature/SnmpTraps/FgTrapVpnTunTest.php b/tests/Feature/SnmpTraps/FgTrapVpnTunTest.php index 101a6c4dcc..a455109370 100644 --- a/tests/Feature/SnmpTraps/FgTrapVpnTunTest.php +++ b/tests/Feature/SnmpTraps/FgTrapVpnTunTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/tests/Feature/SnmpTraps/JnxBgpM2Test.php b/tests/Feature/SnmpTraps/JnxBgpM2Test.php index d2caeeee2f..1ed78910c7 100644 --- a/tests/Feature/SnmpTraps/JnxBgpM2Test.php +++ b/tests/Feature/SnmpTraps/JnxBgpM2Test.php @@ -20,6 +20,7 @@ * jnxBgpM2BackwardTransition * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/JnxCmCfgChangeTest.php b/tests/Feature/SnmpTraps/JnxCmCfgChangeTest.php index a619904af0..9301495622 100644 --- a/tests/Feature/SnmpTraps/JnxCmCfgChangeTest.php +++ b/tests/Feature/SnmpTraps/JnxCmCfgChangeTest.php @@ -20,6 +20,7 @@ * Test Juniper configuration change trap jnxCmCfgChange * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/JnxDomAlarmTest.php b/tests/Feature/SnmpTraps/JnxDomAlarmTest.php index ddc3435535..cfa0355466 100644 --- a/tests/Feature/SnmpTraps/JnxDomAlarmTest.php +++ b/tests/Feature/SnmpTraps/JnxDomAlarmTest.php @@ -20,6 +20,7 @@ * Tests JnxDomAlertSet and JnxDomAlertCleared traps from Juniper devices. * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/JnxDomLaneAlarmTest.php b/tests/Feature/SnmpTraps/JnxDomLaneAlarmTest.php index cde96924a1..4fcf1ea13c 100644 --- a/tests/Feature/SnmpTraps/JnxDomLaneAlarmTest.php +++ b/tests/Feature/SnmpTraps/JnxDomLaneAlarmTest.php @@ -20,6 +20,7 @@ * Tests JnxDomAlertSet and JnxDomAlertCleared traps from Juniper devices. * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/JnxLdpLspTest.php b/tests/Feature/SnmpTraps/JnxLdpLspTest.php index 6b91402cf5..85c19ea7c9 100644 --- a/tests/Feature/SnmpTraps/JnxLdpLspTest.php +++ b/tests/Feature/SnmpTraps/JnxLdpLspTest.php @@ -20,6 +20,7 @@ * Tests JnxLdpLspDown and JnxLdpLspUp traps from Juniper devices. * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/JnxLdpSesTest.php b/tests/Feature/SnmpTraps/JnxLdpSesTest.php index 73cfde8c61..5f03a94695 100644 --- a/tests/Feature/SnmpTraps/JnxLdpSesTest.php +++ b/tests/Feature/SnmpTraps/JnxLdpSesTest.php @@ -20,6 +20,7 @@ * Tests JnxLdpSesDown and JnxLdpSesUp traps from Juniper devices. * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/JnxPowerSupplyTest.php b/tests/Feature/SnmpTraps/JnxPowerSupplyTest.php index fd4badf4e2..277cb9e754 100644 --- a/tests/Feature/SnmpTraps/JnxPowerSupplyTest.php +++ b/tests/Feature/SnmpTraps/JnxPowerSupplyTest.php @@ -20,6 +20,7 @@ * Tests JnxDomAlertSet and JnxDomAlertCleared traps from Juniper devices. * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/JnxVpnIfTest.php b/tests/Feature/SnmpTraps/JnxVpnIfTest.php index 7f486dd1e3..3bdac3998d 100644 --- a/tests/Feature/SnmpTraps/JnxVpnIfTest.php +++ b/tests/Feature/SnmpTraps/JnxVpnIfTest.php @@ -21,6 +21,7 @@ * Tests JnxVpnIfDown and JnxVpnIfUp traps from Juniper devices. * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/JnxVpnPwTest.php b/tests/Feature/SnmpTraps/JnxVpnPwTest.php index 801cc8e695..f2375bebb2 100644 --- a/tests/Feature/SnmpTraps/JnxVpnPwTest.php +++ b/tests/Feature/SnmpTraps/JnxVpnPwTest.php @@ -21,6 +21,7 @@ * Tests JnxVpnPwDown and JnxVpnPwUp traps from Juniper devices. * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/MgmtTrapNmsAlarmTest.php b/tests/Feature/SnmpTraps/MgmtTrapNmsAlarmTest.php index d8b273bda4..f886db9c93 100644 --- a/tests/Feature/SnmpTraps/MgmtTrapNmsAlarmTest.php +++ b/tests/Feature/SnmpTraps/MgmtTrapNmsAlarmTest.php @@ -23,6 +23,7 @@ * Tests JnxVpnPwDown and JnxVpnPwUp traps from Juniper devices. * * @link https://www.librenms.org + * * @copyright 2020 KanREN, Inc * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/MgmtTrapNmsEventTest.php b/tests/Feature/SnmpTraps/MgmtTrapNmsEventTest.php index 80cd3d85ce..0741f6a512 100644 --- a/tests/Feature/SnmpTraps/MgmtTrapNmsEventTest.php +++ b/tests/Feature/SnmpTraps/MgmtTrapNmsEventTest.php @@ -23,6 +23,7 @@ * Tests JnxVpnPwDown and JnxVpnPwUp traps from Juniper devices. * * @link https://www.librenms.org + * * @copyright 2020 KanREN, Inc * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/OspfIfStateChangeTest.php b/tests/Feature/SnmpTraps/OspfIfStateChangeTest.php index 5816d9f19a..93da8f834e 100644 --- a/tests/Feature/SnmpTraps/OspfIfStateChangeTest.php +++ b/tests/Feature/SnmpTraps/OspfIfStateChangeTest.php @@ -22,6 +22,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 KanREN, Inc * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/OspfNbrStateChangeTest.php b/tests/Feature/SnmpTraps/OspfNbrStateChangeTest.php index 1a852cb674..5265c6fbf8 100644 --- a/tests/Feature/SnmpTraps/OspfNbrStateChangeTest.php +++ b/tests/Feature/SnmpTraps/OspfNbrStateChangeTest.php @@ -22,6 +22,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 KanREN, Inc * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/PortsTrapTest.php b/tests/Feature/SnmpTraps/PortsTrapTest.php index 859f357552..967ec0c21d 100644 --- a/tests/Feature/SnmpTraps/PortsTrapTest.php +++ b/tests/Feature/SnmpTraps/PortsTrapTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/tests/Feature/SnmpTraps/RuckusEventTest.php b/tests/Feature/SnmpTraps/RuckusEventTest.php index 2e89496bb8..d146d784f2 100644 --- a/tests/Feature/SnmpTraps/RuckusEventTest.php +++ b/tests/Feature/SnmpTraps/RuckusEventTest.php @@ -20,6 +20,7 @@ * Tests generic Ruckus Wireless event trap handlers. * * @link https://www.librenms.org + * * @copyright 2019 Heath Barnhart * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/RuckusSzClusterStateTest.php b/tests/Feature/SnmpTraps/RuckusSzClusterStateTest.php index 37f1c684fe..dcdeb9e5c8 100644 --- a/tests/Feature/SnmpTraps/RuckusSzClusterStateTest.php +++ b/tests/Feature/SnmpTraps/RuckusSzClusterStateTest.php @@ -20,6 +20,7 @@ * Tests Ruckus Wireless SmartZone cluster state trap handlers.. * * @link https://www.librenms.org + * * @copyright 2019 Heath Barnhart * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/RuckusSzEventTest.php b/tests/Feature/SnmpTraps/RuckusSzEventTest.php index 223db115d7..dec50d4581 100644 --- a/tests/Feature/SnmpTraps/RuckusSzEventTest.php +++ b/tests/Feature/SnmpTraps/RuckusSzEventTest.php @@ -20,6 +20,7 @@ * Tests Ruckus Wireless SmartZone Event trap handlers. * * @link https://www.librenms.org + * * @copyright 2019 Heath Barnhart * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/SnmpTrapTestCase.php b/tests/Feature/SnmpTraps/SnmpTrapTestCase.php index 1c9b09043c..e10dc6ee94 100644 --- a/tests/Feature/SnmpTraps/SnmpTrapTestCase.php +++ b/tests/Feature/SnmpTraps/SnmpTrapTestCase.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/tests/Feature/SnmpTraps/UpsTrapsOnBatteryTest.php b/tests/Feature/SnmpTraps/UpsTrapsOnBatteryTest.php index 77070b8283..0092cd21c4 100644 --- a/tests/Feature/SnmpTraps/UpsTrapsOnBatteryTest.php +++ b/tests/Feature/SnmpTraps/UpsTrapsOnBatteryTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @author TheGreatDoc */ diff --git a/tests/Feature/SnmpTraps/VmwHBTest.php b/tests/Feature/SnmpTraps/VmwHBTest.php index 9efb624e29..efe48a0605 100644 --- a/tests/Feature/SnmpTraps/VmwHBTest.php +++ b/tests/Feature/SnmpTraps/VmwHBTest.php @@ -20,6 +20,7 @@ * Tests vmwVmHBLost and vmwVmHBDetected traps from VMWare ESXi hosts. * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc * @author Heath Barnhart */ diff --git a/tests/Feature/SnmpTraps/VmwPowerStateTest.php b/tests/Feature/SnmpTraps/VmwPowerStateTest.php index 1ea185c91b..6a46d8606c 100644 --- a/tests/Feature/SnmpTraps/VmwPowerStateTest.php +++ b/tests/Feature/SnmpTraps/VmwPowerStateTest.php @@ -20,6 +20,7 @@ * Tests vmwVmPoweredOff, vmwVmPoweredOn, and vmwVmSuspended traps from VMWare ESXi hosts. * * @link https://www.librenms.org + * * @copyright 2019 KanREN, Inc * @author Heath Barnhart */ diff --git a/tests/FpingTest.php b/tests/FpingTest.php index 840a563df9..aaaa1ae14d 100644 --- a/tests/FpingTest.php +++ b/tests/FpingTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/tests/FunctionsTest.php b/tests/FunctionsTest.php index d1031e094e..2795ae19ca 100644 --- a/tests/FunctionsTest.php +++ b/tests/FunctionsTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/tests/GitIgnoreTest.php b/tests/GitIgnoreTest.php index 61e5b25fb3..cbd5a9bf88 100644 --- a/tests/GitIgnoreTest.php +++ b/tests/GitIgnoreTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/tests/IpTest.php b/tests/IpTest.php index 2f8215b814..2950a5922b 100644 --- a/tests/IpTest.php +++ b/tests/IpTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/tests/MibTest.php b/tests/MibTest.php index 7be421d1dc..60f144d6cd 100644 --- a/tests/MibTest.php +++ b/tests/MibTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ @@ -41,6 +42,7 @@ class MibTest extends TestCase * * @group mibs * @dataProvider mibDirs + * * @param string $dir */ public function testMibDirectory($dir) @@ -56,6 +58,7 @@ class MibTest extends TestCase * * @group mibs * @dataProvider mibFiles + * * @param string $path * @param string $file * @param string $mib_name @@ -86,6 +89,7 @@ class MibTest extends TestCase * * @group mibs * @dataProvider mibFiles + * * @param string $path * @param string $file * @param string $mib_name @@ -104,6 +108,7 @@ class MibTest extends TestCase * * @group mibs * @dataProvider mibFiles + * * @param string $path * @param string $file * @param string $mib_name @@ -123,6 +128,7 @@ class MibTest extends TestCase /** * Get a list of all mib files with the name of the mib. * Called for each test that uses it before class setup. + * * @return array path, filename, mib_name */ public function mibFiles() @@ -146,6 +152,7 @@ class MibTest extends TestCase /** * List all directories inside the mib directory + * * @return array */ public function mibDirs() @@ -167,6 +174,7 @@ class MibTest extends TestCase * * @param string $file * @return mixed + * * @throws Exception */ private function extractMibName($file) diff --git a/tests/OSDiscoveryTest.php b/tests/OSDiscoveryTest.php index 3e2444b7f9..095150eb0d 100644 --- a/tests/OSDiscoveryTest.php +++ b/tests/OSDiscoveryTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ @@ -58,6 +59,7 @@ class OSDiscoveryTest extends TestCase * * @group os * @dataProvider osProvider + * * @param string $os_name */ public function testOSDetection($os_name) diff --git a/tests/OSModulesTest.php b/tests/OSModulesTest.php index 7fca2125b4..797c8c1bb2 100644 --- a/tests/OSModulesTest.php +++ b/tests/OSModulesTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ @@ -79,6 +80,7 @@ class OSModulesTest extends DBTestCase * * @group os * @dataProvider dumpedDataProvider + * * @param string $os base os * @param string $variant optional variant * @param array $modules modules to test for this os diff --git a/tests/QueryBuilderTest.php b/tests/QueryBuilderTest.php index 59613ab376..d265cf1e71 100644 --- a/tests/QueryBuilderTest.php +++ b/tests/QueryBuilderTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ @@ -42,6 +43,7 @@ class QueryBuilderTest extends TestCase /** * @dataProvider loadQueryData + * * @param string $legacy * @param array $builder * @param string $display diff --git a/tests/RrdDefinitionTest.php b/tests/RrdDefinitionTest.php index 47529d414e..1c8764411f 100644 --- a/tests/RrdDefinitionTest.php +++ b/tests/RrdDefinitionTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ diff --git a/tests/RrdtoolTest.php b/tests/RrdtoolTest.php index 7ae66a43cf..0c4a7add42 100644 --- a/tests/RrdtoolTest.php +++ b/tests/RrdtoolTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/tests/SVGTest.php b/tests/SVGTest.php index 56f5b9670d..03bd1d3274 100644 --- a/tests/SVGTest.php +++ b/tests/SVGTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2017 Tony Murray * @author Tony Murray */ @@ -32,6 +33,7 @@ use RegexIterator; /** * Class SVGTest + * * @group os */ class SVGTest extends TestCase diff --git a/tests/SchemaTest.php b/tests/SchemaTest.php index 6b719ee8c2..f3db8d635f 100644 --- a/tests/SchemaTest.php +++ b/tests/SchemaTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/tests/SmokepingCliTest.php b/tests/SmokepingCliTest.php index 8bead1c15e..6a1fabca33 100644 --- a/tests/SmokepingCliTest.php +++ b/tests/SmokepingCliTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://librenms.org + * * @copyright 2020 Adam Bishop * @author Adam Bishop */ diff --git a/tests/SnmpsimHelpers.php b/tests/SnmpsimHelpers.php index 04ee0b257c..8dff9328b3 100644 --- a/tests/SnmpsimHelpers.php +++ b/tests/SnmpsimHelpers.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/tests/SyslogTest.php b/tests/SyslogTest.php index 2f7bc896c6..e29fe0505a 100644 --- a/tests/SyslogTest.php +++ b/tests/SyslogTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/tests/Unit/CiHelperTest.php b/tests/Unit/CiHelperTest.php index 54a821a40b..ac8e255429 100644 --- a/tests/Unit/CiHelperTest.php +++ b/tests/Unit/CiHelperTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/tests/Unit/ComponentTest.php b/tests/Unit/ComponentTest.php index 8bdf72eae5..9ef6a0300a 100644 --- a/tests/Unit/ComponentTest.php +++ b/tests/Unit/ComponentTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/tests/Unit/Data/DatastoreTest.php b/tests/Unit/Data/DatastoreTest.php index b5a59ec3c4..b724284a2e 100644 --- a/tests/Unit/Data/DatastoreTest.php +++ b/tests/Unit/Data/DatastoreTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/tests/Unit/Data/GraphiteStoreTest.php b/tests/Unit/Data/GraphiteStoreTest.php index 2e65cb1180..041a98d06a 100644 --- a/tests/Unit/Data/GraphiteStoreTest.php +++ b/tests/Unit/Data/GraphiteStoreTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/tests/Unit/Data/InfluxDBStoreTest.php b/tests/Unit/Data/InfluxDBStoreTest.php index d157f8877b..9ece650b14 100644 --- a/tests/Unit/Data/InfluxDBStoreTest.php +++ b/tests/Unit/Data/InfluxDBStoreTest.php @@ -17,6 +17,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/tests/Unit/Data/OpenTSDBStoreTest.php b/tests/Unit/Data/OpenTSDBStoreTest.php index 865322c2b2..18cacdbd62 100644 --- a/tests/Unit/Data/OpenTSDBStoreTest.php +++ b/tests/Unit/Data/OpenTSDBStoreTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/tests/Unit/Data/PrometheusStoreTest.php b/tests/Unit/Data/PrometheusStoreTest.php index 860a1b229d..5a089dda48 100644 --- a/tests/Unit/Data/PrometheusStoreTest.php +++ b/tests/Unit/Data/PrometheusStoreTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/tests/Unit/DeviceTest.php b/tests/Unit/DeviceTest.php index beb54dad06..bedeb1951d 100644 --- a/tests/Unit/DeviceTest.php +++ b/tests/Unit/DeviceTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/tests/Unit/FileCategorizerTest.php b/tests/Unit/FileCategorizerTest.php index b1ea7f19b0..b8319cd89f 100644 --- a/tests/Unit/FileCategorizerTest.php +++ b/tests/Unit/FileCategorizerTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/tests/Unit/PermissionsTest.php b/tests/Unit/PermissionsTest.php index f144f4edff..3d2c95975b 100644 --- a/tests/Unit/PermissionsTest.php +++ b/tests/Unit/PermissionsTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2019 Tony Murray * @author Tony Murray */ diff --git a/tests/Unit/SqliteTest.php b/tests/Unit/SqliteTest.php index 386a43a82f..f73755611b 100644 --- a/tests/Unit/SqliteTest.php +++ b/tests/Unit/SqliteTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2020 Tony Murray * @author Tony Murray */ diff --git a/tests/Unit/Util/EnvTest.php b/tests/Unit/Util/EnvTest.php index e9c264253b..48a4dcd5af 100644 --- a/tests/Unit/Util/EnvTest.php +++ b/tests/Unit/Util/EnvTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2018 Tony Murray * @author Tony Murray */ diff --git a/tests/YamlSchemaTest.php b/tests/YamlSchemaTest.php index ab93700a10..6ff74a6a6c 100644 --- a/tests/YamlSchemaTest.php +++ b/tests/YamlSchemaTest.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ diff --git a/tests/bootstrap.php b/tests/bootstrap.php index f6692bdb33..201baa8039 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ diff --git a/tests/mocks/mock.snmp.inc.php b/tests/mocks/mock.snmp.inc.php index 6d34b7ffae..6f995ced74 100644 --- a/tests/mocks/mock.snmp.inc.php +++ b/tests/mocks/mock.snmp.inc.php @@ -18,6 +18,7 @@ * along with this program. If not, see . * * @link https://www.librenms.org + * * @copyright 2016 Tony Murray * @author Tony Murray */ @@ -72,6 +73,7 @@ function cache_snmprec($file) * * @param string $community snmp community to return * @return array array of the data containing: [$oid][$type, $data] + * * @throws Exception this $community is not cached */ function snmprec_get($community) @@ -93,6 +95,7 @@ function snmprec_get($community) * @param string $community the community to fetch data from * @param string $oid numeric oid of data to fetch * @return array array of the data containing: [$type, $data] + * * @throws Exception this $oid is not cached */ function snmprec_get_oid($community, $oid) @@ -115,6 +118,7 @@ function snmprec_get_oid($community, $oid) * @param string $mib mib to use * @param string $mibdir mib dir to look for mib in * @return string the oid in numeric format (.1.3.4.5) + * * @throws Exception Could not translate the oid */ function snmp_translate_number($oid, $mib = null, $mibdir = null)