Tag Archives: automation

Parse list_disk.pl to configure disk checks for nagios.

I wrote a post earlier regarding listing the available disks on a remote server using list_disks.pl and NRPE. This time, I’m going to provide a code snippet that you can use to parse that output. The code isn’t very complicated, so I’ll just provide it for your uses. my $list_disks = 'list_disks'; my $libexec = [...]
Posted in Nagios | Also tagged , | Leave a comment

List disks on linux server for nagios.

I wrote this simple script that I named list_disks.pl to help me configure my hosts. I use it as a NRPE check to query a server for all of its available disks, and parse the output to write configuration files. It is useful for automating host configuration files when the hosts don’t have consistent naming [...]
Posted in Nagios | Also tagged , , | Leave a comment