Search found 4 matches

by krabs
Fri Oct 21, 2011 8:37 am
Forum: Open Source Nagios Projects
Topic: have multiple "Customer View" on a single map
Replies: 5
Views: 2068

Re: have multiple "Customer View" on a single map

hi, DONE :D find_eligible_hosts has 2 steps : 1/ rewrite all parents for all hosts by selecting recursively (if necessary) only parents which will be kept. In others words, it's like "compressing" the map :roll: 2/ delete all hosts which we need to hide. Before while struct in find_eligibl...
by krabs
Thu Oct 20, 2011 6:50 am
Forum: Open Source Nagios Projects
Topic: have multiple "Customer View" on a single map
Replies: 5
Views: 2068

Re: have multiple "Customer View" on a single map

Now, I have replaced the function "find_eligible_hosts" by the following code (for testing purpose) : int total_eligible_hosts=0; host *temp_host; host *previous_host; temp_host=host_list; previous_host=host_list; while(temp_host!=NULL){ if(is_authorized_for_host(temp_host,&current_aut...
by krabs
Wed Oct 19, 2011 5:40 pm
Forum: Open Source Nagios Projects
Topic: have multiple "Customer View" on a single map
Replies: 5
Views: 2068

Re: have multiple "Customer View" on a single map

Thanks.
I'll try nagvis once I'll have time :) it seems to be a huge "add-on" :shock: interesting..
Seeking 2 hours in cgi/* , i think i'm about to find what I need to modify statusmap.c
I'll keep you informed.
by krabs
Wed Oct 19, 2011 10:19 am
Forum: Open Source Nagios Projects
Topic: have multiple "Customer View" on a single map
Replies: 5
Views: 2068

have multiple "Customer View" on a single map

Hi everybody. I'm trying to find a way to provide statusmap views to my customers based on a single map. what I did first was to write the right contact in each host/service and write these contacts in cgi.cfg and in htpasswd.users Like this, customers see only their own host on the statusmap, but, ...