I’m trying to develop a script which parses a csvfile generated as above, the entire url is -
](http://)<domain_name>/nagios/cgi-bin/avail.cgi?show_log_entries=&host=all&timeperiod=custom&smon=8&sday=1&syear=2008&shour=0&smin=0&ssec=0&emon=8&eday=31&eyear=2008&ehour=24&emin=0&esec=0&rpttimeperiod=24x7_exclude_restart&assumeinitialstates=yes&assumestateretention=yes&assumestatesduringnotrunning=yes&includesoftstates=no&initialassumedhoststate=0&initialassumedservicestate=0&backtrack=4&csvoutput=
Attached image shows that host ‘almaak’ has uptime of 99.708% for the month of August. The line from the csv file is as follows -
“almaak.its”, 7706, 8.286%, 8.286%, 85294, 91.714%, 91.714%, 93000, 100.000%, 100.000%, 6694, 7.198%, 7.198%, 4294960602, -7.198%, -7.198%, 0, 0.000%, 0.000%, 0, 0.000%, 0.000%, 0, 0.000%, 0.000%, 0, 0.000%, 0.000%, 0, 0.000%, 0, 0.000%, 0, 0.000%
Thanks in advance to anyone who can offer any ideas / assistance.
%between%{e_FILE}public/1220510480_11038_FT0_nagios_.jpg