Issues in implementation Nagios event handler

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nageshra
Posts: 2
Joined: Tue Jan 23, 2018 12:32 am

Issues in implementation Nagios event handler

Post by nageshra »

Hi Team,

We were trying to send the nagios alerts to our servers by using event handlers. When the command is executed manually it is sending the alerts to other Server, but when we try to implement the same by updating /usr/local/nagios/etc/commands.cfg, event handler is not getting triggered. Could you please let us know if any further configuration changes are required for event handllers to wqork.

ENvironment:Centos
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Issues in implementation Nagios event handler

Post by dwhitfield »

nageshra wrote: when we try to implement the same by updating /usr/local/nagios/etc/commands.cfg,
Are you literally editing the commnads.cfg? Are you running XI? These two things do not go together. If you want to edit commands in XI, then you need to do it through the CCM. If you are using Core, no problem. I am happy to move this to the appropriate forum for you.
nageshra
Posts: 2
Joined: Tue Jan 23, 2018 12:32 am

Re: Issues in implementation Nagios event handler

Post by nageshra »

Hi dwhitfield,

Yes, we are running Nagios XI and we have updated these commands through CCM GUI only. We have not edited commands.cfg file. #FYI.

Please help us.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Issues in implementation Nagios event handler

Post by dwhitfield »

Can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.

You can also generate a profile manually using the script at /usr/local/nagiosxi/html/includes/components/profile/getprofile.sh

That should generate a profile in /usr/local/nagiosxi/var/components/ which you can get off the server with an application such as FileZilla.

After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.

If you get an error that PROFILE BUILD FAILED, please see https://support.nagios.com/kb/article.p ... ategory=44
Locked