> From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Adam Kennedy > Sent: Thursday, June 28, 2007 10:13 AM > To: [email protected] > Subject: [Nagios-users] Compiling Perl check scripts > > In our environment, I have roughly 1000 services being checked via perl > scripts. Needless to say, it slows the nagios server down a bit *grin* > > What method has anyone used to compile perl scripts? I am using perl > modules (mainly Net::SNMP, Net::DNS and various others) with the > scripts. I tried perlcc but it didn't work. Any other ideas? > > Should I just bite the bullet and attempt to write a C app to do the > functions of my perl scripts instead? I would really hate to do that, > as > my C skills don't go far beyond "Hello World".
This is the sort of thing the embedded perl interpreter was made for. If Nagios is built with it, it won't need to load and compile your scripts every time they run. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
