Ad Widget

Collapse

How to handle dvd drivers and removable storage

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tristan
    Senior Member
    • Feb 2008
    • 110

    #1

    How to handle dvd drivers and removable storage

    Hello,

    i have about 300 hosts within my environment. Sometimes one of my co-works use the cdrom player. If he doesn't remove the cd, zabbix noticed this, and enables this item(example: drive E) The problem is that there is no free space on the cd, so i get a trigger.

    Is there a workaround for this? It is to much work to disable the Trigger for drive E within each host, because i have a lot off hosts witch actually have a drive E
  • toxot
    Junior Member
    • Jul 2009
    • 13

    #2
    Disable this trigger on hosts, where drive E exists.

    Comment

    • nelsonab
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2006
      • 1233

      #3
      Originally posted by toxot
      Disable this trigger on hosts, where drive E exists.
      You will notice that he said...

      Originally posted by Tristan
      It is to much work to disable the Trigger for drive E within each host, because i have a lot off hosts witch actually have a drive E
      One idea which comes to mind is to setup local script which returns which drive the CDROM as either A, B, C etc. Then rewrite your trigger to include something which checks weather or not that drive is the CDROM as given by that script. Each script would need to contain this.

      Another would be to use the API... :-D
      RHCE, author of zbxapi
      Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
      Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

      Comment

      • casshan
        Junior Member
        • Mar 2009
        • 13

        #4
        Here is the trigger I use:

        {Template_Windows:vfs.fs.size[d:,free].last(0)}<10000 & {Template_Windows:vfs.fs.size[d:,free].last(0)}#0

        Usually if you are running out of space, its not going to be exactly 0 or go from 10% free to 0 in a single check

        Comment

        • Tristan
          Senior Member
          • Feb 2008
          • 110

          #5
          Does sombody know if this is fixed in zabbix 2.0?

          Comment

          Working...