Hi,
Probe is a windows machine but I having trouble getting CPU and RAM monitoring to work the MAC OSX machines.
I followed this to try and enable SNMP: https://kb.paessler.com/knowledgebase/en/topic/41843-how-do-i-activate-snmp-on-mac-os-in-order-to-monitor-it-with-prtg
Step 1: I have made a copy of the file - done!
Step 2: I have typed into terminal 'sudo nano /etc/snmp/snmpd.conf' and entered my password - done!
From here I am lost, do I edit something in terminal? If so how? Or can I edit the snmpd.config in text edit? If so where and what do I change?
I searched for 'rocommunity' but again in text edit It says but I have no idea where to edit:
"rwuser admin
- rocommunity: a SNMPv1/SNMPv2c read-only access community name
- arguments: community [default|hostname|network/bits] [oid]
- We limit unauthenticated requesters to the system contact info rocommunity public default .1.3.6.1.2.1.1.4
- rwcommunity: a SNMPv1/SNMPv2c read-write access community name
- arguments: community [default|hostname|network/bits] [oid]
- rwcommunity private"
Please someone can you help a bit of a newbie here!
Thanks
Article Comments
Thanks for the reply. Very clear. I updated everything via nano apart from the sysobjectid as I wasn't sure what to replace.
I've refresh the network monitor and now on CPU Load for the mac machine the original 'connection error' has gone and it now has this error 'End of MIB view (SNMP error # 224)'
Could you help with that?
Thanks so much.
Jan, 2014 - Permalink
and on SSH Meminfo I get: "Socket error on connecting. WSAGetLastError return 10061($274D) No connection could be made because the target machine actively refused it"
Jan, 2014 - Permalink
If you try and do an uptime scan or an interfaces scan with the SNMP Tester do you get any results? You may want to check that port 161 is open through the firewall so that PRTG can query the device since that may be why the machine is refusing the connection. If you still are not getting anything from the SNMP tester then please let me what version of OS X you are running and I'll see if there are updated directions on getting SNMP working.
Jan, 2014 - Permalink
So the command
actually is opening the file in a text-editor, that's what Nano is. What the guide is more or less saying is to copy the text from below and copy in it place of what is currently in your config file.
Once you are done pasting the text in that file, you should then restart the service as mentioned in the article and add the SNMP service to the hostconfig file so that it starts each time the computer starts.
Jan, 2014 - Permalink