Ad Widget

Collapse

one check feed multiple items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • crashdummyMCH
    Member
    • Jun 2006
    • 33

    #1

    one check feed multiple items

    I need some suggestions on how I can have one userParameter script feed multiple items. I'm monitoring a website and have 3 items I'd like to monitor each time a check is done: http code, total time, and the download size. It would not do me a lot of good if each item ran this script and got its individual data chunk. I need someway for the script to be run and update each item. Thanks in advance for your help.
  • sbadger
    Member
    • Dec 2005
    • 81

    #2
    Check out:


    for your ansewer.

    Comment

    • crashdummyMCH
      Member
      • Jun 2006
      • 33

      #3
      a little more detail....

      script: curlmonitor.sh
      returns: http code, total time, download size

      is it possible to run this ONCE and populate:
      httpcode total time and download size monitored items


      --this is would execute the script n times for n items
      --I need execute the script 1 time for n items

      Comment

      • managenet
        Junior Member
        • Dec 2006
        • 5

        #4
        Pipe to file once - parse multiple items from file

        Had a thought on this as a workaround (though I too would like to see the ability to populated multiple items from single call natively!)

        Pipe the results of the one time script to a file (and perhaps return a single status result to the console) and then read the parsed detail results from the file as individual userparameter items. So essentially logging results and then parsing the log.

        Comment

        • rajbal
          Junior Member
          • Dec 2006
          • 7

          #5
          Originally posted by crashdummyMCH
          script: curlmonitor.sh
          returns: http code, total time, download size

          is it possible to run this ONCE and populate:
          httpcode total time and download size monitored items


          --this is would execute the script n times for n items
          --I need execute the script 1 time for n items
          Hi crashdummyMCH,
          I am also trying to implement the same monitoring http code ,response time and size of the page.How you are storing these information?Are you inserting these values to database and then show it to graphs?Can you share the script you have written?How to implement custome scripts in zabbix?

          Regards,
          Raj

          Comment

          Working...