Nagios Enabling External Command on Debian based Distributions

While debugging my check disk problem after the 15.10 upgrade, I saw that I forgot to enable external commands. That is handy, when you want to re-schedule a check to see, if your changes took effect. Again, something that is easily activated. So if you see something like this, then you might want to make some changes:


Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’!


The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands. An error occurred while attempting to commit your command for processing.
Continue reading “Nagios Enabling External Command on Debian based Distributions”

check_process_runtime v1.0 Released

After revamping the site a bit to support multiple projects and some other stuff I finally found the time to upload some projects. The first is the check_process_runtime plugin for Nagios.

check_process_runtime has a simple purpose. Find processes that run for too long. You can give the script the name of the process or part of the process. It will then determine if the process will cause a warning or if it is critical. This happens by determining if a process runs too too long since it started. This is a Nagios plugin that will only run on Linux. It is using special features that are only available on Linux and on no other Unix or Windows!

But, again, I talk too much. The download is readily available here.

Y’all have a great night and please play with the plugin and tell me about the problems, questions, etc you have.