// Filesystems ignore
// FIXME. Rename to 'ignore_storage'
$config['ignore_mount_removable'] = 1; // Ignore removable disk storage
$config['ignore_mount_network'] = 1; // Ignore network mounted storage
$config['ignore_mount_optical'] = 1; // Ignore mounted optical discs
$config['ignore_mount'][] = "/kern";
$config['ignore_mount'][] = "/mnt/cdrom";
$config['ignore_mount'][] = "/proc";
$config['ignore_mount'][] = "/dev";
$config['ignore_mount'][] = "/dev/shm";
$config['ignore_mount'][] = "/run";
$config['ignore_mount_string'][] = "packages";
$config['ignore_mount_string'][] = "devfs";
$config['ignore_mount_string'][] = "procfs";
$config['ignore_mount_string'][] = "UMA";
$config['ignore_mount_string'][] = "MALLOC";
$config['ignore_mount_regexp'][] = '/on: \/packages/';
$config['ignore_mount_regexp'][] = '/on: \/dev/';
$config['ignore_mount_regexp'][] = '/on: \/proc/';
$config['ignore_mount_regexp'][] = '/on: \/junos^/';
$config['ignore_mount_regexp'][] = '/on: \/junos\/dev/';
$config['ignore_mount_regexp'][] = '/on: \/jail\/dev/';
$config['ignore_mount_regexp'][] = '/^(dev|proc)fs/';
$config['ignore_mount_regexp'][] = '/^\/dev\/md0/';
$config['ignore_mount_regexp'][] = '/^\/var\/dhcpd\/dev,/';
$config['ignore_mount_regexp'][] = '/UMA/';
$config['ignore_mount_regexp'][] = '!/\.snapshot!'; // Netapp: dfFileSys.10:-->/vol/volssg2/.snapshot
$config['ignore_mount_regexp'][] = '/dfc#\d+\-bootflash/'; // Cisco DFC bootflash is used for the crash files, always free
$config['ignore_mount_regexp'][] = '/^DFC/';
$config['ignore_mount_regexp'][] = '/^\/run\//';
$config['ignore_mount_regexp'][] = '/^\/sys\//';
On 2018-06-19 11:15:35, Thomas Stather <thomas.stather@mpimf-heidelberg.mpg.de> wrote:
Hi
Thanks so far! :)
This did the trick for the NFS mounts, but the local filesystem (mounted)
/dev/mapper/vg_data-lv_samba_profiles on /var/lib/samba/profiles type btrfs (rw,relatime,space_cache,subvolid=5,subvol=/)
is still missing.
Do you have any clue (this is the most important filesystem for monitoring)?
Best,
Thomas
Am 30.05.2018 um 13:03 schrieb Markus Klock:
Mounted filesystems are ignored by default.You can change this by putting this row in your config.php:$config['ignore_mount_network'] = 0; // Ignore network mounted storage
/Markus
2018-05-30 12:12 GMT+02:00 Thomas Stather <thomas.stather@mpimf-heidelberg.mpg.de>:
Hi
I am using Observium (subscribtion edition 18.1.9011) and want to monitor the file-systems of my servers.
This works fine, but i have a VM which has additional filesystems (one local and some via NFS), and they don't show up
what shows up is:
/
/boot
/var/lib/docker/overlay
what doesn't show up (but exists) is:
/var/lib/samba/profiles
/mnt/nfs/dept1
/mnt/nfs/dept2
VM OS: Debian 8
Version of net-snmp: 5.7.2.1+dfsg-1+deb8u1+b1
I didn't do any changes to the snmpd.conf on the VM rather than SNMPv3 authentication settings.
Does somebody have any hint for me how to fix this?
Best,
Thomas
--
Thomas Stather
IT Services
VCP4, VCP6-DCV
Tel: +49 6221-486 628
Fax: +49 6221-486 561
------------------------------------------------------------ ------------
Max Planck Institute for Medical Research (MPImF)
Jahnstrasse 29, 69120 Heidelberg
Germany
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observiu m
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Thomas Stather IT Services VCP4, VCP6-DCV Tel: +49 6221-486 628 Fax: +49 6221-486 561 ------------------------------------------------------------------------ Max Planck Institute for Medical Research (MPImF) Jahnstrasse 29, 69120 Heidelberg Germany