filesystem names monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
informatica
Posts: 99
Joined: Thu Jan 28, 2021 9:55 pm

filesystem names monitoring

Post by informatica »

Hi Team,

Do we have any option to monitor file system names of the linux servers for the mount point.

we want to monitor the /dev/mapper/centos-root filesystem.

[toolsadmin@qy-nagios-a libexec]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos-root 150G 34G 117G 23% /
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: filesystem names monitoring

Post by pbroste »

Hello

Thanks for reaching out, and it appears that you would like to monitor a /dev/ mount point.

Have you taken a look at the 'check_disk' plugin? Here is an example that I plugged in:

Code: Select all

./check_disk -w 10% -c 5% -p /dev/mapper/cl-root -C -w 100000 -c 50000 -p /

DISK OK - free space: / 7774 MiB (56.72% inode=98%);| /=5931MiB;12335;13020;0;13706
Please let us know how that works for you,
Perry
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: filesystem names monitoring

Post by dchurch »

Hi!

Can you clarify? I'm not sure what you mean by "file system names".

Do you mean asking for file system status by passing the file system's LABEL? (ls -l /dev/disk/by-label)
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Locked