Skip to content

Linux DevOps blog

Linux DevOps blog

Logging Linux CIFS and NFS traffic in Zabbix

Leave a Comment / Awk, Bash, Zabbix / By IvoPalli

Logging Linux CIFS and NFS traffic in Zabbix The entire script can be downloaded at the end of the article, so no need to copy/paste. I recently started at a new job where one of the first challenges was to set up monitoring on a large storage cluster. The cluster has two servers acting as …

Logging Linux CIFS and NFS traffic in Zabbix Read More »

Using gawk interactively to query a database

Leave a Comment / Awk / By IvoPalli

Using gawk interactively to query a database In my previous post I showed you how to install a JBDC client to access a MaxDB database. Since I got that running I ran into an issue where I needed to retrieve a filepath from my database. This filepath was broken up into it individual components with …

Using gawk interactively to query a database Read More »

JDBC to MaxDB on the Linux commandline

Leave a Comment / Tools / By IvoPalli

JDBC to MaxDB on the Linux commandline ODBC is Microsofts effort into creating a unified way of talking to databases. Sure, you don’t get all of the bells and whistles that that particular database offers, but it does give you the option of talking to a database and getting the basics like reading and writing …

JDBC to MaxDB on the Linux commandline Read More »

Finding software alternatives

Leave a Comment / Tools / By IvoPalli

Finding software alternatives Sometimes you find a piece of software that’s not a complete fit for your problem. But what other similar software packages are there? A good place to check is https://alternativeto.net/ Here you can enter the name of what you found so far and see if there are any alternatives for you to …

Finding software alternatives Read More »

A slightly better debug printf

Leave a Comment / C / By IvoPalli

A slightly better debug printf While I’m familiar with tracing code in a debugger, I still use printf() a lot during debugging. However it’s worth it to make some small improvements. Introducing this little include file. (Call it debug.h) It has a number of features. For one, you can easily turn on or off debug …

A slightly better debug printf Read More »

Chainloading JS libraries

Leave a Comment / Javascript / By IvoPalli

Chainloading JS libraries on the fly Loading Javascript libraries with <script src=””> lines is easy. But there are instances when you need to load JS libraries but you can’t use that. One example is loading HTML into a <div> via JS. Any <script src=””> lines are just ignored. That’s way you want to be able …

Chainloading JS libraries Read More »

Adding files to your binary

Leave a Comment / C / By IvoPalli

Adding files to your binary There are a lot of advantages to splitting up your files. If your program has a web interface for example, it’s easier to add the images and HTML files as separate files. But sometimes it’s nice if your program could wrap up itself and all the little files it uses …

Adding files to your binary Read More »

The start of a blog

Leave a Comment / Uncategorized / By IvoPalli

The life of an IT guy is one of always learning. And since I have to spend a lot of time finding solutions to problems, I decided to write up some of the solutions I found, in the hope of saving other people time.

Recent Posts

  • Logging Linux CIFS and NFS traffic in Zabbix
  • Using gawk interactively to query a database
  • JDBC to MaxDB on the Linux commandline
  • Finding software alternatives
  • A slightly better debug printf

Archives

  • January 2022
  • December 2021
  • November 2021

Copyright © 2022 Linux DevOps blog | Powered by Astra WordPress Theme