Stew LG
Cadet
- Joined
- Aug 9, 2013
- Messages
- 1
I am trying to set up NRPE to enable remote Nagios monitoring of a new FreeNAS 0.91 system. I mostly have this working - I can connect and inquire about basic information like number of processes, users, etc.
But I can't run "zpool list" to inquire about the health of the RAIDZ, which is key to properly monitoring the box.
When I run from the main root account, it works:
But when I run it from within the jail, it does not:
I have read many, many posts but all are starting off with a fairly involved level of FreeBSD/ZFS knowledge and I'm a bit lost, and it is not obvious what I'm supposed to do, or even which files would be involved. (Do I need to modify?)
System layout, to help with names if anyone has an example for me:
- A single ZFS volume at /mnt/BigMediaToo
- A single jail called NagiosJail. Its dataset is at /mnt/BigMediaToo/JailsDataset.
Thanks very much.
- Stew
But I can't run "zpool list" to inquire about the health of the RAIDZ, which is key to properly monitoring the box.
When I run from the main root account, it works:
Code:
[stewlg@bauer] /dev# zpool list NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT BigMediaToo 21.8T 1.11T 20.6T 5% 1.00x ONLINE /mnt
But when I run it from within the jail, it does not:
Code:
root@NagiosJail:/usr/local/libexec/nagios # zpool list no pools available
I have read many, many posts but all are starting off with a fairly involved level of FreeBSD/ZFS knowledge and I'm a bit lost, and it is not obvious what I'm supposed to do, or even which files would be involved. (Do I need to modify
Code:
/etc/devfs.rules
System layout, to help with names if anyone has an example for me:
- A single ZFS volume at /mnt/BigMediaToo
- A single jail called NagiosJail. Its dataset is at /mnt/BigMediaToo/JailsDataset.
Thanks very much.
- Stew