...
Expand | ||
---|---|---|
| ||
Configure by entering flags into the command from the Nagios XI web interface through Configure > Core Config Manager > Commands. Use -apiKey flag for your apiKey and -ns flag for your nagios_server name. If you don't have multiple Nagios servers, you don't have to define the Nagios server. Using flags overwrites all the other configuration methods mentioned earlier. To send additional custom arguments, add them after the flags. For example, |
Expand | ||
---|---|---|
| ||
Configure apiKey and nagios_server from the send2jsm.go script. Build the script again and put the new executable into the /home/jsm/jec/scripts directory. Learn more about the location of the send2jsm.go and how to build a go script in the “Source and recompiling send2jsm” section in this article. |
...
Go to Configure > Core Config Manager > Contacts.
Select Add New.
Populate the Common Settings as follows:
Contact Name: jsm
Description: JSM ContactSelect the Active checkbox.
Populate alert settings:
Expand | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
|
...