custom host notification file locations

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
devildog31415
Posts: 48
Joined: Thu Jun 12, 2014 10:55 am

custom host notification file locations

Post by devildog31415 »

nagiosxi 2014R2.0
CentOS 6.6

I have setup a script for posting to a secured twitter feed.
I don't know:
1) where to put that script
2) where to place the notification command file (does there have to be 2 of them, one for host and one for service notifications?)
3) don't know what else I don't know

The install is the OVF download for 64-bit ESX hosted.

Thank you,
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: custom host notification file locations

Post by tmcdonald »

1.) I would place the script under /usr/local/nagios/libexec/plugins or use the web interface to upload it: http://assets.nagios.com/downloads/nagi ... ios-XI.pdf

2.) One command each for hosts and services is the norm, though *technically* you can get away with just one if it doesn't use any macros specific to one or the other.

3.) I had soup today.

Everything should be explained pretty well in that doc, from uploading the script to creating a command for it and attaching as a notification. Except the soup, that's insider knowledge.
Former Nagios employee
Locked