I have a group of users that I basically want to be able to just acknowledge alerts, but really no other permissions in Nagios, specifically enabling or disabling alerts and checks. Is this possible? They are currently doing it in the Core installation that I am replacing with the following file:
Code: Select all
RewriteEngine On
RewriteCond %{REMOTE_USER} ^user1$ [OR,NC]
RewriteCond %{REMOTE_USER} ^user2$ [OR,NC]
RewriteCond %{REMOTE_USER} ^user3$ [OR,NC]
RewriteCond %{REMOTE_USER} ^user4$ [NC]
RewriteCond %{QUERY_STRING} cmd_typ=23 [OR,NC]
RewriteCond %{QUERY_STRING} cmd_typ=112 [OR,NC]
RewriteCond %{QUERY_STRING} cmd_typ=110 [OR,NC]
RewriteCond %{QUERY_STRING} cmd_typ=64 [OR,NC]
RewriteCond %{QUERY_STRING} cmd_typ=66 [OR,NC]
RewriteCond %{QUERY_STRING} cmd_typ=11 [NC]
RewriteRule (.*) /nagios/test/sorry.html? [L]