Display nagios status on the desktop using conky

Conky is a lightweight system monitor which displays arbitrary information on the linux desktop. I wanted to display the nagios status not only in the firefox browser (using the “nagios checker” extension), but also from the desktop. I found a shell script which was written for xfce and adapted it to output conky compatible output.

How to use it:

  • copy-paste the nagiosmon.sh script into a file, e.g. $HOME/bin/nagiosmon.sh, and make it executable with chmod +x
  • add the call to nagiosmon in your .conkyrc file:
    ${execpi 53 $HOME/bin/nagiosmon.sh}

Ref: http://dieter.plaetinck.be/nagios_monitoring_in_your_desktop_panel_aka_Xfce_Genmon_panel_plugin_rules#comment-5914

~~LINKBACK~~

chris, 2010-07-07 23:21

When I try to view nagiosmon.sh, I get “Permission Denied Sorry, you don't have enough rights to continue. Perhaps you forgot to login? ”

Floyd, 2010-07-12 13:58

It was a permission problem. Fixed.

Thanks for reporting!

Enter your comment. Wiki syntax is allowed:
If you can't read the letters on the image, download this .wav file to get them read to you.