I have version 1.3 up and running and migrated a version 1.2.3 config and have found what I think may be an issue. In Nagios Core the following links return an error message of “it appears you do not have permission to view…”.
A screen shot is attached.
The following links seem to be involved:
1)Network Outages
2) Process Info
3) Scheduling Queue – This is the one I use most often
4) Notifications
5) Even Log
6) View Config
Nagios Core - permissions
- Robbie Ferguson
- Posting Freak
- Posts: 835
- Joined: Wed Mar 07, 2012 3:23 pm
- Location: Ontario, Canada
- Contact:
RE: Nagios Core - permissions
Thanks for letting me know. Can you please email a copy of your backup.nems file to [email protected] and I'll confirm and patch the bug?
Thanks!
Thanks!
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Did I help you out? Appreciate what I do? Please consider saying thanks:
- Throw something in the tip jar: https://donate.category5.tv
- Support Category5 TV on Patreon: https://patreon.com/category5
- Support NEMS Linux on Patreon: https://patreon.com/nems
- Robbie Ferguson
- Posting Freak
- Posts: 835
- Joined: Wed Mar 07, 2012 3:23 pm
- Location: Ontario, Canada
- Contact:
RE: Nagios Core - permissions
Further: is it possible you initialized NEMS before restoring your migrator data with a different username?
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Did I help you out? Appreciate what I do? Please consider saying thanks:
- Throw something in the tip jar: https://donate.category5.tv
- Support Category5 TV on Patreon: https://patreon.com/category5
- Support NEMS Linux on Patreon: https://patreon.com/nems
RE: Nagios Core - permissions
I don't think so. Ran the nems-init and created the user account.
Rebooted.
logged in using the created account.
Then ran the nems-restore.
Rebooted.
logged in using the created account.
Then ran the nems-restore.
Rick
- Robbie Ferguson
- Posting Freak
- Posts: 835
- Joined: Wed Mar 07, 2012 3:23 pm
- Location: Ontario, Canada
- Contact:
RE: Nagios Core - permissions
It wasn't you - it was me :p
You found a nasty wee bug that broke this for everyone - thanks man!
Please run:
And then try Nagios Core again. Work?
You found a nasty wee bug that broke this for everyone - thanks man!
Please run:
Code: Select all
sudo nems-quickfix
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Did I help you out? Appreciate what I do? Please consider saying thanks:
- Throw something in the tip jar: https://donate.category5.tv
- Support Category5 TV on Patreon: https://patreon.com/category5
- Support NEMS Linux on Patreon: https://patreon.com/nems
RE: Nagios Core - permissions
There is joy in Mudville, the might Robbie hit a home run...
OK wrong season for baseball analogies. The quickfix is not quick, but it does the job. All is well with the permissions in Nagios Core.
As always, thanks.
OK wrong season for baseball analogies. The quickfix is not quick, but it does the job. All is well with the permissions in Nagios Core.
As always, thanks.
Rick
- Robbie Ferguson
- Posting Freak
- Posts: 835
- Joined: Wed Mar 07, 2012 3:23 pm
- Location: Ontario, Canada
- Contact:
RE: Nagios Core - permissions
Great!
Yes, I'm pretty sure that the manual warns that nems-quickfix is not quick :p hahaha!
Quick as in, you don't have to do much, and it fixes stuff.
Glad it worked! Thanks for pointing out the bug! If we had a point system, you'd be up at least 3 points for this, and about a million points for everything else :p
Yes, I'm pretty sure that the manual warns that nems-quickfix is not quick :p hahaha!
Quick as in, you don't have to do much, and it fixes stuff.
Glad it worked! Thanks for pointing out the bug! If we had a point system, you'd be up at least 3 points for this, and about a million points for everything else :p
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Did I help you out? Appreciate what I do? Please consider saying thanks:
- Throw something in the tip jar: https://donate.category5.tv
- Support Category5 TV on Patreon: https://patreon.com/category5
- Support NEMS Linux on Patreon: https://patreon.com/nems
RE: Nagios Core - permissions
Hi guys, ive done what you say, Nagios Core has reverted to normal, but then...
Any ideas?
Thank you.
Any ideas?
Thank you.
- Robbie Ferguson
- Posting Freak
- Posts: 835
- Joined: Wed Mar 07, 2012 3:23 pm
- Location: Ontario, Canada
- Contact:
RE: Nagios Core - permissions
Oh dear! This does not look like a related issue, though nems-quickfix may have pulled an update to nems-nconf that may have caused this. Are you on NEMS 1.3?
That said, I have not pushed any updates to nems-nconf which would cause this... so I wonder if it's simply your MariaDB service failed to restart correctly during the nems-quickfix (is there any chance you pushed CTRL-C before nems-quickfix was done?)
Just to be sure, can you please do this?
If it says anything other than "active (running) type:
And then try nConf again.
If that isn't it, can you please create a new backup.nems migrator backup and send it to [email protected]? Hoping it'll shed some light on what happened and I'll try to have a fix ready within a day or two.
Cheers,
Robbie
That said, I have not pushed any updates to nems-nconf which would cause this... so I wonder if it's simply your MariaDB service failed to restart correctly during the nems-quickfix (is there any chance you pushed CTRL-C before nems-quickfix was done?)
Just to be sure, can you please do this?
Code: Select all
sudo systemctl status mysqld
Code: Select all
sudo systemctl restart mysqld
If that isn't it, can you please create a new backup.nems migrator backup and send it to [email protected]? Hoping it'll shed some light on what happened and I'll try to have a fix ready within a day or two.
Cheers,
Robbie
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Did I help you out? Appreciate what I do? Please consider saying thanks:
- Throw something in the tip jar: https://donate.category5.tv
- Support Category5 TV on Patreon: https://patreon.com/category5
- Support NEMS Linux on Patreon: https://patreon.com/nems