Search found 5 matches

by rockburry
Mon Oct 12, 2015 4:17 am
Forum: Open Source Nagios Projects
Topic: Plugin does not work with nrpe
Replies: 9
Views: 2268

Re: Plugin does not work with nrpe

Hi I have analysed this problem a bit further and in my opinion, it does not seem to be the problem of access rights on the Directory. I have noticed, if you see in my script, when I have no double quotes around the variable in if condition, script shows the file name to searched and status is also ...
by rockburry
Thu Oct 08, 2015 4:53 am
Forum: Open Source Nagios Projects
Topic: Plugin does not work with nrpe
Replies: 9
Views: 2268

Re: Plugin does not work with nrpe

Hi hsmith, I have added the nagios user in sudoers and given the complete access on the directory where the file has to be searched. But still the same result. Trying to find an other way to do it. Is there any other plugin that can get file name as argument in regexp with formated date string? Than...
by rockburry
Wed Oct 07, 2015 2:05 pm
Forum: Open Source Nagios Projects
Topic: Plugin does not work with nrpe
Replies: 9
Views: 2268

Re: Plugin does not work with nrpe

Only the critical output of my script, as shown below, even if i have the required file in the target directory.

"CRITICAL : 0 Datei existiert! Abschluss nicht gelaufen"
English Translation:
(Critical: 0 File exists. Daily closing did not run!)
by rockburry
Wed Oct 07, 2015 1:48 pm
Forum: Open Source Nagios Projects
Topic: Plugin does not work with nrpe
Replies: 9
Views: 2268

Re: Plugin does not work with nrpe

I tried it both way. On command line, i have the same problem. I have many things like

result=$(find $path -iname $pretext$filiale$datum$posttext* | wc -l)

if [ "$result -eq "1" ]

but it didn't help :-(
by rockburry
Wed Oct 07, 2015 5:32 am
Forum: Open Source Nagios Projects
Topic: Plugin does not work with nrpe
Replies: 9
Views: 2268

Plugin does not work with nrpe

Hi I need a plugin which should check if a certain file exists in a dirctory. File to be checked is created on daily basis with the date of the last day embedded in it's name. To cut it short, if today is 07102015 then the file name looks like LOG0022206101000.32. Here 32 is again a random number. S...