Skip to content

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

@Pentidumm

Description

@Pentidumm

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions