Ad Widget

Collapse

check item once an day at 8:00AM

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kyi
    Member
    • Jun 2005
    • 64

    #1

    check item once an day at 8:00AM

    hi,

    i want to check the result of an userscript every workingday at the same time.
    in the item-config-page there´s only update interval.

    any ideas?
  • vinz
    Junior Member
    • Sep 2006
    • 14

    #2
    Originally posted by kyi
    hi,

    i want to check the result of an userscript every workingday at the same time.
    in the item-config-page there´s only update interval.

    any ideas?
    Hello,
    You can do this differently.

    - In Zabbix, create a zabbix_trapper item on your monitored host with a key name 'script_result'.
    - On the host where is your script, in zabbix install dir, you have a zabbix_sender exe.
    - Insert a line like this in your script to send the result to zabbix server :

    Code:
    zabbix_sender <zabbix_server_IP> <zabbix_server_port> <name_of_monitored_host> script_result OK
    This will set the 'script_result' key of the host defined in zabbix to 'OK' or whatever you put ;-)

    The item will be set every time the script is executed.
    Then you can put a trigger on it to check what is the result.

    Hope that will help you,

    Comment

    • peter_field
      Member
      • Jun 2006
      • 71

      #3
      Good one

      I never thought of this, thanks for that. However, is there a Windows version of zabbix_sender?

      Comment

      • cameronsto
        Senior Member
        • Oct 2005
        • 148

        #4
        IIRC, this has been brought up before and was "on the roadmap". I would like to see this added as well.

        -cameron

        Comment

        • vinz
          Junior Member
          • Sep 2006
          • 14

          #5
          Originally posted by peter_field
          I never thought of this, thanks for that. However, is there a Windows version of zabbix_sender?
          you can have it here : http://www.zabbix.com/forum/showthre...=zabbix_sender

          see the end of the post (its from safl) ;-)

          Comment

          • peter_field
            Member
            • Jun 2006
            • 71

            #6
            Thanks

            Thanks vinz.

            Comment

            • kyi
              Member
              • Jun 2005
              • 64

              #7
              Originally posted by vinz
              Hello,
              Hope that will help you,
              thxs, that works

              Comment

              Working...