Skip to content
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

bug: broken on install mode hosts #3

Open
liske opened this issue Sep 21, 2022 · 0 comments
Open

bug: broken on install mode hosts #3

liske opened this issue Sep 21, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@liske
Copy link
Member

liske commented Sep 21, 2022

If the host is setup in install mode the plugin creates false positives:

# /usr/lib/check_mk_agent/plugins/lbu_status 
<<<lbu_status>>>
0 lbu /3.14.6-r0
0 Check /what files have been changed since last commit.
Traceback (most recent call last):
  File "/usr/lib/check_mk_agent/plugins/lbu_status", line 50, in <module>
    filepath = "/" + result.split(" ")[1]
IndexError: list index out of range

The plugin should check if the LBU_MEDIA variable is set in /etc/lbu/lbu.conf. If it is not set it should ignore the output of lbu status and do not provide any inventory services.

@liske liske added the bug Something isn't working label Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy