Re: [Nagios-users] Compiling Perl check scripts
Nagios network monitoring software is enterprise server monitoring
Brought to you by:
egalstad,
sawolf-nagios
From: Marc P. <ma...@en...> - 2007-06-28 18:03:58
|
> -----Original Message----- > From: nag...@li... [mailto:nagios-users- > bo...@li...] On Behalf Of Morris, Patrick > Sent: Thursday, June 28, 2007 12:52 PM > To: Adam Kennedy; nag...@li... > Subject: Re: [Nagios-users] Compiling Perl check scripts >=20 > > From: nag...@li... [mailto:nagios-users- > > bo...@li...] On Behalf Of Adam Kennedy > > 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". >=20 > 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. >=20 Indeed but it's important to point out that there are some special requirements for your perl plugins. More information can be found at http://nagios.sourceforge.net/docs/2_0/embeddedperl.html. -- Marc |