Welcome, Guest. Please login or register.

Author Topic: 1.1.155 Mods  (Read 2882 times)

redpineapple

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
1.1.155 Mods
« on: July 07, 2014, 06:45:24 PM »
How is there any easy way to see if moni.pl -D is running?  I usually go to system-service and then check in the ps block if it is there?

Recently someone put an apostrophe ' in a device name and in crashed both nedi.pl and moni.pl.

I had to rename the device and then delete the old device.  Also I had to delete all reference's to the device with the ' in interfaces.  I did this manually using sqlbuddy.

redpineapple

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Re: 1.1.155 Mods
« Reply #1 on: July 08, 2014, 07:04:08 AM »
Some updated defs

6509, tik and winlink.

redpineapple

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Re: 1.1.155 Mods
« Reply #2 on: July 08, 2014, 07:06:55 AM »
How to access the cli of a mikrotik, use +cte after user name in nedi.conf

usr    admin+cte        somepassword

redpineapple

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Re: 1.1.155 Mods
« Reply #3 on: July 08, 2014, 07:13:52 AM »
Roundabouts 580 in Devices-Status.

Added ability to show log file on Ciena switches and also added some extra command (eg. show backbone status or registered wireless clients and strength).

Code: [Select]
        if($isadmin and $rver){
                if($cliport){
                        if($login){
                                if( preg_match("/^(IOS|EOS|Ironware|ProCurve|Nortel)/",$os) ){
                                        $shlog = "show log";
                                }elseif($os == "SAOS"){
                                        $shlog = "log flash view";
                                        $shwr = "pbt show\ncfm show";
                                }elseif($os == "LEOS"){
                                        $shlog = "log flash view tail 50";
                                        $shwr = "pbt show\ncfm show";
                                }elseif($os == "ROS"){
                                        $shlog = "log print";
                                        $shwr = "interface wireless registration-table print";
                                }elseif($os == "CatOS"){
                                        $shlog = "show logging buf";

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2510
    • View Profile
    • NeDi
Re: 1.1.155 Mods
« Reply #4 on: July 09, 2014, 11:19:34 AM »
Tx, keep it coming!

The problem with the quotes should be fixed in the next release thanks to dcec.

I f you start moni via System-Services you should see it running beneath the binoculars.

I've added the log commands, but I think there should be a more general approach for further commands...will look at this some day ;-)
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

redpineapple

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Re: 1.1.155 Mods
« Reply #5 on: July 13, 2014, 07:55:02 PM »
6 (Rad CCPT-WC0309B-10.65.8.215) 10.65.8.215 [Lookup] [Nodes List] [Monitoring-Events] LLDP:M changed type from LLDP

All LLDP discos come up with the above event?  Seems to look at the first 6 chars instead of the first 4?

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2510
    • View Profile
    • NeDi
Re: 1.1.155 Mods
« Reply #6 on: July 13, 2014, 10:42:43 PM »
Strange, the variable used shouldn't even be longer than 4 chars. Can you post related -v output?
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

redpineapple

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Re: 1.1.155 Mods
« Reply #7 on: July 14, 2014, 06:04:01 PM »
Code: [Select]
DisProtocol ------------------------------------------------------------------ SNMP:Connect 10.10.13.119 ******* v2 Tout:7s MaxMS:4095 LLXN:5 index 5 is IF index 10005 LLXN:6 index 6 is IF index 10006 LLXN:4 index 4 is IF index 10004 LLXN:12 index 12 is IF index 10012 LLXN:7 index 7 is IF index 10007 LLXN:8 index 8 is IF index 10008 LLXN:11 index 11 is IF index 10011 LLXN:1 index 1 is IF index 10001 LLXN:9 index 9 is IF index 10009 LLXN:3 index 3 is IF index 10003 LLXN:2 index 2 is IF index 10002 LLXN:10 index 10 is IF index 10010 ERR :LLDP Inventory The requested table is empty or does not exist MAP :Mapped ip to 0.0.0.0 MAP :Mapped ip to 0.0.0.0 NEB :10002.2 DIPR:Using IP 10.10.14.133 from DB for ME-GP0365-BCX_SATF_IBM_BCRS LLDP:ME-GP0365-BCX_SATF_IBM_BCRS,FaPort 10.10.14.133 on 2 WLNK:Link exists from ME-GP0274_IBM_Business,2 to ME-GP0365-BCX_SATF_IBM_BCRS,FaPort. Updating LLDP link LLDP:Queueing of ME-GP0365-BCX_SATF_IBM_BCRS is not desired NEB :10002.1 Use of uninitialized value in sprintf at /var/nedi/inc/libsnmp.pm line 1986. Use of uninitialized value in substitution (s///) at /var/nedi/inc/libsnmp.pm line 1987. Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libsnmp.pm line 2011. Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libsnmp.pm line 2019. Use of uninitialized value in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 2022. :10.10.14.133, 10.10.14.133 on 2 Use of uninitialized value in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 2023. Use of uninitialized value in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 2023. Use of uninitialized value in hash element at /var/nedi/inc/libsnmp.pm line 2025. Use of uninitialized value in hash element at /var/nedi/inc/libsnmp.pm line 2026. Use of uninitialized value in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 2027. Use of uninitialized value in hash element at /var/nedi/inc/libsnmp.pm line 2027. Use of uninitialized value in hash element at /var/nedi/inc/libsnmp.pm line 2028. Use of uninitialized value in hash element at /var/nedi/inc/libsnmp.pm line 2029. Use of uninitialized value $ni in concatenation (.) or string at /var/nedi/inc/libdb.pm line 1194. Use of uninitialized value $ni in hash element at /var/nedi/inc/libdb.pm line 1194. Use of uninitialized value in concatenation (.) or string at /var/nedi/inc/libdb.pm line 1194. Use of uninitialized value $ni in concatenation (.) or string at /var/nedi/inc/libdb.pm line 1211. Use of uninitialized value $ni in hash element at /var/nedi/inc/libdb.pm line 1211. Use of uninitialized value in concatenation (.) or string at /var/nedi/inc/libdb.pm line 1211. WLNK:No link from ME-GP0274_IBM_Business,2 to 10.10.14.133,. Creating link Use of uninitialized value $ni in hash element at /var/nedi/inc/libdb.pm line 1213. Use of uninitialized value $ni in hash element at /var/nedi/inc/libdb.pm line 1213. Use of uninitialized value $ni in hash element at /var/nedi/inc/libdb.pm line 1213. Use of uninitialized value $ni in hash element at /var/nedi/inc/libdb.pm line 1213. Use of uninitialized value $ni in hash element at /var/nedi/inc/libdb.pm line 1213. Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libsnmp.pm line 2043. Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libsnmp.pm line 2043. :Queueing of 10.10.14.133 Use of uninitialized value in hash element at /var/nedi/inc/libsnmp.pm line 2180. is not desired NEB :10008.2 Use of uninitialized value in sprintf at /var/nedi/inc/libsnmp.pm line 1986. Use of uninitialized value in substitution (s///) at /var/nedi/inc/libsnmp.pm line 1987. Use of uninitialized value in exists at /var/nedi/inc/libsnmp.pm line 2006. :Ignoring neighbor with no name or ip on 8 NEB :10008.8 DIPR:Using IP 10.10.12.56 from DB for ME-Ovations-GP0421 LLDP:ME-Ovations-GP0421,8 10.10.12.56 on 8 WLNK:Link exists from ME-GP0274_IBM_Business,8 to ME-Ovations-GP0421,8. Updating LLDP link LLDP:Queueing of ME-Ovations-GP0421 is not desired NEB :10008.1 Use of uninitialized value in sprintf at /var/nedi/inc/libsnmp.pm line 1986. Use of uninitialized value in substitution (s///) at /var/nedi/inc/libsnmp.pm line 1987. Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libsnmp.pm line 2011. Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libsnmp.pm line 2019. Use of uninitialized value in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 2022. :10.10.12.56, 10.10.12.56 on 8 Use of uninitialized value in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 2023. Use of uninitialized value in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 2023. Use of uninitialized value in hash element at /var/nedi/inc/libsnmp.pm line 2025. Use of uninitialized value in hash element at /var/nedi/inc/libsnmp.pm line 2026. Use of uninitialized value in concatenation (.) or string at /var/nedi/inc/libsnmp.pm line 2027. Use of uninitialized value in hash element at /var/nedi/inc/libsnmp.pm line 2027. Use of uninitialized value in hash element at /var/nedi/inc/libsnmp.pm line 2028. Use of uninitialized value in hash element at /var/nedi/inc/libsnmp.pm line 2029. Use of uninitialized value $ni in concatenation (.) or string at /var/nedi/inc/libdb.pm line 1194. Use of uninitialized value $ni in hash element at /var/nedi/inc/libdb.pm line 1194. Use of uninitialized value in concatenation (.) or string at /var/nedi/inc/libdb.pm line 1194. Use of uninitialized value $ni in concatenation (.) or string at /var/nedi/inc/libdb.pm line 1211. Use of uninitialized value $ni in hash element at /var/nedi/inc/libdb.pm line 1211. Use of uninitialized value in concatenation (.) or string at /var/nedi/inc/libdb.pm line 1211. WLNK:No link from ME-GP0274_IBM_Business,8 to 10.10.12.56,. Creating link Use of uninitialized value $ni in hash element at /var/nedi/inc/libdb.pm line 1213. Use of uninitialized value $ni in hash element at /var/nedi/inc/libdb.pm line 1213. Use of uninitialized value $ni in hash element at /var/nedi/inc/libdb.pm line 1213. Use of uninitialized value $ni in hash element at /var/nedi/inc/libdb.pm line 1213. Use of uninitialized value $ni in hash element at /var/nedi/inc/libdb.pm line 1213. Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libsnmp.pm line 2043. Use of uninitialized value in pattern match (m//) at /var/nedi/inc/libsnmp.pm line 2043. :Queueing of 10.10.12.56 Use of uninitialized value in hash element at /var/nedi/inc/libsnmp.pm line 2180. is not desired