I've tried to install nagiosql on other system and files/directories permissions' changing did not help. I've tried other tutorials and they did not help until I've tried this tutorial. It did not help firstly. But I was following instructions. I removed my previous nagiosql folder and started again using new tutorial. I've launched # restorecon -Rv /var/www/html/nagiosql/ command.
I've looked at nagiosql. It has no API, and the way it's written makes it hard to reuse its code from other PHP files that I may put in there to provide the API. At least Monarch has some modular code that can be reused.
df19127ead