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.
--- status.c.orig 2013-03-09 16:46:35.000000000 -0500
+++ status.c 2014-01-08 10:27:42.000000000 -0500
@@ -1537,6 +1537,10 @@
/* find the host */
temp_host = find_host(temp_service->host_name);
+ /* make sure user has rights to view this host */
+ if(is_authorized_for_host(temp_host, ¤t_authdata) == FALSE)
+ continue;
+
/* make sure user has rights to see this... */
if(is_authorized_for_service(temp_service, ¤t_authdata) == FALSE)
continue;