Ad Widget

Collapse

Monitoring File/Program Version

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zack47
    Junior Member
    • Sep 2014
    • 6

    #1

    Monitoring File/Program Version

    Hello,
    I was looking to monitor a program or just the .exe for the version number. I cannot seem to find anything on this. Does anyone know if this is possible?


    Thank You,
    Zack
  • aib
    Senior Member
    • Jan 2014
    • 1615

    #2
    Short answer: yes, you can. Use Userparameter=

    Long answer - it all depends...
    Give some more details and we can discuss about it.

    For the starting point:
    - How do you check the version number of .exe files?
    Sincerely yours,
    Aleksey

    Comment

    • Zack47
      Junior Member
      • Sep 2014
      • 6

      #3
      we have a program that we use and every time we update it the version number changes. We want to be able to create an item/trigger to monitor to make sure the newest version is installed

      Comment

      • SouperGrover
        Junior Member
        • May 2013
        • 22

        #4
        sigcheck (part of SysInternals) will give you the version number

        Code:
        sigcheck.exe -n YourFile.exe

        Comment

        • aib
          Senior Member
          • Jan 2014
          • 1615

          #5
          by creating UserParameter= for Zabbix Agent, you can provide the version number to Zabbix Server.
          Code:
          Userparameter=yourfile_ver,sigcheck.exe -n YourFile.exe
          And then you can create a Trigger to control, that version was changed.
          Code:
          Trigger Expression: {Hostname:yourfile_ver.diff(0)}>0
          Sincerely yours,
          Aleksey

          Comment

          • SouperGrover
            Junior Member
            • May 2013
            • 22

            #6
            Originally posted by aib
            by creating UserParameter= for Zabbix Agent, you can provide the version number to Zabbix Server.
            Code:
            Userparameter=yourfile_ver,sigcheck.exe -n YourFile.exe
            And then you can create a Trigger to control, that version was changed.
            Code:
            Trigger Expression: {Hostname:yourfile_ver.diff(0)}>0
            I haven't used UserParameters very much. I am assuming that yourfile_ver is actually the version number he wants to check against? If that is the case, when the version changes on the file, and now that is the new accepted version, does that mean he has to update this value in all the Agent config files?

            Comment

            • aib
              Senior Member
              • Jan 2014
              • 1615

              #7
              yourfile_ver is the name of Item, which holds the result of request. It can be a number, or Text string.

              The trigger compare the last result with one previous result and fire up only that two values is different.

              If you would like to compare it with the specific string/number, only in that case you will have to update it every time, when you decide to replace the software.
              Sincerely yours,
              Aleksey

              Comment

              Working...