Hi,
I've written a Nagios plugin that performs many Windows checks directly
from Linux without any Windows proxy ie a client-less Window checking
plugin called check_wmi_plus (see
http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/Check-WMI-Plus/details)
Now, I'm about to release a feature that allows the use of a .ini file
where users can configure their own WMI based checks without having to
program. I've attached a sample of what the ini file looks like.
What I see happening with ini files is that users will create their own
checks and can share them with each other. I'd like to create a place
where users can post their ini files and other users can download them.
I'm trying to think of the best way to do this. There are several
options that I've thought about -
- this mailing list
- a forum somewhere
- a site using some content management system like Drupal, Joomla etc
- a custom built site
The unstructured ones eg mailing list, are simple, but make it harder to
find details.
As well as users sharing with each other, I can take the some of the
posted checks and place them in the release version of the ini file.
It would be good to put them somewhere that is already Nagios related
where where users already have logins (who needs another set of login
details!) to allow posting and I'm looking for ideas on the best place
to make this stuff available.
Please reply with ideas/recommendations?
Thanks
--
Smartmon System Monitoring <http://www.smartmon.com.au>
www.smartmon.com.au <http://www.smartmon.com.au>
# First Release Sample check_wmi_plus.ini file
#----------------------------------------------------------
# run this mode by specifying "-m checkio -s logical" on the command line
[checkio logical]
inihelp=<<EOT
MODE=checkio, SUBMODE=logical
=============================
Check logical disk IO.
ARG1: Name of the logical Windows drive to check eg C:
Use _Total to check all drives combined.
EOT
# select only one row specific to the disk we are interested in. _arg1 will be
the drive letter eg C:
query=SELECT * FROM Win32_PerfFormattedData_PerfDisk_LogicalDisk WHERE
Name="{_arg1}"
test=PercentDiskTime
test=PercentIdleTime
test=PercentDiskReadTime
test=PercentDiskWriteTime
test=DiskReadBytesPersec
test=DiskReadsPersec
test=DiskWriteBytesPersec
test=DiskWritesPersec
test=CurrentDiskQueueLength
test=AvgDiskQueueLength
test=AvgDiskReadQueueLength
test=AvgDiskWriteQueueLength
display=_DisplayMsg||~|~| - ||
display=PercentDiskTime
display=PercentIdleTime
display=PercentDiskReadTime
display=PercentDiskWriteTime
display=DiskReadBytesPersec
display=DiskReadsPersec
display=DiskWriteBytesPersec
display=DiskWritesPersec
display=CurrentDiskQueueLength
display=AvgDiskQueueLength
display=AvgDiskReadQueueLength
display=AvgDiskWriteQueueLength
perf=PercentDiskTime
perf=PercentIdleTime
perf=PercentDiskReadTime
perf=PercentDiskWriteTime
perf=DiskReadBytesPersec
perf=DiskReadsPersec
perf=DiskWriteBytesPersec
perf=DiskWritesPersec
perf=CurrentDiskQueueLength
perf=AvgDiskQueueLength
perf=AvgDiskReadQueueLength
perf=AvgDiskWriteQueueLength
#----------------------------------------------------------
# run this mode by specifying "-m checkio -s physical" on the command line
[checkio physical]
inihelp=<<EOT
MODE=checkio, SUBMODE=physical
=============================
Check physical disk IO.
ARG1: Name of the physical Windows drive to check eg C:
Use _Total to check all drives combined.
EOT
# select only one row specific to the disk we are interested in
# query needs to include "like" since the physical drive names might not be
fully as expected eg "01 C:"
# _arg1 will be the drive letter eg C:
query=SELECT * FROM Win32_PerfFormattedData_PerfDisk_PhysicalDisk WHERE Name
LIKE "%{_arg1}"
test=PercentDiskTime
test=PercentIdleTime
test=PercentDiskReadTime
test=PercentDiskWriteTime
test=DiskReadBytesPersec
test=DiskReadsPersec
test=DiskWriteBytesPersec
test=DiskWritesPersec
test=CurrentDiskQueueLength
test=AvgDiskQueueLength
test=AvgDiskReadQueueLength
test=AvgDiskWriteQueueLength
display=_DisplayMsg||~|~| - ||
display=PercentDiskTime
display=PercentIdleTime
display=PercentDiskReadTime
display=PercentDiskWriteTime
display=DiskReadBytesPersec
display=DiskReadsPersec
display=DiskWriteBytesPersec
display=DiskWritesPersec
display=CurrentDiskQueueLength
display=AvgDiskQueueLength
display=AvgDiskReadQueueLength
display=AvgDiskWriteQueueLength
perf=PercentDiskTime
perf=PercentIdleTime
perf=PercentDiskReadTime
perf=PercentDiskWriteTime
perf=DiskReadBytesPersec
perf=DiskReadsPersec
perf=DiskWriteBytesPersec
perf=DiskWritesPersec
perf=CurrentDiskQueueLength
perf=AvgDiskQueueLength
perf=AvgDiskReadQueueLength
perf=AvgDiskWriteQueueLength
#----------------------------------------------------------
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null