HNHacker News
TopNewBestAskShowJobs

adionditsak

362 karma · joined January 22, 2014

submissionscomments
adionditsak··on Shellconf.py – Simple remote configuration with shell for UNIX/Linux systems
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 :-)
adionditsak··on Shellconf.py – Simple remote configuration with shell for UNIX/Linux systems
Hi Nburger,

Thanks.

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

adionditsak··on Shellconf.py – Simple remote configuration with shell for UNIX/Linux systems
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.

adionditsak··on Shellconf.py – Simple remote configuration with shell for UNIX/Linux systems
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

adionditsak··on Follow-up on "Linux server monitoring tools"
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.
adionditsak··on Follow-up on "Linux server monitoring tools"
Nice zimbatm, i will definitely take a look at those :-) Sounds great with Nagios + cloud systems integration.
adionditsak··on Follow-up on "Linux server monitoring tools"
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.
adionditsak··on Follow-up on "Linux server monitoring tools"
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
adionditsak··on Linux server monitoring tools
https://news.ycombinator.com/item?id=7180300 - The follow-up post is made :-)
adionditsak··on Linux server monitoring tools
https://news.ycombinator.com/item?id=7180300 - The follow up post is made :-)
adionditsak··on SSH fundamentals, CSSH and Fabric (Python).
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...
adionditsak··on Linux server monitoring tools
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.
adionditsak··on Linux server monitoring tools
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.
adionditsak··on Linux server monitoring tools
I think it is the same :-) As far as i can see these are definitely supported: Ruby, PHP, Java .NET, Pythom, Node.js.
adionditsak··on Linux server monitoring tools
That is nice mgz. Not tried this yet. Should give it a try soon then :-)
adionditsak··on Linux server monitoring tools
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
adionditsak··on Linux server monitoring tools
https://github.com/ClockworkNet/wtop might be a option
adionditsak··on Linux server monitoring tools
Yes, most people know of them :-) I just felt like presenting them to people who might not know of them and their strengths. Why not present tools, although many know of them already? I think it is important to talk freely about any software, as there is always someone who might not know them. I appreciate this myself, and i am actually also new with *nix systems. If everyone had the same approach to information as you, i would not be a part of it.
adionditsak··on Python for system administration
What do you think about Python for system administration?