Update softwar repo, install gcc, create temporary installation dirs, create nagios user, install xinetd, download and compile NRPE…
apt-get update ; apt-get install gcc -y ; mkdir /tmp/download ; useradd nagios -s /bin/false ; mkdir /usr/local/nagios ; chown nagios:nagios /usr/local/nagios ; cd /tmp/download ; apt-get install xinetd -y ; wget http://sourceforge.net/projects/nagios/files/nrpe-2.x/nrpe-2.13/nrpe-2.13.tar.gz ; wget http://www.nagios-plugins.org/download/nagios-plugins-2.1.1.tar.gz ; tar zxvf nrpe-2.13.tar.gz ; cd nrpe-2.13 ; ./configure --disable-ssl --with-nrpe-user=nagios --with-nrpe-group=nagios --with-nagios-user=nagios --with-nagios-group=nagios --libexecdir=/usr/local/nagios/libexec/ --bindir=/usr/local/nagios/bin/ --prefix=/usr/local/nagios ; make all ; make install-plugin ; make install-daemon ; make install-daemon-config ; make install-xinetd ; update-rc.d xinetd defaults
nano -w /etc/xinetd.d/nrpe
add ip address of the monitoring nagios server
only_from = 127.0.0.1 <ip_address_of_monitoring_server>
nano -w /etc/services
Make sure this line ‘nrpe 5666/tcp # NRPE‘ is on the file, or add it in the end, then save, exit and restart xinetd:
service xinetd restart
netstat -at | grep nrpe
cd ../ ; tar zxvf nagios-plugins-2.1.1.tar.gz ; cd nagios-plugins-2.1.1 ; ./configure --with-nagios-user=nagios --with-nagios-group=nagios ; make ; make install
Config file of NRPE (nrpe.cfg) is located in /usr/local/nagios/etc/nrpe.cfg
You can add different commands in there Continue reading “Set up NRPE (v2.13) with xinetd in ubuntu server 14.04”
HACCSY abbreviation stands for Hackerspace Access Control and Check in System and that’s pretty much what it does.
HACCSY app is meant to run on a RaspberryPi that’s connected to internet and the front door electric strike lock. It does the job of a simple Check in System and Door Access Control System (2 in 1), it queries a REST service by handing it the scanned in RFID card reader and it will return ‘true’ if the key owner owes less than 2 months worth of their monthly payment. It will return ‘false’ otherwise. It does the same for checking in and out. The computer would then send the signal to the door lock actuator to open it if returned true or do nothing if false. It has a check IN/OUT button to indicate Check IN or Check OUT. It also has an LCD backlight display that displays messages for the user, and an RGB LED that turns RED for Access Denied, GREEN for Access Granted and WHITE to indicate offline mode. Through the REST API, you can also make it available for others to see if the hackerspace is open or not. See working example on the website header at http://www.prishtinahackerspace.org
Code available on Github
HACCSY is built with the following hardware and electronic components: Continue reading “HACCSY – Hackerspace Access Control and Check in System”
Wiki Loves Monuments is an international photo contest for monuments running this September, organized by Wikimedia globally, as well as FLOSSK in Kosovo and Open Labs Albania.
Cultural heritage is an important part of the knowledge that Wikipedia collects and disseminates. Everybody can contribute images as well as write articles. An image is worth a thousand words, in all languages at once, and enthusiastic people can (re)discover the cultural, historic, and scientific significance of their neighborhoods by uploading photos to Wikimedia.
In 2012, Wikipedia volunteer communities in 35 countries joined this initiative. In 2014 nearly 40 countries all over the world are participating through national contests organized with their national monuments, partners, rules, events and winners. Continue reading “Wiki Loves Monuments photo competition running for the second year in Albania and Kosova”
Every little bit counts, and your bits certainly gave us more than a byte. Prishtina Hackerspace is your success, as much as it is ours now.
Thanks to people’s generous support on Kickstarter, Prishtina Hackerspace now has the necessary means to have a sustained impact and be the source of even more community-based innovative projects.
We managed to reach the aimed goal of $15,000 in funding, and we ended up with a total of ~$ 17,000 of funding.
See the campaign here: https://www.kickstarter.com/projects/1731685895/lets-build-a-hackerspace-in-kosovo
Continue reading “Prishtina Hackerspace: We made it on Kickstarter”
“I am what I am because of who we all are” says the Ubuntu philosophy from a Southern African region, which is based on the belief in a universal bond of sharing that connects all humanity. That’s how Free and Open Source communities try to function globally.
I’ve been a community guy since the age of 14. That was when I started my professional journey, and that was also when I joined Kosovo’s tech community.
Being a part of this community has led me to ask some questions: How can my work impact the community around me, and how can communities change societies?
At 14, I joined FLOSSK, a nonprofit whose acronym stands for “Free Libre Open Source Software Kosova”, a not for profit organization that had just been conceived at that time – back then, a small group of people with one cause in common: that of free and open source software and knowledge. That cause quickly became my way of life, and an indivisible part of me. Continue reading “My speech at TEDx Prishtina – 2014”
Wiki Loves Monuments photo competition organized for the first time in Kosovo and Albania
Wiki Loves Monuments is an international photo contest for monuments running this September, organized by Wikimedia globally, as well as in Kosovo and Albania organized by FLOSSK and Open Labs.
Cultural heritage is an important part of the knowledge that Wikipedia collects and disseminates. Everybody can contribute images as well as write articles. An image is worth a thousand words, in all languages at once, and enthusiastic people can (re)discover the cultural, historic, and scientific significance of their neighbourhoods by uploading photos to Wikimedia.
In 2012, Wikipedia volunteer communities in 35 countries joined this initiative. In 2014 nearly 40 countries all over the world are participating through national contests organized with their national monuments, partners, rules, events and winners.
The organizers – FLOSSK from Kosovo and Open Labs from Albania – with the support of the Institutes for the Protection of Cultural Monuments in Kosovo and Albania, through digital access to cultural monuments, want to promote the cultural heritage of the respective countries to the world. Continue reading “Wiki Loves Monuments – Albania & Kosovo”
Some of you may know me as a FLOSS and GNU/Linux enthusiast and activist since late 2009 (when I was 14) and that dealing with Free and Open Source software was always a natural outcome of my dedication and willingness to expand my knowledge and learn more about FLOSS ideology and the awesome community behind it.
You may know me as Altin, the FLOSSK guy that has been working together with his friends the last years on promoting, developing and translating Free/Libre and Open Source Software in his lovely small country – Kosovo. But this time the story takes place in Louisville, Kentucky.The city that I came in as an exchange student from Kosovo.
Folks, I wanted to share 1/4 of my great story of being an exchange student in this country, or better saying; an update on what i was working on during most of my stay here. I would like to keep it short this time as I will be blogging again after May 18th when this event is done! (That will be a more “in depth” story)
During my stay in a completely new environment with different culture, different language, different mentality, and knowing nobody, I managed to put a team together to organize the first (and looking to be very successful) Open Source Software Conference in Kentucky – MOSSCon (Midwest Open Source Software Conference).
Being still an High School student with a limited amount of time, MOSSCon is a challenge that was worth starting it and it is something that I will always be proud of. I am happy to have initiated and leaded this conference and I am even happier to have met all these awesome people that taught me these important steps for my career. I am glad that after I leave this country, someone will remember me of doing a good thing and I will remember that I left something good behind. A group of people that I will never forget, a group of people that will continue organizing an awesome annual conference about Free and Open Source Software in Kentucky.
MOSSCon in now on the process of being a registered 5o1[c]3, we already formed the board of directors and we are almost done with the papers and all that… I’d like to point out here something that is very important about it and motivated me even more, something that I never expected to happen, especially (in US) at this time and at this age; The board members elected me as the “board president”.
This is not over yet, the most important part of it is yet to come, and we’ll see the results on May 18th. There is still lots of work to do!
We had lots of people joining and leaving the organizing team, but MOSSCon stays a community driven conference; “By the people, for the people” as we like to say it, and all credits go to the “organizing team” which is mostly made out of KYOSS (Kentucky Open Source Software Society) and a group of enthusiasts who share the same vision that the software should be Free and Open to the community to develop and adapt it to their needs. A community of enthusiasts of all age groups that is established to promote software freedom, open source software, free culture and open knowledge, a global movement that originally started more than 25 years ago. Continue reading “MOSSCon 2013”