Tags » SysAdmin

Sorting out time zones in Rails

Nothing more annoying that an app which cannot sort out or at least tell you in what time zone the date displayed is given in. … 237 more words


Solaris 10: how to build and install Nagios Core as a service

For the few who have never heard of Nagios, it is one of the most used monitoring software, completely open source and under active development. It can watch events happening on both hosts (supporting a broad range of operating systems) and network devices, alerting users when a resource, a service or an application fails and also when its functionality is restored. 2,581 more words


Using cloud-init and uvtool to initialize cloud instances (including local Fedora/Ubuntu cloud images)

CloudInit is the defacto multi-distribution package that handles early initialization of a cloud instance. Its a kind of “chef/puppet/kickstart/anaconda” for cloud images. cloud-init behavior can be configured via user-data and injected into image from a datasource. 776 more words

Solaris 10: how to build and install Spine for Cacti

Spine executable is a data gatherer for Cacti and it’s called at regular intervals by a poller script written in PHP (named poller.php). It has to be as fast as possible because it must collect a large set of data within a small time window, doing for example hundreds of snmpget towards remote devices or executing several custom shell scripts at once. 632 more words


Create admin user in Rails

For obvious reasons, any way to create an admin user through the web interface should be forbidden: exclude the admin field in whatever form you have decided to implement it, from the… 147 more words


Using systemd in Linux (services, journal, locale, network, container, ...)

systemd is a suite of basic building blocks for a Linux system. It provides a system and service manager that runs as PID 1 and starts the rest of the system. 4,965 more words

Deploying Rails in Heroku using AWS S3 to store carrierwave files

I am developing an app which requires users to upload pictures on updates. Heroku allows only for transient pictures, staying alive only minutes or seconds in its temporary storage. 419 more words