Nagios Core 4.3.4
Nsclient 4.3
Windows 10
Just restarted my Windows 10 Desktop VM and Nagios reports this warning on two checks
Error: Can't locate perl510.dll
Check Windows Temp Folder WARNING 11-14-2018 22:01:47 0d 0h 32m 58s 10/10 Error: Can't locate perl510.dll
Explorer WARNING 11-14-2018 22:28:58 0d 0h 33m 34s 20/20 Error: Can't locate perl510.dll
Any ideas?
Error: Can't locate perl510.dll
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Error: Can't locate perl510.dll
Hi @kwhogster,
It's most likely a corrupt file or perhaps another program overwrote/deleted this file. Have you made any changes/installed new software since this problem started or is it possible to revert to previous VM snapshot?
1. What version of perl do you have installed?
2. What plugin within Nagios are you using for those checks?
It's most likely a corrupt file or perhaps another program overwrote/deleted this file. Have you made any changes/installed new software since this problem started or is it possible to revert to previous VM snapshot?
1. What version of perl do you have installed?
2. What plugin within Nagios are you using for those checks?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Error: Can't locate perl510.dll
Hello
No Perl installed on this desktop
My code
Ran sfc /scannow came back clean
I search for perl510.dll on another windows 10 desktop that has the exact same checks above and they work on that one. and the dll is not found anywhere on the one either.
Thanks
No Perl installed on this desktop
My code
Code: Select all
define service{
use generic-service
host_name hostname
service_description Explorer
check_command check_nrpe!check_explorer! -a explorer.exe
servicegroups explorer
}
define service {
host_name hostname
service_description Check Windows Temp Folder
check_command check_winfile
servicegroups Windows Temp
check_interval 60
notification_interval 60
use generic-service
}
define command{
command_name check_winfile
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 120 -c check_winfile -a '--target c:\windows\temp --filter "size gt 1073741824" -delete'
}
define command{
command_name check_explorer
command_line $USER1$/check_procs -c 1:30 -C explorer
}
Ran sfc /scannow came back clean
I search for perl510.dll on another windows 10 desktop that has the exact same checks above and they work on that one. and the dll is not found anywhere on the one either.
Thanks
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Error: Can't locate perl510.dll
Hello kwhogster,
If these checks are working fine on the other Windows 10 systems, then I would compare the nsclient.ini file with those other systems. Double check the ini file for the correct check_winfile definition in the external scripts settings. Make sure the script exists on you this Windows system.
Also, can you review (or post) the nsclient.log file for errors.
Let me know if you get it resolved.
Configuring The Windows Agent: NSClient++
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
If these checks are working fine on the other Windows 10 systems, then I would compare the nsclient.ini file with those other systems. Double check the ini file for the correct check_winfile definition in the external scripts settings. Make sure the script exists on you this Windows system.
Also, can you review (or post) the nsclient.log file for errors.
Let me know if you get it resolved.
Configuring The Windows Agent: NSClient++
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Error: Can't locate perl510.dll
checked both nsclient.ini files they look the same
The files reside on both in the same folder.
On the problem computer I ran the command manually
C:\Program Files\NSClient++\scripts>check_winprocess
PROCESS OK - 119 process(es)|processes=119;;;
My nsclient log in the log do not see any problems with current dates. check_schtask was the only one I see and I fixed that recently.
The files reside on both in the same folder.
On the problem computer I ran the command manually
C:\Program Files\NSClient++\scripts>check_winprocess
PROCESS OK - 119 process(es)|processes=119;;;
My nsclient log in the log do not see any problems with current dates. check_schtask was the only one I see and I fixed that recently.
Re: Error: Can't locate perl510.dll
Hi
I think i got it working now.
I installed activeperl 64 bit from perl.org site.
Then after a restarted the checks cleared and are working.
This was very strange and is still not explained.
We can lock this for now
I think i got it working now.
I installed activeperl 64 bit from perl.org site.
Then after a restarted the checks cleared and are working.
This was very strange and is still not explained.
We can lock this for now
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Error: Can't locate perl510.dll
Hello @kwhogster
Glad you got it resolved. I will go a head lock this topic. Thank you for using Nagios.I think i got it working now ......We can lock this for now
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!