List all Ini Files

dell.ini

Description: 

Some basic checks for Dell hardware, if the Dell OpenManage Applications are installed.
Currently, I check the fans, temperature and the power supply.


./check_wmi_plus.pl -H myHost -u myUser -p myPass -m dell -s model
./check_wmi_plus.pl -H myHost -u myUser -p myPass -m dell -s power -c 2
./check_wmi_plus.pl -H myHost -u myUser -p myPass -m dell -s fan
./check_wmi_plus.pl -H myHost -u myUser -p myPass -m dell -s temp -w 400 -c 500

checkad replication

Description: 

NEW CATEGORIES: Active Directory, Replication
Checks the full replication of an Active Directory and replaces the original code from the check_wmi_plus.ini file (which does not really check the replication).
Tested with AD 2012/2012R2 and shows the number of failed replicas.

Check Services

Description: 

Check all windows services that are in Autostart but not running.
Service sppsvc is excluded.


./check_wmi_plus.pl -H -u -password -m checkservices -w 0 -x 0

A Useful Sample

Description: 

This sample actually contains a couple of useful checks.
They check IO performance. The first check against a logical drive, the second against a physical drive.
Fields to check for Warning/critical states are provided along with performance data.

The Logical check needs a single parameter - the Windows drive letter eg C:
If you do not specify ARG1 then the check will not work.

The Physical check needs a single parameter - the Windows drive letter eg C:
If you do not specify ARG1 then the check will return information on the first drive it finds (because the query uses LIKE and %.)

I have not tested the physical check on too many systems so the physical drives names might not be as expected. If you are not finding what you expect leave ARG1 blank and use the -d parameter to view the debug output and find the actual WMI Query output - that will include the actual physical drives names for that specific system.

A Nearly Useful Sample

Description: 

This sample contains a single check that is nearly useful. It is useful since it returns useful information, but it is only nearly useful since the core mode, checkprocess, actually does it better. This was actually the first way I planned to implement this check, but then decided it would be better off as and option to checkprocess.

A Minimal Sample

Description: 

This sample shows a very minimalistic check. It includes the minimum ini fields to make the check usable - inihelp, query and display.
This is not a very useful check in itself.

A Complete Sample

Description: 

This sample shows a complete check (ie uses/list every possible setting) and heavily documents how each field should be used.
This is not a very useful check in itself (although it should largely work).