in reply to Re^4: Perl modules (was: Re: Begginer's question: ...)
in thread Begginer's question: If loops one after the other. Is that code correct?

Hi predrag,

So, all these images with that chart should be saved under the same file name. And that image file will be inserted in html page. When data change, new image will be saved and automatically will become visible in html page after page refreshing or a new visiting? Did I understood well?

Yes, exactly!

The only con is that it can't show data in a table.

The same principle can be applied to HTML pages as well: In the Perl script that generates the charts, you could also generate an HTML page that is saved to the web server directory that includes the data in a table as well. (This Perl script that is run at a fixed interval, in this case twice a day, can generate as many different files as it likes.)

Regards,
-- Hauke D

  • Comment on Re^5: Perl modules (was: Re: Begginer's question: ...)

Replies are listed 'Best First'.
Re^6: Perl modules (was: Re: Begginer's question: ...)
by predrag (Scribe) on Jan 23, 2017 at 22:42 UTC

    Hauke D your help is really great.

    I've understood what you've wrote about HTML pages.

    Just to let you know I've just created a new node number #1180180 with a title Web monitoring with Perl, comments and suggestions on general approach please. Your suggestions are included too.

    I could never imagine I will receive such a big help here and will learn so much from just my first question. Thanks to all monks again

    Kind regards

    predrag