NetXMS Support Forum

Please login or register.

Login with username, password and session length

Author Topic: Netxms Agent and SNMP  (Read 270 times)

huskybob

  • Newbie
  • *
  • Posts: 6
    • View Profile
Netxms Agent and SNMP
« on: February 07, 2019, 06:36:30 am »

guys please can you help the noob

I have the latest NETXMS Server installed and have a remote site with a Windows 10 Pro Desktop.
I have installed the Netxms Agent on the Windows 10 Desktop
I have enabled Zoning
     EnableProxy = yes
     EnableSNMPProxy = yes
I have enabled " Agent to Server Connection ( Tunnel ) for Remote Agents

The Netxms Server IS monitoring the Remote Windows 10 Pro Desktop and is Working perfectly

My Question is the Following
On the Remote Network from where i am Monitoring the Windows 10 Pro Desktop i have 3 x Printers and ADSL Router of which i have Enabled SNMP on ALL the Devices
I need to Monitor the Remote Printers and the ADSL Router

How do i do this with the Remote Windows 10 Pro Netxms Agent using the Windows 10 Pro Netxms Agent as a Proxy for SNMP?

Or must i also " ENABLE " SNMP Trap " on the Remote Windows 10 Pro Desktop and then " Forward the SNMP Logs from the Remote 3 x Printers and ADSL RTouter to the Remote Windows 10 Pro Desktop PC?

Sorry for the noob question, i am trying to establish how Remote SNMP Traps work including monitoring Multiple Remote SNMP Devices that are on Multiple Remote Networks

Any help greatly appreciated  :D
Logged

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6471
    • View Profile
Re: Netxms Agent and SNMP
« Reply #1 on: February 07, 2019, 11:01:49 am »

Hi,

you should create new zone (under Entire Network), set your Windows 10 node as zone proxy, and then create nods for each SNMP device you want to monitor in that new zone.

Best regards,
Victor
Logged

huskybob

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Netxms Agent and SNMP
« Reply #2 on: March 08, 2019, 08:28:52 am »

Victor thank you for your reply, much appreciated

just to recap

i use a remote windows 10 pro pc.
NETXMS Agent is installed on the remote Windows 10 Pro PC

The NETXMS Agent Config file on the Remote Windows 10 Pro PC includes
     EnableProxy = yes
     EnableSNMPProxy = yes

snmp enabled on the Remote Windows 10 Pro PC as a Service
snmp community = public ( as an example, On the Remote Windows 10 Pro PC )
snmp security = Accept SNMP Packets from any host ( On the Remote Windows 10 Pro PC )
snmp Enabled on All Devices of LAN eg: Printers and Switches with Community = public

Created  a New Zone in NETXMS Server (under Entire Network) eg: SITE1

Questions:
1. Must i " ENABLE " SNMP Trap on the Remote Windows 10 Pro PC?
2. How do i set the Windows 10 Pro PC node as a zone proxy?

any help greatly appreciated  :D


Logged

Tursiops

  • Sr. Member
  • ****
  • Posts: 354
    • View Profile
Re: Netxms Agent and SNMP
« Reply #3 on: March 09, 2019, 03:06:11 pm »

Question 1:
- Do not enable Windows' own SNMP Trap service. That service is designed to allow Windows itself to capture other device traps, but you want the NetXMS Agent service to capture those.
- You do not need to configure SNMP Traps (inside the SNMP service), unless you want your Windows 10 Pro PC to send its own Traps somewhere. In short: You do not need this to collect traps from network devices.

Question 2:
- Move the Windows 10 Pro PC into the SITE1 Zone (right-click on node, Change Zone)
- Right-click the zone, select properties, select Communications, select the Windows 10 Pro PC as default proxy
- Add the SNMP devices manually and ensure they are in the SITE1 Zone. (Alternatively: configure Active Discovery for the Zone and wait for devices to be discovered. However, for now it is probably easiest to just add the handful of devices manually),
- If you are looking to poll SNMP data (e.g. bandwidth/cpu/memory usage, etc.) on the printers/switches/router now, you should be ready to go.

Notes:
If you are looking at collecting SNMP Traps (which is something very different to polling SNMP data - Traps are packets sent from the device in question when a certain event is triggered, these are NOT used for Data Collection Items), you need to also configure each of these devices so send SNMP Traps to your Windows 10 Pro PC (might as well configure Syslog while you're at it) and add "EnableSNMPTrapProxy=yes" to your proxy agent configuration on Windows 10 Pro PC.
Your proxy agent does not require any additional configuration to act as Syslog Proxy.
Logged