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.
Ad Widget
Collapse
one check feed multiple items
Collapse
X
-
Tags: None
-
-
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 itemsComment
-
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
-
Hi crashdummyMCH,Originally posted by crashdummyMCHscript: 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
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,
RajComment
Comment