nagios+mikrotik

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
50baksov
Posts: 6
Joined: Tue Oct 06, 2015 2:06 pm

nagios+mikrotik

Post 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
User avatar
rhassing
Posts: 416
Joined: Sat Oct 05, 2013 10:29 pm
Location: Netherlands

Re: nagios+mikrotik

Post 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
Rob Hassing
Image
50baksov
Posts: 6
Joined: Tue Oct 06, 2015 2:06 pm

Re: nagios+mikrotik

Post by 50baksov »

I tried from the terminal on the linux server
Timeout: No Response from
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: nagios+mikrotik

Post 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.
50baksov
Posts: 6
Joined: Tue Oct 06, 2015 2:06 pm

Re: nagios+mikrotik

Post 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!
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: nagios+mikrotik

Post by hsmith »

Is this one all right to be closed and marked as resolved then?
Former Nagios Employee.
me.
50baksov
Posts: 6
Joined: Tue Oct 06, 2015 2:06 pm

Re: nagios+mikrotik

Post by 50baksov »

yes
Locked