Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
@lonlone
Favorites0
Views
Projects0
How do I install NCPA on Mac OS X? In the install instructions, I see downloads for Windows, Linux RPM, and DEB packaging. Can any of those options be used for Mac or is there another download somewhere else?
Reviewed 12 years ago
First of all, create software. It was perfect for what we were trying to do, but in doing so, I found a bug. When you associate a user to a specific service instead of all services (by associating it with a host), the first service is dropped off the list. In data/NagiosUser.php in the build_authorized_objects function, services section, there are 2 instances where the object's authHosts array is checked for existence. In both cases, the existence is checked and if it does not exist, then you allocate the array, but the data that you've found is never added to that array. The else case needs to be removed and done every time so that all associated services are added.