Clickatell REST API Not Working on new install

Hi,

I’ve installed a fresh LibreNMS on CentOS 7, got everything working, except Clickatell REST API.
I’ve plugged in the token and a mobile number, then when I test the transport it says all OK, but no message is sent.

If I create a test transport for API and enter the Clickatell HTTP Post credentials, it works fine.

I’ve searched this forum and the web, but turned up no issues.

My validate script is clean with no issues.

Can anyone please guide me in the right direction to help solve this ?

Many thanks,

BeDazzleMe.

https://docs.librenms.org/#Alerting/Testing/#transports pastebin the output

Hi,

Not sure if this is what you need, I did a test-template and selected mail.

https://pastebin.com/embed_js/yTBtnn2Y

No you need the transport test.

When I go into Alerts -> Alert Transports I have configured #3 as the REST API Test with a token. That returns a green “OK”.

When I try to run that via command prompt, it does not work.
./scripts/test-alert.php -r 3 -h localhost

It says:
No active alert found, please check that you have the correct ids

Perhaps I don’t understand how to call that same item from command prompt ?

For test alert you need to select an alert rule that is active, check your alert notifications list to find one.

I don’t understand the context of what you are asking for.

Are you saying I must have a current error condition in order to generate output from test-alert.php ?

Correct…

I will have to setup a test scenario.