[SOLVED] Router Configs Plugin problem with login

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
9Nails
Posts: 42
Joined: Thu Nov 20, 2008 4:32 pm

[SOLVED] Router Configs Plugin problem with login

Post by 9Nails »

I have Router Configs installed, but it's not able to download the configuration files. To me, it appears that it's not able to login. My router is running IOS version 12.2. My router also has a local user login account with level 15 privileges. Which is something like:

Code: Select all

telnet 2.2.2.2
Username: myuser
Password: mypass
Router# <insert meaningful command here>

When I run the debug, I get the following message:

Code: Select all

��������

User Access Verification

Username: �� ������'��
Is it stuck at the Username?! I've read elsewhere to check the TFTP settings, but I'm lost. I've been up and down the settings and can't find anything wrong other than this doesn't work. I figure that my first hurdle is to get it to login, once I get that down I'll check the permissions. Can you help me?
Cacti Version - 0.8.7e
Plugin Architecture - 2.5
Poller Type - Cactid v
Server Info - Linux 2.6.9-89.0.11.plus.c4smp
Web Server - Apache/2.0.63 (CentOS)
PHP - 5.1.6
PHP Extensions - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, standard, SimpleXML, sockets, SPL, shmop, session, Reflection, pspell, posix, mime_magic, iconv, hash, gmp, gettext, ftp, exif, date, curl, ctype, calendar, bz2, zlib, pcre, openssl, apache2handler, gd, ldap, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, snmp, eAccelerator
MySQL - 5.0.82sp1
RRDTool - 1.2.23
SNMP - 5.1.2
Plugins
  • Global Plugin Settings (settings - v0.5)
    Large Site Performane Booster (boost - v2.4)
    Network Tools (tools - v0.3)
    Syslog Monitoring (syslog - v0.5.2)
    Device Tracking (mactrack - v1.1)
    Login Page Mod (loginmod - v1.0)
    Update Checker (update - v0.4)
    FlowView (flowview - v0.6)
    Host Info (hostinfo - v0.2)
    Error Images (errorimage - v0.1)
    PHP Network Weathermap (weathermap - v0.96a)
    docs
    Cacti-ReportIt (reportit - v0.6.1)
    Router Configs (routerconfigs - v0.2)
    WMI Query (wmi - v0.1)
Last edited by 9Nails on Tue Nov 24, 2009 11:20 am, edited 1 time in total.
GermanSniper
Posts: 42
Joined: Fri Aug 28, 2009 1:43 am
Location: Germany

Post by GermanSniper »

read this

http://forums.cacti.net/viewtopic.php?t=33427

maybe it solve your problem
9Nails
Posts: 42
Joined: Thu Nov 20, 2008 4:32 pm

Post by 9Nails »

Hi GermanSniper - I did search previously before I posted and found that thread as well. At first, it wasn't clear to me what the resolution was!

And I agree with cigamit in that post that the commenting the echo commands seemed like a trivial thing to do. But it indeed did fix my issue!

So I followed and applied the code suggested by parvedejs in their 2nd post in that thread and it's working. I just made my first backup!

Thanks for bringing that up and getting me to take a 2nd look at it.
MrRat
Cacti User
Posts: 136
Joined: Thu Jan 07, 2010 10:33 am

Post by MrRat »

Indeed
# diff functions.php functions.php.orig
433,434c433,434
< //$this->GetResponse($r);
< //echo $r;
---
> $this->GetResponse($r);
> echo $r;
commenting out 2 lines fixes it for me also.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests