I uploaded the Check DataDomain plugin (check-dd.pl) from the exchange. I get this error when I try to test from the command line.
-bash: ./check_dd.pl: /usr/local/groundwork/bin/perl: bad interpreter: No such file or directory
check_dd.pl error
-
hillhealthcenter
- Posts: 174
- Joined: Fri Sep 21, 2012 7:45 am
- Location: New Haven, CT
check_dd.pl error
Thanks so much,
Tom
Tom
Re: check_dd.pl error
This is not one of the "official" nagios plugins, and I am not familiar with it, but looking at the error, I would assume that you will need to modify the plugin. Try opening the plugin in a text editor, e.g. "vi", and change these two lines:
to these:
Save, exit, and try the plugin, e.g. see if you can view the usage (help menu):
Code: Select all
#!/usr/local/groundwork/bin/perl -w
use lib "/usr/local/groundwork/nagios/libexec";
Code: Select all
#!/usr/bin/perl -w
use lib "/usr/local/nagios/libexec";Code: Select all
/usr/local/nagios/libexec/check_dd.pl --helpBe sure to check out our Knowledgebase for helpful articles and solutions!
-
hillhealthcenter
- Posts: 174
- Joined: Fri Sep 21, 2012 7:45 am
- Location: New Haven, CT
Re: check_dd.pl error
I am glad I could help!
Is it ok to lock this topic?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
hillhealthcenter
- Posts: 174
- Joined: Fri Sep 21, 2012 7:45 am
- Location: New Haven, CT