cancel
Showing results for 
Search instead for 
Did you mean: 

SNMP

tahar
Occasional Contributor

SNMP

Help
I am looking for a script that will " retrieve the SNMP invalid community names counter for all SNMP enabled devices in the computer system.
Any idea!!!!!!!!1
Thanks
T

1 REPLY
Derek_56
Valued Contributor

Re: SNMP

Tahar,

There's several ways you could approach this, but the easiest would just be to use SIM to 'push' the correct SNMP settings to the clients. Use the "Configure or Repair Agents" from the Configure menu. This will allow you to set the community string to what you need. This is assuming that you have credentials on the remote systems for SIM to authenticate and make the change and that you're doing this for SIM monitoring setup and not security validation/cleanup on those other systems.

The only other options you have would be to remotely interrogate either the registry via WMI (assuming Windows) or and SSH enabled script to parse the snmpd.conf file on each remote system to get the community strings. This seems FAR more trouble than it'd be worth, but I don't know what your difficulties with the first method might be to require a script.

Good luck and post back if you have more details reguarding your problem.