I am running OMD 1.20 -latest according to official website, Check_MK 1.2.4p5 community edition on an Ubuntu 14.04.3 LTS machine. I need to configure a FTP check that will check also the credentials and reading/writing a file. The standard plugins do not offer such a feature from what I know so I am trying to use a custom plugin, specifically:
Tag: perl
Complex regular subexpression recursion limit (32766) exceeded at
I have a perl script which performs a pgrep as follows: However when launch the script am having the following error/warning: Complex regular subexpression recursion limit (32766) exceeded at /home/k.sewnundun/test.pl line 16. Complex regular subexpression recursion limit (32766) exceeded at /home/k.sewnundun/test.pl line 16. Please find below the debug: What could be the issue? Thanks Answer This is a good sign
Installing Perl DBI in SUN Solaries
I am trying to install perl DBI on SUN solaries 11 but I always got the following error: I did the following steps: Downloaded and extracted DBI-1.628 then in the shell command: Answer This means it cannot find a compiler on your machine. You should add the path to the compiler to your PATH variable. gcc and cc are not
Merged Socket->recv with perl on Linux
Sorry for the bad English, it is not my mother tongue. I am new to perl programming and I’m facing a tedious problem for some hours now. I have coded a simple Client-Server using IO::Socket::INET. It works flawlessly on Windows, but is broken on Linux. On Linux, the first recv get both of server’s communication and therefor, the second one
Why does a Perl script run during boot on CentOS not find certain modules?
I am currently trying to run a perl script at boot in a custom version of CENTOS. I am doing so by calling it from an rc1 script, the call looks like this: But I’m getting the error “Can’t locate strict.pm in @INC” This isn’t specific to strict.pm, it throws that error at for whichever module is first on the
Daemonize a perl script at startup Linux
I have a custom version of CENTOS that I need to run a perl script as a daemon in at all times. To do this I want to get it to run on startup as a daemon. When the machine is on I can daemonize the script with the command And this works fine. So I have an rc1 script
Change file names by Perl [closed]
Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 7 years ago. Improve this question How to change file names from notation like this: SomeCodeFile.extension to C/C++ notation:
Multiple Oracle versions using Perl
Have one system monitoring two Oracle Databases with different versions 12.1 and 10.1 Oracle client, sdk, sqlplus installed for each and I can query either 12.1 db or 10.1 by setting theses after setting appropriate values for But Perl does not seem to pick up the the different versions. I get: CRITICAL – cannot connect to 10.16.183.98:1521/CV. ORA-03134: Connections to
Replace the string/line after separator on specific param
I have the following Perl one liner code , My target is to replace the line after “=” separator, and that defined in PARAM variable But actually its replace all the line include the PARAM itself The expected results should be Please advice what need to fix in my Perl one liner code? other example that still not work: Answer
Accessing Default directory in perl
I am having a perl script which is taking a directory path as input and then script iterates through all the files present in that directory. For each file it calls some other function. Here is the script: My question here is when i am reading input directory, in case if does not exists how can make above script read