I have a number of existing scripts based on Test::Simple that I use to monitor a system. The scripts work very well, testing a set of conditions and sending an e-mail if something goes awry. A master script runs the tests and then goes to sleep for a time before testing again.

We are now moving the system to an external hosting facility where the e-mail option won't work. The external provider uses BMC Patrol to monitor the servers and software. Their operations guy said that Patrol will parse a file looking for certain conditions (e.g. Error 13 your SAN is corrupt - Abort, Retry, Fail?) and inform the operators via e-mail or SMS.

This is great but I wanted to get away from having a Perl app constantly testing the system and generating the log file. I don't know a great deal about patrol but it should be able to run a Perl app (my Test::Simple based script) and parse the output for errors.

Has anyone else used BMC Patrol and used it in conjunction with Perl?


In reply to Using Perl with BMC Patrol by inman

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.