SSH Cacti Plugin 1.0 Released

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

User avatar
zorrosam
Cacti User
Posts: 244
Joined: Thu May 03, 2007 3:17 pm
Location: Italy

problem ...

Post by zorrosam »

Hi,

great plugin but ...

when i click on the tab and insert the grant for login my terminal java remain black .... and i can't get any conncetion on my server even if the message is 'connected to 'x.x.x.x' ssh.

Can you help me?

The java is ok on my client.

And there's the possibility to make the same thing with telnet protocol for connecting on my router?

thanks,

zorro

[/img]
eternal
Cacti User
Posts: 68
Joined: Thu Dec 14, 2006 4:38 pm
Location: Kingsport TN
Contact:

Post by eternal »

I can connect to the host of the webserver but no other host.
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

Post by apperrault »

Ernie,
Yes, the web server has the necessary permissions to read the config file, but it is still showing that odd thing where it is trying to connect on port 23, and here is a screenshot of what i am seeing.

Giles, have you posted Manage 0.5.2 anywhere? i can only locate 0.5.1 on the boards.

Thanks for the help guys

aaron
Attachments
ssh.png
ssh.png (11.69 KiB) Viewed 11914 times
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Post by streaker69 »

eternal wrote:I can connect to the host of the webserver but no other host.
Yeah, I found that out too. So what I did was connect to my local cacti box and then ssh over to the other box I needed to work on.
[b]Cacti Version[/b] - 0.8.7d
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
User avatar
N3NCY
Cacti User
Posts: 260
Joined: Thu Sep 22, 2005 7:50 pm
Location: Landenberg, PA
Contact:

Post by N3NCY »

zorrosam: Do you get the login box?
Make sure the login box is not behind the window you are looking at.
Attachments
Login dialog box
Login dialog box
Login-Window.png (3.38 KiB) Viewed 11888 times
Thank you,

Ernie
http://www.NMSWorld.com
[b]Dual Zeon Dual Core 2.6Ghz / 8GB RAM / 4x15k RPM SATA RAID5[/b]
[b]Cacti Version[/b] - 0.8.7b
[b]Poller Type[/b] - cactid 0.8.7 with Boost v1.7
[b]Server Info[/b] - FreeBSD 7.0-RELEASE
[b]Web Server[/b] - Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8g DAV/2 PHP/5.2.5 mod_perl/2.0.3 Perl/v5.8.8
[b]PHP[/b] - 5.2.6
[b]MySQL[/b] - 5.0.51b Mod: poller_output ENGINE = MEMORY
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.4.1
[b]Plugins[/b] - Host Info (hostinfo - v0.2), Update Checker (update - v0.3), Network Tools (tools - v0.2), FlowView (flowview - v0.3), Read-only Devices Tab (devices - v0.4), Network Discovery (discovery - v0.8.3), Syslog Monitoring (syslog - v0.5.2), Thresholds (thold - v0.3.9), Device Monitoring (monitor - v0.8.2), PHP Network Weathermap (weathermap - v0.941), SuperLinks (superlinks - v0.72), Report Creator (reports - v0.1b)
User avatar
N3NCY
Cacti User
Posts: 260
Joined: Thu Sep 22, 2005 7:50 pm
Location: Landenberg, PA
Contact:

Post by N3NCY »

eternal: I will research why we can't connect to other hosts.
I see no reason why this would not be possible.
I will post back here with a fix when I find it.
:wink:
Thank you,

Ernie
http://www.NMSWorld.com
[b]Dual Zeon Dual Core 2.6Ghz / 8GB RAM / 4x15k RPM SATA RAID5[/b]
[b]Cacti Version[/b] - 0.8.7b
[b]Poller Type[/b] - cactid 0.8.7 with Boost v1.7
[b]Server Info[/b] - FreeBSD 7.0-RELEASE
[b]Web Server[/b] - Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8g DAV/2 PHP/5.2.5 mod_perl/2.0.3 Perl/v5.8.8
[b]PHP[/b] - 5.2.6
[b]MySQL[/b] - 5.0.51b Mod: poller_output ENGINE = MEMORY
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.4.1
[b]Plugins[/b] - Host Info (hostinfo - v0.2), Update Checker (update - v0.3), Network Tools (tools - v0.2), FlowView (flowview - v0.3), Read-only Devices Tab (devices - v0.4), Network Discovery (discovery - v0.8.3), Syslog Monitoring (syslog - v0.5.2), Thresholds (thold - v0.3.9), Device Monitoring (monitor - v0.8.2), PHP Network Weathermap (weathermap - v0.941), SuperLinks (superlinks - v0.72), Report Creator (reports - v0.1b)
User avatar
zorrosam
Cacti User
Posts: 244
Joined: Thu May 03, 2007 3:17 pm
Location: Italy

help ...

Post by zorrosam »

N3NCY : Yes, i obtain the window that prompt login & password .... i have inserted the right data ssh .... but the windows remain black with the blank cursor on the left bottom ..... i have no access to the terminal ... why?

this is the same for my 3 cacti server with 0.86j & 0.87a version ..... and redhat linux 4 & 5 ....

any idea?

zorro
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

N3NCY wrote:eternal: I will research why we can't connect to other hosts.
I see no reason why this would not be possible.
I will post back here with a fix when I find it.
:wink:
it's a java restriction
http://javassh.org/space/mrelayd
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

gilles wrote:
N3NCY wrote:eternal: I will research why we can't connect to other hosts.
I see no reason why this would not be possible.
I will post back here with a fix when I find it.
:wink:
it's a java restriction
http://javassh.org/space/mrelayd
Glad you found the link, I was going to look for it... :)

I have tried this in the past and ran into this exact issue.. :x
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
r_chetanjain
Cacti User
Posts: 83
Joined: Fri Aug 22, 2003 4:33 am

blank screen

Post by r_chetanjain »

I just get a blank screen and at the bottom it shows connected <ip> and online... Can somebody help me what could be the issue...

I have given necessary permissions to it...

I get a error in my web server log files... some /var/www/html/cacti/plugins/ssh/de not found...

Chetan
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Attached is a Self Signed version of the Jar file. This issues is associated with newer versions of Java that restrict the use of sensitive operations except with trusted java applications.

You will need to import the Cert if using Internut Exploiter. Not too sure about Firefox. If you are serious about the use of this plugin, I suggest you internally certify the Jta26.jar file.

Here was the link I used.

http://personal.vsnl.com/sureshms/javasign1.html

Regards,

TheWitness
Attachments
jta26.zip
Signed Jar File
(235.89 KiB) Downloaded 512 times
cactigroup.zip
Certification File
(801 Bytes) Downloaded 471 times
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
r_chetanjain
Cacti User
Posts: 83
Joined: Fri Aug 22, 2003 4:33 am

still same issue

Post by r_chetanjain »

Still same issue... I just can't get the prompt... It says connected to 127.0.0.1 Connected...

Installed the certificate and placed the signed .jar filed in the ssh directory

Chetan
airwalk
Cacti User
Posts: 103
Joined: Fri Aug 18, 2006 11:22 am
Location: MSK, RU

Post by airwalk »

I get the same error.
Applet asks for a password. I fill it in and then it says "connected" and "online" but the window remains black - no interface at all. I changed the jar to the signed one.
Attachments
untitled.PNG
untitled.PNG (19.34 KiB) Viewed 11380 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Bring up the Java console and see what errors you are getting.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
airwalk
Cacti User
Posts: 103
Joined: Fri Aug 18, 2006 11:22 am
Location: MSK, RU

Post by airwalk »

TheWitness wrote:Bring up the Java console and see what errors you are getting.

TheWitness
Thanks, I got it working somehow. Looks like i had to do a cold restart after changing jar to the signed one.
Now there is another problem. I can successfully log on to my cisco with level0 creds. But if try to do "enable" then it immediately shows the following:

WAN-1>enable
Password:
% Access denied
WAN-1>

It just doesn't offer me to fill in the password. I bet the account is OK.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests