SNMP communication issues

Started by nichky, July 31, 2025, 02:34:08 PM

Previous topic - Next topic

nichky

Thanks i got similar issues.

Also Alex,  why i'm getting a graph on some of the interfaces,how to fix that?
On some of the routers, im not gettign at all (i got seven routers)

fyi: SMTP  has been proparly enabeled, seen on pull -> status

Alex Kirhenshtein

what you mean by "getting a graph on some of the interfaces"?

can you query .1.3.6.1.2.1.2 on the routers where interfaces are not reported?

nichky

one more, i got it  on top of my head 

Any interfaces added on "last values" the graphic works well (not sure how ive added there).

On any interfaces by clicking  "create data collection items", pretty much for none of them graphic works

nichky

Quote from: Alex Kirhenshtein on July 31, 2025, 02:37:58 PMwhat you mean by "getting a graph on some of the interfaces"?
can you query .1.3.6.1.2.1.2 on the routers where interfaces are not reported?
please, im very fresh user on netxms.
Can be more specific? 

Alex Kirhenshtein

.1.3.6.1.2.1.2 is a base OID for IF-MIB.

something like "nxsnmpwalk IP 1.3.6.1.2.1.2.2.1.2" should fetch list of interfaces.

nichky

where do u want me to add that , on any single router , properties - > SNMP?

Filipp Sudanov

nxsnmpwalk that Alex mentioned is a command-line tool included with NetXMS. On linux it should be available in PATH, on Windows it's in C:\NetXMS\bin

nichky

will you be able to type the full command?

Alex Kirhenshtein


That's the whole command. Replace "IP" with actual IP of the router in question.

C:\NetXMS\bin\nxsnmpwalk IP 1.3.6.1.2.1.2.2.1.2

nichky

this is what im gettign

C:\NetXMS\bin>nxsnmpwalk IP 1.3.6.1.2.1.2.2.1.2
Unable to create UDP transport: Invalid hostname or IP address


nichky

do you have tutorial of how to run it on MikroTik container?


I got it running it doesn't give me access to it.



Alex Kirhenshtein

Quote from: nichky on August 01, 2025, 12:52:40 AMthis is what im gettign

C:\NetXMS\bin>nxsnmpwalk IP 1.3.6.1.2.1.2.2.1.2
Unable to create UDP transport: Invalid hostname or IP address



Replace "IP" with actual IP of the router in question.

nichky

Hi Alex, 

sorry my bad, that works , i check the stats of that.

but we have options that we can run netxms on MikroTik container?

ive been folowing: 
https://github.com/alkk/netxms-agent-mikrotik


The conteiner is runnign , but cant log in to it

nichky

pls, how to fix the the accessing to ssh from NetXMS?

Alex Kirhenshtein

Quote from: nichky on August 01, 2025, 08:46:24 AMbut we have options that we can run netxms on MikroTik container?

yes, you can run agent on the mikrotiks. normally, it's enough to collect information via SNMP. Agent is mostly used for running zone proxies (e.g. with network behind NATs). Full instructions are on the GitHub page.