This support forum board is for support questions relating to
Nagios XI, our flagship commercial network monitoring solution.
-
fsodah
- Posts: 295
- Joined: Thu Sep 12, 2019 1:19 am
Post
by fsodah »
what should be written in the nrpe.cfg ... in order to check nfs file system mapped through IP
>>M.Y.I.P:/gluster_vol01 62G 25G 35G 42% /var/www/ase/docroot/sites/default/files
Code: Select all
root@Admin-website-drupal8:/home# df -kh
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 799M 96M 704M 12% /run
/dev/mapper/Apache1--website--drupal8--vg-root 31G 12G 18G 40% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sdc 40G 23G 16G 60% /mnt/backups
/dev/sdb 148G 60G 81G 43% /mnt/nfs
/dev/sda1 472M 57M 391M 13% /boot
tmpfs 100K 0 100K 0% /run/lxcfs/controllers
M.Y.I.P:/gluster_vol01 62G 25G 35G 42% /var/www/ase/docroot/sites/default/files
tmpfs 799M 0 799M 0% /run/user/117
tmpfs 799M 0 799M 0% /run/user/0
root@Admin-website-drupal8:/home#
-
fsodah
- Posts: 295
- Joined: Thu Sep 12, 2019 1:19 am
Post
by fsodah »
Any input
-
cdienger
- Support Tech
- Posts: 5045
- Joined: Tue Feb 07, 2017 11:26 am
Post
by cdienger »
You can uncomment this line in nrpe.cfg:
Code: Select all
#command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
Or the default common.cfg contains this:
Code: Select all
command[check_disk]=/usr/local/nagios/libexec/check_disk $ARG1$
Where you would specify all the arguments to pass via check_nrpe in a single argument surrounded by quotes.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new
Privacy Policy.
-
fsodah
- Posts: 295
- Joined: Thu Sep 12, 2019 1:19 am
Post
by fsodah »
command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
When I place ARG3 with M.Y.I.P:/gluster_vol01 i get error
-
cdienger
- Support Tech
- Posts: 5045
- Joined: Tue Feb 07, 2017 11:26 am
Post
by cdienger »
Use the mount point "/var/www/ase/docroot/sites/default/files".
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new
Privacy Policy.
-
fsodah
- Posts: 295
- Joined: Thu Sep 12, 2019 1:19 am
Post
by fsodah »
works ... many thanks ... please close the ticket
You do not have the required permissions to view the files attached to this post.
-
cdienger
- Support Tech
- Posts: 5045
- Joined: Tue Feb 07, 2017 11:26 am
Post
by cdienger »
Will do!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new
Privacy Policy.