summaryrefslogtreecommitdiff
path: root/puppet/modules/site_nagios/templates/icli_aliases.erb
blob: f1428f9e215c5ea9a06731fb1c52f119278c6e8d (plain)
1
2
3
4
5
6
7
alias ncli='icli -c /var/cache/nagios3/objects.cache -f /var/cache/nagios3/status.dat  -F /var/lib/nagios3/rw/nagios.cmd'
alias ncli_problems='ncli -z '!o,!A''

<% @environments.keys.sort.each do |env_name| %>
alias ncli_<%= env_name %>='ncli -z '!o,!A' -g <%= env_name %>'
alias ncli_<%= env_name %>_recheck='ncli -s Check_MK -g <%= env_name %> -r'
<% end -%>