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

Enabled metric doesn't seem to do anything #167

Open
abctaylor opened this issue Feb 27, 2023 · 1 comment
Open

Enabled metric doesn't seem to do anything #167

abctaylor opened this issue Feb 27, 2023 · 1 comment

Comments

@abctaylor
Copy link

image
Whether your Pi-hole is disabled for a few seconds or permanently disabled, the metric pihole_status always returns 1. Is this expected? I can't imagine so.

Running on CentOS/RHEL 7.

image
image

@onovy
Copy link
Contributor

onovy commented Feb 27, 2023

tested on my instance and everything works fine:
Pi-hole enabled:

pihole_status{hostname="..."} 1

Pi-hole disabled:

pihole_status{hostname="..."} 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants