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

No WARNING or CRITICAL status for device and connection status #108

Open
Pentidumm opened this issue Jan 23, 2021 · 1 comment
Open

No WARNING or CRITICAL status for device and connection status #108

Pentidumm opened this issue Jan 23, 2021 · 1 comment
Labels
area/check/device enhancement New feature or request
Milestone

Comments

@Pentidumm
Copy link

Hi,
this is my first GitHub issue. Sorry if I did do something wrong.

The methods connection_uptime and device_uptime always return OK. Since I want to monitor the status, I need Warning and Critical also.

Example for connection_uptime:
$ ./check_fritz -p <password> -m connection_uptime -w 252000 -c 259200 OK - Connection Uptime: 252765 seconds (2d 22h 12m 45s) | 'uptime'=252765.000000s;;;;

Expected output:
CRITICAL - Connection Uptime: 252765 seconds (2d 22h 12m 45s) | 'uptime'=252765.000000s;252000.000000s;259200.000000s;;

Am I doing something wrong here or is this a check plugin bug?

@Pentidumm Pentidumm changed the title No WARNING or CRITICAL status No WARNING or CRITICAL status for device and connection status Jan 23, 2021
@mcktr mcktr added area/check/device enhancement New feature or request labels Jan 26, 2021
@mcktr
Copy link
Owner

mcktr commented Jan 26, 2021

Hi,

thanks for creating this issue, you did everything right! :-)

Indeed, for the uptime checks there is currently no warning and critical thresholds implemented. I plan to implement them in a future version, they are highly likely coming with an overhaul for the thresholds which will also implement ranges, see #101.

I'll keep this issue open for visibility.

Best regards
Michael.

@mcktr mcktr added this to the 1.3.0 milestone Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/check/device enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants