In 
the partitions which is present on disk either mounted by NFS or
In
 
Select all storages except the one(s) selected by
No action on storage type selection.
The final config for
 
In brief the combination of
#icinga2 #monitoring #snmp #snmp_storage #exlude #exclude_partition
  icinga2 monitoring tools, you may have used check disk space command check_snmp_storage. In its default behaviour it lists allthe partitions which is present on disk either mounted by NFS or
/run, etc.In
Incinga2 you would have a command called snmp-storage in /etc/icinga2/conf.d/commands. To exclude unnecessary partitions      from all disks you can pass -e (e stands for exclude) argument to the perl command. You can use -m to pass regex to say which      partitions you want to use.e, --exclude:Select all storages except the one(s) selected by
-mNo action on storage type selection.
The final config for
snmp-storage to exclude a list is like below:object CheckCommand "snmp-storage" {
         import "snmp-manubulon-command"
         command = [ ManubulonPluginDir + "/check_snmp_storage.pl" ]
         arguments += {
                 "-m" = "$snmp_storage_name$"
                 "-f" = {
                         set_if = "$snmp_perf$"
                 }
                 "-w" = 80
                 "-c" = 90
                 "-H" = "$address$"
                 "-m" = "^Cached|^Shared|^Swap|^/run|^Physical|^Memory|^Virtual|^/dev|^/sys"
                 "-e" = ""
         }
        vars.snmp_perf = true
 }In brief the combination of
-m & -e means: select all partitions except the ones listed in front of -m.#icinga2 #monitoring #snmp #snmp_storage #exlude #exclude_partition
How to ignore a specific partition in 
Sometimes a specific partition has been mounted on many servers. Now if you monitor disk partitions on
 
This command will use
 
 
To read more about this Perl plug-in head over to the below link:
- https://nagios.manubulon.com/snmp_storage.html
#monitoring #icinga2 #snmp #storage #snmp_storage
  Icinga2 monitoring server?Sometimes a specific partition has been mounted on many servers. Now if you monitor disk partitions on
Icinga2 and a warning         message appears on that specific partition you will get notifications as many as your servers.Icinga2 uses Snmp Storage Check in order to get disk partitions and their data. The command is located in /etc/icinga2/conf.d/    commands/snmp-storage.conf. (Its name maybe different in your case)This command will use
check_snmp_storage.pl nagios plugin, the overall structure of it is similar to:object CheckCommand "snmp-storage" {
         import "snmp-manubulon-command"
         command = [ ManubulonPluginDir + "/check_snmp_storage.pl" ]
         arguments += {
                 "-m" = "$snmp_storage_name$"
                 "-f" = {
                         set_if = "$snmp_perf$"
                 }
                 "-w" = 87
                 "-c" = 95
                 "-H" = "$address$"
                 "-m" = "^Cached|^Shared|^Swap|^/run|^Physical|^Memory|^Virtual|^/dev|^/sys|^/mnt/remote_folder"
                 "-e" = ""
         }
         vars.snmp_perf = true
 }-m parameter will ignore partitions. Here we have provided many partitions like /sys or /mnt/remote_folder. These partitions     will be ignored all over. Add your desired partitions to this section.To read more about this Perl plug-in head over to the below link:
- https://nagios.manubulon.com/snmp_storage.html
#monitoring #icinga2 #snmp #storage #snmp_storage
