O'Reilly logo

Learning Nagios - Third Edition by Piotr Beltowski, Wojciech Kocjan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Learning command-line interfaces

So far, we have discussed using web-based applications to view the current status and manage things such as downtimes or comments.

There are also multiple tools that let us perform the same operations from the command line in a convenient way.

Using nagios_commander

One tool that provides an easy way to manage Nagios and view its data from command line is nagios_commander.

This is a shell script that communicates with Nagios using the web interface, using HTTP-based authentication. Since it is communicating over the network, the script can be run on any machine, not only on the machine where Nagios is running. It can also be used to manage multiple Nagios instances from a single machine.

All that is needed is to have ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required