How to send alerts as tickets to BMC Remedy

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
caterpillartce
Posts: 117
Joined: Mon Jul 11, 2016 11:22 am

Re: How to send alerts as tickets to BMC Remedy

Post by caterpillartce »

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!!!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: How to send alerts as tickets to BMC Remedy

Post by lmiltchev »

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).
You are not going to be able to "cd" into the "/usr/bin/perl" as this is not a directory but a binary.

Open the "send_to_bmc.pl" in vi:

Code: Select all

vi /usr/local/nagios/libexec/send_to_bmc.pl
then type:

Code: Select all

:set ff?
and hit "Enter". See if the output says:

Code: Select all

fileformat=unix
If the fileformat=dos, type the following:

Code: Select all

:set ff=unix
and press "Enter".
Save, and exit:

Code: Select all

:wq
Let us know if this solved your issue. If not, open a new support ticket in our email ticketing system.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked