forked from librenms/librenms
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tell selinux to allow httpd to sendmail. #1
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Wrong repo :) |
Yep :)
|
murrant
pushed a commit
that referenced
this pull request
Aug 10, 2016
Adding support for Brocade VDX sensors
murrant
pushed a commit
that referenced
this pull request
Nov 14, 2016
…ms#4963) * fixes librenms#4946 first try, should be checked first only discovery first * add OS modules status indication * add debug output add os poller module support * fix some whitespaces * fix missing semicolon * fix some whitespaces * Modify the modules page It now shows unset for unset device settings. Also, `$os_module_status = $config['os'][$device['os']]['poller_modules'][$module];` doesn't work like you would expect. Fix that behavior. * Fix mangled tabs * optimize debug output add docs * text highlighting * Streamline docs #1 * Update docs * Spell out Global, OS, Device.
murrant
pushed a commit
that referenced
this pull request
Jul 6, 2017
The state of the sensors was a value (#1-4) not an actual state (nominal, faulty etc.) on UI. Tested device: Brocade 300 Switch (Brocade FabricOS v6.4.1)
murrant
pushed a commit
that referenced
this pull request
Aug 24, 2017
* Commit merge to branch for Cambium CPU fix (#1) * Remove division by 10 Removes unnecessary division by 10 from poller file; this is handled by processor_precision in the main include. * Correct processor_precision Adjusted processor precision divider from 100 to 10 (as sysCPUUsage.0 reports from 0-1000 as 0-100.0%) * Delete cambium-cpu.inc.php With the change to the discovery file (processor_precision set to the correct value of 10) this file is not required.
murrant
pushed a commit
that referenced
this pull request
Aug 28, 2017
This PR fixes the following error that showed up after upgrading to 1.31. ``` Array ( [0] => 1 [1] => Uncaught Error: Call to undefined function init_auth() in /srv/deployment/librenms/librenms-cache/revs/8c9da11850ecbf2a949b9317d1fce75301bfd13b/includes/init.php:152 Stack trace: #0 /srv/deployment/librenms/librenms-cache/revs/8c9da11850ecbf2a949b9317d1fce75301bfd13b/html/index.php(59): require() #1 {main} thrown [2] => /srv/deployment/librenms/librenms-cache/revs/8c9da11850ecbf2a949b9317d1fce75301bfd13b/includes/init.php [3] => 152 ) ``` it's most likeley related to the fact that we use a symlink, and $config['install_dir'] is the symlink, and $install_dir is the real folder.
murrant
pushed a commit
that referenced
this pull request
Jun 21, 2019
* Update cisco-sla.inc.php Fix SQL error during discovery of cisco-sla. This error points to /opt/librenms/includes/discovery/cisco-sla.inc.php(80). LOG ERROR: [2019-06-18 07:07:01] production.ERROR: SQLSTATE[HY093]: Invalid parameter number: mixed named and positional parameters (SQL: UPDATE slas set device_id=39,sla_nr=1,owner=,tag=xxx.xxx.xxx.xxx,rtt_type=echo,status=1,opstatus=0,deleted=0 WHERE sla_id = 5) (SQL: UPDATE slas set device_id=39,sla_nr=1,owner=,tag=xxx.xxx.xxx.xxx,rtt_type=echo,status=1,opstatus=0,deleted=0 WHERE sla_id = 5)#0 /opt/librenms/includes/discover y/cisco-sla.inc.php(80): dbUpdate(Array, ‘slas’, ’sla_id = :sla…’, Array) #1 /opt/librenms/includes/discovery/functions.inc.php(179): include(’/opt/librenms/i…’) #2 /opt/librenms/discovery.php(120): discover_device(Array, false) #3 {main} I suggest to change this lines of code in cisco-sla.inc.php to avoid this error: line 80: dbUpdate($data, ‘slas’, ’sla_id = :sla_id’, array(‘sla_id’ => $sla_id)); change to: dbUpdate($data, ‘slas’, ’sla_id = ?’, array($sla_id)); line 87: dbUpdate(array(‘deleted’ => 1), ‘slas’, ’sla_id = :sla_id’, array(‘sla_id’ => $existing_sla)); change to: dbUpdate(array(‘deleted’ => 1), ‘slas’, ’sla_id = ?’, array($existing_sla)); * Fix quotes * Missed one
murrant
pushed a commit
that referenced
this pull request
Mar 26, 2021
* Bugfix for no sockets on Unix Agents Fix Bug: Argument #1 ($stream) must be of type resource, bool given... * Update unix-agent.inc.php Fix Style
murrant
pushed a commit
that referenced
this pull request
Mar 26, 2021
array_sum(): Argument #1 ($array) must be of type array, null given
murrant
pushed a commit
that referenced
this pull request
Apr 8, 2023
Yet another of these :) ``` [2023-04-07T19:55:28.777810+02:00] production.ERROR: Error polling ports module for xxxxxxxxxx. TypeError: Unsupported operand types: string - int in /opt/librenms/includes/polling/ports.inc.php:785 Stack trace: #0 /opt/librenms/includes/polling/functions.inc.php(339): include() #1 /opt/librenms/poller.php(126): poll_device(Array, false) #2 {main} [2023-04-07T19:55:28.780705+02:00] production.ERROR: Unsupported operand types: string - int {"exception":"[object] (TypeError(code: 0): Unsupported operand types: string - int at /opt/librenms/includes/polling/ports.inc.php:785)"} ```
murrant
pushed a commit
that referenced
this pull request
Nov 2, 2023
* skip negative values on power/power_consumed * skip negative values on voltage for apc.inc.php adds comment in apc.yaml definition. * add test data
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.