Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We need to add an icon to each line which links to creating an email to send to the contacts at the site. The contacts can be found in the NODEDETAILS database. You can access the NODEDETAILS database using dbprac.pl. The modification would owuld be needed in checkdata_gif.pl in the same line that already calls dbprac.pl. This first improvement is trivial and is thus more of an introduction to perl and the way checkdata works.

Second step

Once this is done,the next step would be to automate testing to see if:

  • the monitor is pingable,
  • whether the monitor can ping your host (traceroute,pl?function=ping), assuming it has a remotre traceroute server
  • what a traceroute shows
  • the ping_data.pl form appears

In addition you will need to parse the output from dbprac.pl to get the CONTACTS field and parse it to get the address(es) for the email.

Then craft an email with the above information to review and send to the contacts.

...