diff --git a/nagios/metadata.rb b/nagios/metadata.rb index e47aba89a..7c001bc45 100644 --- a/nagios/metadata.rb +++ b/nagios/metadata.rb @@ -2,8 +2,7 @@ maintainer_email "cookbooks@opscode.com" license "Apache 2.0" description "Installs and configures nagios" -version "0.2" -depends "php::php5" +version "0.3" %w{ debian ubuntu }.each do |os| supports os diff --git a/nagios/templates/default/templates.cfg.erb b/nagios/templates/default/templates.cfg.erb index 21dba266a..91cc04df3 100644 --- a/nagios/templates/default/templates.cfg.erb +++ b/nagios/templates/default/templates.cfg.erb @@ -47,7 +47,6 @@ define host { notification_interval <%= nagios_interval(nagios_attr(:default_host)[:notification_interval]) %> notification_options d,u,r contact_groups <%= nagios_attr(:default_contact_groups).join(",") %> - #action_url /pnp/index.php?host=$HOSTNAME$' onmouseover="get_g('$HOSTNAME$','_HOST_')" onmouseout="clear_g()" register 0 } @@ -75,6 +74,5 @@ define service { notification_options w,u,c,r notification_interval <%= nagios_interval(nagios_attr(:default_service)[:notification_interval]) %> notification_period 24x7 - #action_url /pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$' onmouseover="get_g('$HOSTNAME$','$SERVICEDESC$')" onmouseout="clear_g()" register 0 }