Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • by thickas (5805) on 2010.03.29 3:51 (#71804)
    Yeah, I did it.

    At least all the bad bits (in the embedded stuff released with Netsaint 6.x Nag 1 - 3.x.

    A local .Au guy solved a problem (of wasting a copy after a fork) for Perl plugins. I think he did a good thing.

    Unfortunately, I couldn't (and still can't) see how to preserve the existing REPL semantics (ie schedule a plugin, fork, exec the plugin and return whatever exec() returns to Nagios) and not re-eval the Perl plugin each time its scheduled.

    Also, I was too stupid to think that with no adequate knowledge of Perl internals and in the face of well known warnings (eg leaks from embedded interpreters), I could offer something.

    As you say, there are many people who should shut the up. I am definitely one, so I don't know why I am bothering with this.

    Other than to say that a published author and a thoughtful man like yourself could do a much better job.

    Ethan has never declined a patch for embedded Perl. Go right ahead.

    Cheering !!

    Lastly, on some of the other remarks, here's what Gary Numan is quoted as saying in http://en.wikipedia.org/wiki/Gary_numan#Personal_life [wikipedia.org] "Polite conversation has never been one of my strong points. Just recently I actually found out that I'd got a mild form of Asperger's syndrome which basically means I have trouble interacting with people. For years, I couldn't understand why people thought I was arrogant, but now it all makes more sense."

    • I'm sorry, you did what now? You wrote the logic that sucks plug-in code into Nagios? I'm confused.

      REPL means something other than "schedule a plugin, fork, exec the plugin, ..."... REPL means read, eval, parse, loop. That's the style of environment provided by old BASIC interpreters that accepted a command, ran it, and printed the output. Forth and a number of other systems are famous for it, and Python does that too (as a default when run without other arguments).

      Did I say that many people should shut