if I run "which perl" or "whereis perl", it returns "/usr/bin/perl", but when I try to "cd /usr/bin/perl" it says no such file or directory (and indeed there is no such directory on the Nagios server).
So I think my problem is there is no perl installation on my Nagios server.
And my questions now are:
1. is perl part of the Ngaios installation? in other words, should it have been installed already?
2. anybody knows the easiest direction for me (who doesn't know Linux much) to follow to install perl on Linux? I would submit a ticket for our Linux team to do it, but they have resource issue and I am not sure when they can get to my request. They did give me sudo root access, so I suppose if there is easy-to-follow instructions, I can do it myself.
Thanks!!!
How to send alerts as tickets to BMC Remedy
-
caterpillartce
- Posts: 117
- Joined: Mon Jul 11, 2016 11:22 am
Re: How to send alerts as tickets to BMC Remedy
You are not going to be able to "cd" into the "/usr/bin/perl" as this is not a directory but a binary.if I run "which perl" or "whereis perl", it returns "/usr/bin/perl", but when I try to "cd /usr/bin/perl" it says no such file or directory (and indeed there is no such directory on the Nagios server).
Open the "send_to_bmc.pl" in vi:
Code: Select all
vi /usr/local/nagios/libexec/send_to_bmc.plCode: Select all
:set ff?Code: Select all
fileformat=unixCode: Select all
:set ff=unixSave, and exit:
Code: Select all
:wqBe sure to check out our Knowledgebase for helpful articles and solutions!