Page 1 of 2

Can monitor transceiver feed router?

Posted: Thu Aug 10, 2017 5:09 pm
by h4doukeeN
Consultation in the company we have a router powered by 2 transceiver, main and secondary link to the router, as these transceivers do not have ip there is some way to monitor them? Some plug that helps with this work

Re: Can monitor transceiver feed router?

Posted: Fri Aug 11, 2017 2:11 pm
by dwhitfield
I'm sure there's a device you could use, but I don't know what one to use off the top of my head.

Depending on your requirements, it may be easier to get that data from the router via SNMP. Something like https://www.cisco.com/c/en/us/support/d ... anges.html

If you tell us what make/model of router, we can probably be more helpful.

Re: Can monitor transceiver feed router?

Posted: Fri Aug 11, 2017 3:22 pm
by h4doukeeN
dwhitfield wrote:I'm sure there's a device you could use, but I don't know what one to use off the top of my head.

Depending on your requirements, it may be easier to get that data from the router via SNMP. Something like https://www.cisco.com/c/en/us/support/d ... anges.html

If you tell us what make/model of router, we can probably be more helpful.
Cisco 2900 series on the back says cisco 2911

https://ibb.co/bx4CxF

Re: Can monitor transceiver feed router?

Posted: Mon Aug 14, 2017 12:57 pm
by dwhitfield
It appears as though there are a few plugins that may be able to get you what you want: https://library.nagios.com/library/tech ... equipment/

Please test one of those out and let us know any errors you receive.

Re: Can monitor transceiver feed router?

Posted: Wed Aug 23, 2017 8:57 am
by h4doukeeN
Query, I will have to enable something on the router since when I make a query I get the following message

[root@localhost plugins]# ./check_env_stats.py -H 192.168.2.1 -M power -T cisco
Timeout: No Response from 192.168.2.1
Timeout: No Response from 192.168.2.1
Error: description / value table empty or non-existent.
[root@localhost plugins]#

Re: Can monitor transceiver feed router?

Posted: Wed Aug 23, 2017 12:14 pm
by h4doukeeN
When testing the router with another plugin I get the following message

[root@localhost plugins]# ./check_cisco_catalyst.pl -H 192.168.3.1 -C public -t int
SNMP error: No response from remote host "192.168.3.1"
[root@localhost plugins]# ./check_cisco_catalyst.pl -H 192.168.2.1 -C public -t int
SNMP error: No response from remote host "192.168.2.1"
[root@localhost plugins]# ./check_cisco_catalyst.pl -H 192.168.1.1 -C public -t int
SNMP error: No response from remote host "192.168.1.1"

When consulting another computer in this case a printer I have no problems

[root@localhost plugins]# snmpwalk -v 1 -c public -O e 192.168.2.170
SNMPv2-MIB::sysDescr.0 = STRING: Samsung SL-M4020ND; V4.00.01.14 Oct-18-2013;Engine V1.00.02;NIC V4.01.15 NOV-07-2013;S/N ZDBQBJBF20001ND
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.236.11.5.1
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (15114500) 1 day, 17:59:05.00
SNMPv2-MIB::sysContact.0 = STRING: Administrator
SNMPv2-MIB::sysName.0 = STRING: RECEPCIONCOL
SNMPv2-MIB::sysLocation.0 = STRING: Salan Venta Colina
SNMPv2-MIB::sysServices.0 = INTEGER: 104
IF-MIB::ifNumber.0 = INTEGER: 2
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifDescr.1 = STRING: Embedded Ethernet Controller, 10/100/1000 Mbps, v1.0, UTP RJ-45, connector A1, 100 full duplex


Will I have to enable snmp on router?

Re: Can monitor transceiver feed router?

Posted: Wed Aug 23, 2017 1:28 pm
by scottwilkerson
h4doukeeN wrote:Will I have to enable snmp on router?
Yes! And you will also need to set the community string to match what you are using in the command (in your example "public")

Re: Can monitor transceiver feed router?

Posted: Wed Aug 23, 2017 1:37 pm
by h4doukeeN
scottwilkerson wrote:
h4doukeeN wrote:Will I have to enable snmp on router?
Yes! And you will also need to set the community string to match what you are using in the command (in your example "public")
I will have to ask my internet provider to activate it since I do not have access to the router, thanks for the answer

Can monitor transceiver feed router?

Posted: Tue Sep 26, 2017 9:41 am
by h4doukeeN
Moderator: Merged back in topic and unlocked

Consultation in the company we have a router powered by 2 transceiver, main and secondary link to the router, as these transceivers do not have ip there is some way to monitor them? Some plug that helps with this work


I had an open thread but it is locked
https://support.nagios.com/forum/viewto ... =7&t=45117

answer I was going to leave in the post

Hello, now it is already active snmp, you could orientate with command line to be able to see active interfaces in the router the idea is to see if I can identify if one of the transceiver stops working like for example a cut in the optical fiber. I have put some commands and SNMP is working without problems

[root@localhost plugins]# ./check_cisco_catalyst.pl -H 192.168.2.1 -C YOLITO -t freeint
Free Interfaces: OK - 4/8 free interfaces for 14 days | total_int=12 total_eth=8 total_eth_free=4
[root@localhost plugins]# ./check_cisco_catalyst.pl -H 192.168.2.1 -C YOLITO -t int
UNKNOWN: does not exists | int=0

[root@localhost plugins]# ./check_env_stats.py -H 192.168.2.1 -C YOLITO -M power -T cisco
OK: C2911 AC Power Supply: 1, Redundant Power Supply: 5

thx.!

Re: Can monitor transceiver feed router?

Posted: Tue Sep 26, 2017 3:23 pm
by scottwilkerson
Thanks for following back up. I have merged this back into the original topic!