Question about config management GUI

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
toolfan2k4
Posts: 7
Joined: Mon Jul 18, 2016 10:59 am

Question about config management GUI

Post by toolfan2k4 »

Hello,

Has anyone successfully configured ANY of the free config user interfaces with Ubuntu 16.04 and PHP7? It seems that they are mostly no longer under development. But the changes in the new PHP break most versions of the UIs. I tried NagiosQL, Lilac, and Lilac-reloaded. All three are designed for older PHP versions and I could not make them work with 7. If you have been able to do so can you point me in the right direction as to getting this to work? Perhaps a tutorial or some pointers on what to modify?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Question about config management GUI

Post by dwhitfield »

The default seems to work in PHP7: http://www.ubuntugeek.com/install-nagio ... erver.html

We don't officially support Ubuntu, and that document is for 4.1.1 (instead of the most recent 4.2.1), but they are having you compile from source instead of using the repos, which is definitely the way to go. All you need to do is change the version # in the download to get the new version.

Let us know if that doesn't work for you and I might be able to sneak some testing in for you. :)
toolfan2k4
Posts: 7
Joined: Mon Jul 18, 2016 10:59 am

Re: Question about config management GUI

Post by toolfan2k4 »

I think that I may have poorly worded my question. I have Nagios installed so the issue is not with Nagios. I am simply looking for a configuration management UI which is compatible with the latest version of PHP. It seems that all the versions available require the older versions of PHP. I guess my question was more aimed towards the Nagios user community than towards Nagios itself. Because I would not expect you to support a UI which is not your own software. :lol:
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Question about config management GUI

Post by dwhitfield »

toolfan2k4 wrote:I think that I may have poorly worded my question.
No, you did great! Sometimes people don't understand the difference so we try to be upfront.

Again, this is not at all what you are asking, but have you thought about running two versions of PHP side by side? http://lornajane.net/posts/2016/php-7-0 ... -on-ubuntu is for 15.10, but uses PPAs that might be updated now. https://gist.github.com/ntopulos/3a492b ... ea57e7d1bd goes through compiling PHP.

Many of the frontends, plugins, etc. have their own websites and github pages, so you might want to check those out if you don't get a lot of answers here.
toolfan2k4
Posts: 7
Joined: Mon Jul 18, 2016 10:59 am

Re: Question about config management GUI

Post by toolfan2k4 »

Thanks for the article. I tried it and was able to get it working with the exception of random errors on certain pages. As for support from the developers of the applications it seems that most if no all of them have been abandoned! Many of the web sites are no longer reachable. I suppose this was bound to happen since Nagios XI now has config management built-in. I only wish I could afford XI, I am starting to think I am stuck with manual configuration. :( At any rate feel free to close this if you wish.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Question about config management GUI

Post by dwhitfield »

toolfan2k4 wrote:I am starting to think I am stuck with manual configuration. :(
Depending on your environment, puppet (or chef, ansible, etc.) might be useful: https://support.nagios.com/kb/article.p ... tegory=108
Locked