Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun Nov 18, 2018 2:30 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Putty plugin ??
PostPosted: Tue Aug 21, 2007 10:44 am 
Offline

Joined: Wed Aug 15, 2007 4:13 pm
Posts: 26
It would be nice to have a putty plugin. How you can select a protocl like ssh or telnet. Display a icon on the graph view and when you click => open cacti.

I've test the telnet plugin find on cactiuser.org but you can juste make telnet when you configure files extentions in folders option.


i would like do :
router => putty.exe -telnet %L
linux host => putty.exe -ssh %L
...

Sorry for my english :oops:


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 21, 2007 12:03 pm 
Offline
Cacti User
User avatar

Joined: Tue Jul 12, 2005 8:16 pm
Posts: 250
i currently trying to use this for plugin manage : click on a tcp port (telnet, ssh, smtp ...) and type commands

see http://www.javassh.org


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 22, 2007 6:57 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14802
Location: MI, USA
There is also a group in the UK that has published a very good Java app for SSH/Telnet. I have the instructions, but have not had time to introduce into a plugin yet.

TheWitness

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

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 22, 2007 3:30 pm 
Offline
Cacti User
User avatar

Joined: Tue Jul 12, 2005 8:16 pm
Posts: 250
have you a download link ?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 22, 2007 8:55 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14802
Location: MI, USA
Will send a PM momentarily. It is based upon SSHTools.org work.

Larry

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

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 23, 2007 7:53 am 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 6012
Location: Michigan, USA
Why not just support URLs. And have instructions on how to configure your browser to open the proper supporting application... :o

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 23, 2007 8:54 am 
Offline

Joined: Wed Aug 15, 2007 4:13 pm
Posts: 26
rony wrote:
Why not just support URLs. And have instructions on how to configure your browser to open the proper supporting application... :o


I've try it. But if you do that:

for exemple : URL:Telnet
open : "c:/putty.exe" -telnet %L

But it you want do SSH you must re configure your browser
open : "c:/putty.exe" -ssh %L


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 23, 2007 9:38 am 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 6012
Location: Michigan, USA
You can define custom handlers in your browser...

Example URL:

telnet://localhost
ssh://localhost

Then you have to make sure you have that handler defined in your browsers configuration.

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 23, 2007 9:47 am 
Offline

Joined: Wed Aug 15, 2007 4:13 pm
Posts: 26
rony wrote:
You can define custom handlers in your browser...

Example URL:

telnet://localhost
ssh://localhost

Then you have to make sure you have that handler defined in your browsers configuration.



I've telnet://
but no ssh://

How do you add it in browsers configuration ?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 23, 2007 9:54 am 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 6012
Location: Michigan, USA
I was afraid you where going to ask that... :)

I don't know how to in modern browsers... :(

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 23, 2007 10:16 am 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 6012
Location: Michigan, USA
Well....

On Windows, edit and import the attached file into the registry for ssh and telnet URL support using putty.. :)

I was unable to find out how to add a shell handler for a URL. The registry file was the only thing I can think of.

Just edit the attached file with notepad and rename the extension to ".reg".


Attachments:
File comment: Putty SSH and Telnet URL protocol enabler (Rename to .reg)
putty_url_enable.reg.txt [1.63 KiB]
Downloaded 1929 times

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.
Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 23, 2007 10:58 am 
Offline

Joined: Wed Aug 15, 2007 4:13 pm
Posts: 26
work fine for telnet .

but for ssh i've a error.
i've my like : ssh://xx.xx.xx.xx

i click and :
Code:
Unable to open connection to ssh Host does not exist


i've cheak configuration "c:/putty.exe" -ssh %1

i've change to "c:/putty.exe" but the same error, so i think that ssh:// isn't recognized.

but URL:SSH protocol is present in Files Types

an idea ?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 23, 2007 2:00 pm 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 6012
Location: Michigan, USA
Worked for me...

Make sure that the file type has an open command for that, and it not set to save it.

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 24, 2007 9:12 am 
Offline

Joined: Wed Aug 15, 2007 4:13 pm
Posts: 26
you have select "Use DDE" when you configure file types in folders option ?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 24, 2007 11:16 am 
Offline
Cacti User
User avatar

Joined: Tue Jul 12, 2005 8:16 pm
Posts: 250
me too, i have a putty error ("host does not exist")
seems that putty is launching but is not parsing the url correctly

i used google and have read that url link has not been added by putty developpers and you must use pietty

pietty is not working at all for me, i don't know why

currently, i use this http://blog.erik.rainey.name/articles/tag/activedesktop


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group