Ad Widget

Collapse

Ignoring selected drives on Filesystem detection

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jason
    Senior Member
    • Nov 2007
    • 430

    #1

    Ignoring selected drives on Filesystem detection

    I'm trying to add another filter to the drive detection to ignore certain drives.
    I'd like to do it by creating a macro on the host called {$IGNOREDRIVES} and then the value to something like D to ignore D: or DE to ignore drives D & E.

    I've tried adding this to the filter list, using a custom reg ex but it doesn't seem to work

    the reg expression is ^{$IGNOREDRIVES}$ and the result is set to false. i.e. if it's not found then it's ok.

    Are we allowed to use MACROS in this way? I'm on 2.4.5
  • jan.garaj
    Senior Member
    Zabbix Certified Specialist
    • Jan 2010
    • 506

    #2
    yes - https://www.zabbix.com/documentation...ed_by_location
    Last edited by jan.garaj; 16-03-2016, 01:26.
    Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
    My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / Vagrant

    Comment

    Working...