Page 1 of 1

nagios+mikrotik

Posted: Thu Oct 08, 2015 9:19 am
by 50baksov
Kind time!
There is RB 2011 microtic, there is Nagios
It is necessary that nagios monitored uptime mikrotik
that was made:
RB2011 - /snmp> set enabled yes
/system resource print oid
uptime: .1.3.6.1.2.1.1.3.0

Nagios:
define service{
use generic-service ; Inherit values from a template
host_name 192.168.1.1
service_description Uptime
check_command check_snmp!-C public -o 1.3.6.1.2.1.1.3.0 -P 1
}

TOTAL:
в nagios: External command error: Timeout: No Response from 192.168.1.1:161.
your help is necessary

Re: nagios+mikrotik

Posted: Thu Oct 08, 2015 9:37 am
by rhassing
Could you try to check if it is possible to do a snmpwalk on this system?

Code: Select all

snmpwalk -v2c -c public 192.168.1.1

Re: nagios+mikrotik

Posted: Thu Oct 08, 2015 9:56 am
by 50baksov
I tried from the terminal on the linux server
Timeout: No Response from

Re: nagios+mikrotik

Posted: Thu Oct 08, 2015 11:18 am
by jdalrymple
It could be that the microtik firewall is blocking UDP port 161
It could also be that the community string isn't set properly

Can you verify those pieces of invormation? Unfortunately we can't do that from the Nagios end, it has to be verified on the device.

Re: nagios+mikrotik

Posted: Thu Oct 08, 2015 11:36 am
by 50baksov
jdalrymple wrote:It could be that the microtik firewall is blocking UDP port 161
It could also be that the community string isn't set properly

Can you verify those pieces of invormation? Unfortunately we can't do that from the Nagios end, it has to be verified on the device.
You genius! the whole day resolved 161 TCP in UDP is necessary
Low bow and thanks!

Re: nagios+mikrotik

Posted: Thu Oct 08, 2015 11:44 am
by hsmith
Is this one all right to be closed and marked as resolved then?

Re: nagios+mikrotik

Posted: Thu Oct 08, 2015 12:03 pm
by 50baksov
yes