Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Filter /snap Partition on check_drivesize #160

Unanswered
Droning1355 asked this question in Q&A
Discussion options

Hello everybody,

i need a little bit help for filtering out the snap partitions on Linux systems.
i have tried to filter the partition with name filters.

i use the nrp command:
$USER1$/check_nrpe -H $HOSTADDRESS$ -p xxxx -A /etc/ssl/snclient/cacert.pem -C /etc/ssl/snclient/server.pem -K /etc/ssl/snclient/server.key -c $ARG1$

and the check_drivesize:
image

the parameter -a mouted was my last try. before this my filter was like this:
-a "filter= name not in /snap"
I have tried some more but sadly i forget to document them.

thanks for the replies

You must be logged in to vote

Replies: 1 comment

Comment options

i assume those mounts start with /snap, so i guess you need something like:
"filter= name unlike ^/snap/"

If that doesn't help, how do the names look like?

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /