Hi all,<br><br>concerned by security, i tried to insert the snmp community name for read access inside resources.cfg (with permissions 600 on it) in macro $USER3$=myUnbre@kablepass<br>It didn't work at all, now all nagios is RED sending alerts. Although, It is said in 
resource.cfg that USER3 is for storing some usernames and passwords (hidden from the CGIs)<br>(hidden from the CGIs) maybe that's where the issue began<br>
<br>Actually what i did is to use this macro inside my checks as follows :<br><br>In <span style="font-style: italic;">checkcommands.cfg </span> :<br><br># 'check_printerstatus' command definiton<br>define command{<br>        command_name    check_printerstatus
<br>        command_line    $USER1$/check_snmp -H $ARG1$ -o $ARG2$ -s $ARG3$ -C <span style="color: rgb(204, 0, 0);">$USER3$</span><br>        }<br>-C stands for Community<br>-H hostname<br>-o snmp OID<br>-s string<br><br>
In <span style="font-style: italic;">services.cfg</span> :<br><br>check_command                   check_printerstatus!10.2.20.20!iso.3.6.1.2.1.43.16.5.1.2.1.1!'"Ready - Select Features to scan your job."'<br><br>
But it's a nightmare everything's RED even the check_ping, check_host_alive. Can you help please !!<br>