Nagios Plugin to Enumerate and Erase disks on rack mounted servers

Closed

I work for a small NOC. Customers Have asked for the ability to erase disks on hosted servers. All servers run some flavor of Linux, Mostly SLES and Red Hat.

Project:

We need a NAGIOS style plugin to erase disks, using a number of methods outlined below.

Project must be written in Perl, preferably Object Oriented Perl

Must be written in pure Perl.

Minimum Perl version on each server is [url removed, login to view]

The Following Perl Modules are allowed::

All Standard Perl modules

XML:Simple

YAML::Syck

Net::Snmp

Net::Telnet

Net::Ftp

Storeable

Other modules by Arrangement

Machines:

There can be 2 to 24 disks on each server, A customer can own more than one server in a rack, or have a whole rack of servers.

SSH is used to communicate between servers.

Plugin:

Plugin will be run as root

Needs to do 2 to 24 disks and up

built in help

one, many or all disks can be targeted by block device name or slot number ( see below)

Needs to use the following utilities;

dd

Dban Dwipe

Controller based secure erase ( see below)*

dd can be used to 'zero' drives'

Dban option need only support 'DoD 5220-22-M standard 3-pass' standard

**Preferred method** is controller based secure erase.

All RAID/Disk controllers are made by LSI.

MegaCLI utility is installed on all servers

MegaCli commands and SNMP commands are available to be used.

LSI provides extensive documentation on their website about how to use this utility

SNMP is also available for monitoring

MegaCLi examples;

MegaCli -SecureErase

Start[

Simple|

[Normal [ |ErasePattern ErasePatternA|ErasePattern ErasePatternA ErasePattern ErasePatternB]]|

[Thorough [ |ErasePattern ErasePatternA|ErasePattern ErasePatternA ErasePattern ErasePatternB]]]

| Stop | ShowProg | ProgDsply [-PhysDrv [E0:S0,E1:S1,...] | -Lx|-L0,1,2|-LALL] -aN|-a0,1,2|-aALL

Progress can also be tracked from Controller Logs. There are existing NAGIOS Plugins to monitor disks via megacli/snmp

There are important considerations to be made,versus controller output and Linux output. Linux devices must be mapped to Controller devices and/or slots

We need to be sure we are targeting the right disks

Disks can be in JBOD/ RAID 0/ RAID 1/RAID 5/RAID6 configurations. controller commands must be used to tear down RAID config on the drives, LINUX core utilities can be used to determine drive health, mount/unmount the target device(s)

Skills: Linux, Perl, Shell Script

See more: linux nagios, xml utilities, how to use plugin, c versus c++, nagios nagios, a0, raid 5, rack, NOC, nagios, monitor drive, erase a, snmp commands, ssh net, net ftp ssh, tear, nagios plugins perl, device controller, simple slots, health device, slot net, determine using device, mounted, monitor via telnet, monitor servers

Project ID: #4400550

6 freelancers are bidding on average $382 for this job

damirmarkovic

I have a lot of experience in Perl scripting in general and I've done a few scripts similar to what you requested. All of my code is well commented so it is easy to maintain it later. If you have any questions, pleas More

$357 USD in 5 days
(71 Reviews)
5.4
lepoitr

I'm interested in that project. I'm experienced (15+) perl web developer and linux administrator. Please see PM.

$525 USD in 7 days
(2 Reviews)
1.8
lecyberian

I have over 10+ Years of experience with Linux , Unix Servers, Data centers and VMware ESXi expertise. I can do this project. Lets get started

$525 USD in 10 days
(1 Review)
1.6
bpetrusek

I have worked with large scale Nagios implementation and custom modules for years. I have also worked with Perl for over 10 years.

$225 USD in 5 days
(0 Reviews)
0.0
pardeepkaursonia

Please check PMB

$400 USD in 14 days
(0 Reviews)
0.0
popovicerik

I have a Software firm in Europe (but I am American) one of my guys is CCIE certified and worked for Microsoft I am pretty sure he can do it if you want to proceed. But I would have to ask him if the price is ok.

$262 USD in 3 days
(0 Reviews)
0.0