11-28-2018, 11:02 AM
I went ahead and restored my backup with the nems-restore script.
All went well and it looks like my old configuration has correctly been restored, apart from the 'To' address where mails should be sent.
I tested manually if I could send mails and telegrams and that was OK.
Now it happens that this 'new' NEMS has no access to one of my machines because it has an IP address that is not the correct one for access... So there are about 9 services that give a warning at the moment:
As far as I can see, everything is enabled, but no telegrams are being sent (mails are) even though Nagios tells me that the script is being executed...
I have added some code to the telegram_nems.lua script to write some data to a log file, but nothing gets written to that...
All went well and it looks like my old configuration has correctly been restored, apart from the 'To' address where mails should be sent.
I tested manually if I could send mails and telegrams and that was OK.
Now it happens that this 'new' NEMS has no access to one of my machines because it has an IP address that is not the correct one for access... So there are about 9 services that give a warning at the moment:
As far as I can see, everything is enabled, but no telegrams are being sent (mails are) even though Nagios tells me that the script is being executed...
I have added some code to the telegram_nems.lua script to write some data to a log file, but nothing gets written to that...