Posts: 1
Threads: 0
Joined: Jan 2018
Reputation:
1
01-28-2018, 05:20 PM
(This post was last modified: 01-28-2018, 05:21 PM by eejit.
Edit Reason: slight rewording
)
Ah, I wished I'd found this thread a few hours ago :-)
My workaround for the "NULL variable value - Line 11 of resource file" error was to fill in the blank $USER*$ values by entering dummy values for Windows AD, Telegram and Pushover in NEMS SST. After a restart my notification emails started getting through.
Earlier in the thread someone mentioned not seeing any entries in /var/log/sendemail. That is because there is a typo in the NConf > Misccommands > notify_host_by_email command - it is trying to log to /var/log/sendmail which fails because of lack of permission. Changing the command line's "-l" parameter to /var/log/sendemail gets the logging working.
Posts: 1,047
Threads: 42
Joined: Mar 2012
Reputation:
25
Just a heads up, as per the changelog, the "sendmail" log typo has already been patched. No need to fix this manually - the patch rolls out automatically with nems-quickfix or just waiting 24 hours.
Thanks all!!!
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Posts: 1,047
Threads: 42
Joined: Mar 2012
Reputation:
25
**********
THIS ISSUE HAS BEEN FIXED
**********
If you are still experiencing this issue, please do the following:
1) sudo nems-quickfix
2) Open NEMS SST and press "Save"
3) sudo systemctl restart nagios3
All NEMS Linux servers will be automatically patched. If your system does not receive the patch, please make sure your network settings are correct (ie., you have a default gateway specified) on your NEMS Linux server.
Thank you to all participants in this thread both for your help and your patience as we worked together to find and fix this issue.
Robbie // Bald Nerd
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Posts: 6
Threads: 1
Joined: Jan 2018
Reputation:
0
Hello Robbie,
Is there any version numbering bump anywhere in the shell or UI to verify the update succeeded properly? I think it failed last night for me, but worked this morning (after a power cycle). Since I'm not yet 100% certain my notification settings are properly configured I can't be certain a forced failure to prompt a notification will be a good update verification.
Posts: 1,047
Threads: 42
Joined: Mar 2012
Reputation:
25
Hi BrendonKoz,
The fix for this was a patch rollout, not a point release. Therefore, if it fails one day, it'll self-remedy the next - so no worries. I built NEMS to be reliable and self-correcting.
To be sure, just type: sudo nems-update
If you see errors, let me know. If you don't, just follow the next step (Press "Save" on NEMS SST in this case, then restart either the Nagios service or reboot the NEMS Server).
Note that unlike nems-quickfix, nems-update shows the output of the update - hence why I say, you can do that if in doubt. Though if you already ran nems-quickfix and all is well, it is entirely redundant to run nems-update. :p
Let us know how it goes.
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Posts: 6
Threads: 1
Joined: Jan 2018
Reputation:
0
01-31-2018, 03:57 PM
(This post was last modified: 01-31-2018, 03:58 PM by BrendonKoz.)
That command verified that my 2nd round of nems-quickfix from this morning ran fine. I didn't realize it was not a point fix release (since you mentioned you'd been running v1.3.1 I thought you simply pushed that version live, my mistake!). Thanks!
Posts: 1,047
Threads: 42
Joined: Mar 2012
Reputation:
25
:) Nope. In trying to replicate the problem originally, I'd reverted my own development server to 1.3 (public release) rather than the 1.3.1 development release it was running. Turned out that had nothing to do with why I couldn't replicate the problem. It was because during development, I'd filled in all the fields in NEMS SST (which "hid" the bug from me). So reverting had the effect anyways, since it meant NEMS SST was empty :)
The wording can be confusing. Hopefully this helps:
nems-update - will check github for any changes to nems components and update them.
nems-quickfix - a sophisticated call wrapper for nems-update. This runs a nems-update, then runs any patches that are included in that update. Usually this happens automatically overnight - but can be a quick ... hence "quickfix" ... way to force your server to have all updates and all patches.
nems-upgrade - this is when we have new point releases. As opposed to patches (ie., fixes), an upgrade is generally new features. Unlike nems-update, a nems-upgrade has to be run manually by the user (I don't force users to upgrade if they don't want to).
Thanks,
Robbie
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks: