News for hackers. Stuff that matters.

adionditsak

Makes sense. Was thinking the same... Just doing this for learning actually. I think it makes sense tho to do it in Python, Ruby or something else, if you want to steamline it in some way with structure/architecture. I would like to see the bash version tho :-)
Hi Nburger,

Thanks.

Yeah, Fabric is awesome. Really like it. Have not looked that much at Paramiko tho.

Hehe the shell scripts are executed one by one chronologically, but the request to the servers are asynchronously. Does not work so good yet tho... need to fix it :-)

EDIT: With that said... could be awesome we contributions.

Hi all,

I have created my second Python script, and would appreciate comments, contributions or just someone to discuss it with, as i am sure it can be optimized in many ways, as it is a part of my learning. The script is for configuring UNIX/Linux machines with shell scripts with Python - So pretty much a Python way of Fucking shell scripts.

I added it to Github so you can view it there: https://github.com/adionditsak/shellconf.py :-)

Sincerely, Anders

Shellconf.py – Simple remote configuration with shell for UNIX/Linux systems

https://github.com/adionditsak/shellconf.py

Hi all,I have created my second Python script, and would appreciate comments, contributions or just someone to discuss it with, as i am sure it can be optimized in many ways, as it is a part of my learning. The script is for configuring UNIX/Linux machines with shell scripts with Python - So pretty much a Python way of Fucking shell scripts.I added it to Github so you can view it...

( Read More... | 8 comments | 12 points | on HN )
Re:Follow-up on "Linux server monitoring tools" on Tuesday February 04, 2014 @11:04PM (#7181822)
Only current data. It is a very simple tool. If you clone it to your Web server it should work already, if you want to test it.
Re:Follow-up on "Linux server monitoring tools" on Tuesday February 04, 2014 @05:36PM (#7180733)
Nice zimbatm, i will definitely take a look at those :-) Sounds great with Nagios + cloud systems integration.
Re:Follow-up on "Linux server monitoring tools" on Tuesday February 04, 2014 @05:35PM (#7180727)
I also believe that exec() is not dangerous if you use it right, and if your www-data/apache-user do not got any sudo rights to risk someone to take advantage of your machine. This have been proved from various sources, if i know right. I understand it can be a security hole if you let the user write anything, but this is eg. not the case with Linux-dash.
Re:Follow-up on "Linux server monitoring tools" on Tuesday February 04, 2014 @05:29PM (#7180700)
Well, i did not write it! I just tested it :-) But that is how it is build. It came on HN same time as my post. Here it is: https://news.ycombinator.com/item?id=7125153
Re:Linux server monitoring tools on Tuesday February 04, 2014 @04:35PM (#7180392)
https://news.ycombinator.com/item?id=7180300 - The follow-up post is made :-)
Re:Linux server monitoring tools on Tuesday February 04, 2014 @04:35PM (#7180389)
https://news.ycombinator.com/item?id=7180300 - The follow up post is made :-)
Re:SSH fundamentals, CSSH and Fabric (Python). on Wednesday January 29, 2014 @01:43AM (#7142360)
Thank you for the feedback :-) I got a really nice comment on Reddit, regarding some other things to look out for with SSH: http://www.reddit.com/r/sysadmin/comments/1wepnf/ssh_fundame...
Re:Linux server monitoring tools on Sunday January 26, 2014 @09:03AM (#7125080)
I think it is amazing with all the great suggestions everyone here support this post with. Much appreciated - thank you :-) I will add them to the post later, as a list with an URL to their website.
Re:Linux server monitoring tools on Sunday January 26, 2014 @09:01AM (#7125074)
All the suggestions here is amazing. I will take a look at this later. At least make an edit with a list of the suggested software. Did not see this coming :-) Thank you everyone.
Re:Linux server monitoring tools on Sunday January 26, 2014 @08:39AM (#7125023)
I think it is the same :-) As far as i can see these are definitely supported: Ruby, PHP, Java .NET, Pythom, Node.js.
Re:Linux server monitoring tools on Sunday January 26, 2014 @08:38AM (#7125019)
That is nice mgz. Not tried this yet. Should give it a try soon then :-)
Re:Linux server monitoring tools on Sunday January 26, 2014 @08:04AM (#7124948)
Yes New Relic is pretty awesome. Lot of information you can monitor there, with a very easy installation. You can get a free account in there aswell, just to test it. I just made one, and i really like the simple UI: http://i.imgur.com/oGGfTrp.png

Older »