Unfortunately the file isn't executing. I'm unsure if I need to be logged in as root, grant permissions to the file to execute, or if it is scripting related which I don't know well.
Just a thought, are you by chance attempting to run this from the secondary control station? It relies on /nas being mounted which would not be the case on the secondary CS.
dynamox
9 Legend
•
20.4K Posts
1
August 2nd, 2013 12:00
Terry,
once you ssh in as "nasadmin", just run them exactly as you have listed. Perl is in the $PATH so you don't need to specify anything extra.
terryrw74
23 Posts
0
August 13th, 2013 09:00
Unfortunately the file isn't executing. I'm unsure if I need to be logged in as root, grant permissions to the file to execute, or if it is scripting related which I don't know well.
umichklewis
3 Apprentice
•
1.2K Posts
0
August 13th, 2013 11:00
Does return any errors or any useful output?
dynamox
9 Legend
•
20.4K Posts
0
August 13th, 2013 12:00
if you run perl scriptname.pl ..what do you see ?
christopher_ime
4 Operator
•
2K Posts
0
August 14th, 2013 17:00
Just a thought, are you by chance attempting to run this from the secondary control station? It relies on /nas being mounted which would not be the case on the secondary CS.
carlchristian
7 Posts
0
September 17th, 2013 04:00
Hello,
I have a similar problem trying to run these scripts with a customer. Logged in as root we are getting this error:
bash: ./collect-perfdata.pl: Permission denied
Any ideas?
mohammedshabbee
4 Posts
0
September 17th, 2013 05:00
I'm not very familiar with running scripts
dynamox
9 Legend
•
20.4K Posts
0
September 17th, 2013 05:00
did you try to make script executable ? man chmod
Rainer_EMC
4 Operator
•
8.6K Posts
0
September 17th, 2013 08:00
Chmod a+x collect-perfdata.pl
carlchristian
7 Posts
0
September 17th, 2013 13:00
Thanks, that did the trick!
carlchristian
7 Posts
0
September 17th, 2013 13:00
Thanks!
carlchristian
7 Posts
0
September 18th, 2013 00:00
Just a follow-up question here... we got the files, but all the generated .csv files for both VNX filers are empty. Is this normal?
dynamox
9 Legend
•
20.4K Posts
0
September 18th, 2013 03:00
where did you get this perl file ? Was it already on the control station ?
carlchristian
7 Posts
0
September 18th, 2013 03:00
I downloaded it from Mitrend.
carlchristian
7 Posts
0
September 20th, 2013 12:00
Ran it again and this time there was data in the files. So it appears to be working now.