monit-general
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Check Device status
From
:
Tony Eyles
Subject
:
Check Device status
Date
:
Mon, 29 Jul 2019 05:58:16 +0000 (UTC)
Is there a way to check if a device is available?
For example checking if a USB Serial device shown in the system as /dev/ttyUSB0 is actively seen by the system?
I have tried
# check for USB serial adaptor as USB0
check filesystem USB_Serial0 path /dev/ttyUSB0
if changed fsflags then alert
and
# check for USB serial adaptor as USB0
check filesystem USB_Serial0 path /dev/ttyUSB0
if not exist then alert
Tony
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
Check Device status
,
Tony Eyles
<=
Re: Check Device status
,
Phil Townes
,
2019/07/29
Re: Check Device status
,
Tony Eyles
,
2019/07/29
Prev by Date:
link up/down spam
Next by Date:
Re: Check Device status
Previous by thread:
link up/down spam
Next by thread:
Re: Check Device status
Index(es):
Date
Thread