<div dir="ltr"><div style>Hello, i'm stucked in a problem. When i define more than one contactgroup nagios dont send mails (i tail in sendmail logs)</div><div style><br></div><div style>This doesnt work:</div><div style>
<br></div><div style><div># Infrastructure</div><div>define contact {</div><div> contact_name Henrique</div><div> use generic-contact</div><div> alias Henrique Mac</div>
<div> email <a href="mailto:henrique@domain.com.br">henrique@domain.com.br</a></div><div>}</div><div><br></div><div>define contact {</div><div> contact_name Marcio</div>
<div> use generic-contact</div><div> alias Marcio Fra</div><div> email <a href="mailto:marcio@domain.com.br">marcio@domain.com.br</a></div>
<div>}</div><div><br></div><div># Analists</div><div>define contact {</div><div> contact_name Valter</div><div> use generic-contact</div><div> alias Valter Kn</div>
<div> email <a href="mailto:valter@domain.com.br">valter@domain.com.br</a></div><div>}</div><div>define contact {</div><div> contact_name Otavio</div><div> use generic-contact</div>
<div> alias Otavio Ba</div><div> email <a href="mailto:otavio@domain.com.br">otavio@domain.com.br</a></div><div>}</div><div><br></div><div><br></div><div>define contactgroup{</div>
<div> contactgroup_name admins</div><div> alias Network Admins</div><div> members Henrique, Marcio</div><div>}</div><div><br></div><div>
<div><br></div><div>define contactgroup{</div><div> contactgroup_name analysts</div><div> alias System Analysts</div><div> members Valter, Otavio</div>
<div>}</div></div><div><br></div><div><br></div><div style>This Work:</div><div style><br></div><div style><div>define contact{</div><div> contact_name xadmins ; Short name of user</div>
<div> use generic-contact ; Inherit default values from generic-contact template (defined above)</div><div> alias Nagios Admin ; Full name of user</div>
<div> email <a href="mailto:sysop@domain.com.br">sysop@domain.com.br</a> ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ******</div><div> }</div><div><br></div><div>define contactgroup{</div>
<div> contactgroup_name admins</div><div> alias admins</div><div> members xadmins</div><div>}</div><div><br></div></div><div><br></div><div>
<br></div></div><div style>This is my Service:</div><div style><br></div><div style><div>define service{</div><div> use generic-service</div><div> host_name ems206</div><div> service_description RPW Producao</div>
<div> contact_groups admins, analysts</div><div> check_command check_nrpe!check_rpw_producao</div><div>}</div><div><br></div></div><div style><br></div>Any idea?<br clear="all"><div><br><br>Att,<br><br>Henrique Machado<br>
ITIL V3 Certified</div>
</div>