KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Editing Profiles and Scripts
Goto page 1, 2  Next
 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
pspencer008



Joined: 30 Jul 2014
Posts: 34

PostPosted: Fri Jan 16, 2015 5:04 am    Post subject: Editing Profiles and Scripts Reply with quote

Morning guys,

Is there a way or are you coming up with a way to export the profiles and scripts to human readable format (text files) so they can be edited in notepad and then reimported?

Thanks

Paul
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Fri Jan 16, 2015 5:45 am    Post subject: Reply with quote

Profiles? Yes but not anytime soon.
Scripts? Shell scripts, Active scripts, Log Analyzer scripts, HMScripts - they all in human readable format (text)

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
pspencer008



Joined: 30 Jul 2014
Posts: 34

PostPosted: Fri Jan 16, 2015 6:04 am    Post subject: Reply with quote

KS-Soft wrote:
Profiles? Yes but not anytime soon.
Scripts? Shell scripts, Active scripts, Log Analyzer scripts, HMScripts - they all in human readable format (text)

Regards
Alex


Sorry by scripts I meant shell scripts, where are they in human readable?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Fri Jan 16, 2015 6:32 am    Post subject: Reply with quote

Script Manager shows script when script stored as part of profile.
Also you may store scripts in external files, just modify "Start cmd" string for script profiles - type path to script file instead of %Script% variable

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
pspencer008



Joined: 30 Jul 2014
Posts: 34

PostPosted: Fri Jan 16, 2015 7:15 am    Post subject: Reply with quote

KS-Soft wrote:
Script Manager shows script when script stored as part of profile.
Also you may store scripts in external files, just modify "Start cmd" string for script profiles - type path to script file instead of %Script% variable

Regards
Alex


Thanks for that, We have shell scripts in script manager but when we export them they are in a non readable format, is there any way or tool you offer to read this export file?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Fri Jan 16, 2015 9:29 am    Post subject: Reply with quote

Not sure why do you need this.
Its easy to copy-paste script...

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
pspencer008



Joined: 30 Jul 2014
Posts: 34

PostPosted: Fri Jan 16, 2015 10:02 am    Post subject: Reply with quote

KS-Soft wrote:
Not sure why do you need this.
Its easy to copy-paste script...

Regards
Alex


Yeah I was thinking copy and paste but for 40 odd scripts it's a little time consuming, we are looking for a way to record, track and compare changes and also compare scripts from one host monitor installation to another?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Fri Jan 16, 2015 12:04 pm    Post subject: Reply with quote

Quote:
we are looking for a way to record, track and compare changes and also compare scripts from one host monitor installation to another?

Then I think its better to store scripts in external files.
but yes, you will need to copy them manually (one time)

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
pspencer008



Joined: 30 Jul 2014
Posts: 34

PostPosted: Mon Jan 19, 2015 6:54 am    Post subject: Reply with quote

KS-Soft wrote:
Quote:
we are looking for a way to record, track and compare changes and also compare scripts from one host monitor installation to another?

Then I think its better to store scripts in external files.
but yes, you will need to copy them manually (one time)

Regards
Alex


Alex,

Thanks for that, just to clarify, when the scripts are stored externally they need to be on the remote server don't they, or can they be stored on the Host Monitor monitoring server?

Thanks again

Paul
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Mon Jan 19, 2015 7:13 am    Post subject: Reply with quote

Script should be located on system that will run script.
If test performed by HostMonitor, script file should be located on HostMonitor system.
If test performed by RMA, script file should be located on RMA system.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
pspencer008



Joined: 30 Jul 2014
Posts: 34

PostPosted: Mon Jan 19, 2015 8:24 am    Post subject: Reply with quote

KS-Soft wrote:
Script should be located on system that will run script.
If test performed by HostMonitor, script file should be located on HostMonitor system.
If test performed by RMA, script file should be located on RMA system.

Regards
Alex


Alex,

Thats the problem, we have 40 odd scripts to be performed by 32 odd RMA's.
The Script manager within HostMonitor is awesome at enabling us to edit the one script and have that new script ran on all the RMA's. If we start storing scripts on each RMA, when we come to improve a script we will have to push it out to each RMA that runs it.

This wouldn't be possible due to the risk of human error and effort to deploy one script.

Could you please develop a viewer/editor for script export/import files?

Thanks

Paul
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Mon Jan 19, 2015 9:42 am    Post subject: Reply with quote

How this Viewer can be (should be) different from current Shell Script Manager?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
pspencer008



Joined: 30 Jul 2014
Posts: 34

PostPosted: Mon Jan 19, 2015 10:12 am    Post subject: Reply with quote

KS-Soft wrote:
How this Viewer can be (should be) different from current Shell Script Manager?

Regards
Alex


I was thinking so people can use the export function within the script manager and then edit the scripts in bulk using a text editor.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Mon Jan 19, 2015 11:11 am    Post subject: Reply with quote

Do you want to load all scripts as single text file? Not sure I understand advantage of such function. I think this will lead to mistakes in code...

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
pspencer008



Joined: 30 Jul 2014
Posts: 34

PostPosted: Fri Jan 23, 2015 2:54 am    Post subject: Reply with quote

Alex,

We have 2 installations of HostMonitor, one used by the developer's and one used by the support team.

We both make tweaks to the scripts via the script manager, when we come to reconcile the changes it is impossible to use the exported file as notepad++ cant open it to utilize the compare plugin to review the changes.

We do use the version number and the history feature within the script manager but that doesn't highlight and show you the differences between the two scripts.

If you could make HostMonitor export/import the scripts in txt format that would be ideal.

Paul
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index