FAN

RSS Feeds

  • Home
  • News
  • Download
  • Documentation
  • FAQ
  • Contribute
  • Support
  • Team
  • Demo
hpevaperf_009

Get Trend on HP EVA Storage Array with check_wmi_plus

May 13th

Posted by lkco in News

No comments

Hi all,

I am inspired on cacti evaperf to monitor HP EVA Storage Array and i wrote an ini file for check_wmi_plus plugin. You can use it with Nagios, Shinken, Centreon Engine, Icinga…It’s a free and easy solution to monitor the HP EVA Storage Array

So I suppose check_wmi_plus plugin is installed on your monitoring engine and “Command View EVA” is installed and working on Windows Server.

The WMI Class used :

  • Win32_PerfRawData_EVAPMEXT_HPEVAPhysicalDiskGroup
  • Win32_PerfRawData_EVAPMEXT_HPEVAHostPortStatistics
  • Win32_PerfRawData_EVAPMEXT_HPEVAHostConnection
  • Win32_PerfRawData_EVAPMEXT_HPEVAStorageArray
  • Win32_PerfRawData_EVAPMEXT_HPEVAStorageController

You can test the “HP WMI Storage Providers” service is running

/bin/wmic -U "login"%"password" //Host 'Select Name from Win32_PerfRawData_EVAPMEXT_HPEVAStorageController'

If your wmic command gets you this :

ERROR: Retrieve result data.

Solution :

Stop Winmgmt service
Restart HPWMISTOR service
Start Winmgmt service

So, here my config file ini for check_wmi_plus : checkhpeva.ini

[checkhpeva listphysicaldiskgroup]
query=Select * from Win32_PerfRawData_EVAPMEXT_HPEVAPhysicalDiskGroup
display=Name

[checkhpeva physicaldiskgroup]
query=Select * from Win32_PerfRawData_EVAPMEXT_HPEVAPhysicalDiskGroup where Name="{_arg1}"
display=DriveLatencyus
display=DriveQueueDepth
display=ReadKBPers
display=ReadLatencyus
display=ReadReqPers
display=WriteKBPers
display=WriteLatencyus
display=WriteReqPers
perf=DriveLatencyus||DriveLatencyus
perf=DriveQueueDepth||DriveQueueDepth
perf=ReadKBPers|KB/s|ReadKBPers
perf=ReadLatencyus||ReadLatencyus
perf=ReadReqPers|/s|ReadReqPers
perf=WriteKBPers|KB/s|WriteKBPers
perf=WriteLatencyus||WriteLatencyus
perf=WriteReqPers|/s|WriteReqPers

[checkhpeva listhostportstatistics]
query=Select * from Win32_PerfRawData_EVAPMEXT_HPEVAHostPortStatistics
display=Name|#

[checkhpeva hostportstatistics]
query=Select * from Win32_PerfRawData_EVAPMEXT_HPEVAHostPortStatistics where Name="{_arg1}"
display=AvQueueDepth
display=ReadKBPers
display=ReadLatencyus
display=ReadReqPers
display=WriteKBPers
display=WriteLatencyus
display=WriteReqPers
perf=AvQueueDepth||AvQueueDepth
perf=ReadKBPers|KB/s|KB_Read_From_Cache_Per_Second
perf=ReadLatencyus||ReadLatencyus
perf=ReadReqPers|/s|ReadReqPers
perf=WriteKBPers|KB/s|KB_Write_Per_Second
perf=WriteLatencyus||WriteLatencyus
perf=WriteReqPers|/s|WriteReqPers
[checkhpeva listhostconnection]
query=Select * from Win32_PerfRawData_EVAPMEXT_HPEVAHostConnection
display=Name|#

[checkhpeva hostconnection]
query=Select * from Win32_PerfRawData_EVAPMEXT_HPEVAHostConnection where Name="{_arg1}"
display=QueueDepth
perf=QueueDepth||{Name} Average_Queue_Depth

[checkhpeva liststoragearray]
query=Select * from Win32_PerfRawData_EVAPMEXT_HPEVAStorageArray
display=Name|#

[checkhpeva storagearray]
query=Select * from Win32_PerfRawData_EVAPMEXT_HPEVAStorageArray where Name="{_arg1}"
display=TotalhostKBPers
display=TotalhostReqPers
perf=TotalhostKBPers|KB/s|Total_Host_KB_Per_Second
perf=TotalhostReqPers|/s|Total_Host_Requests_Per_Second

[checkhpeva liststoragecontroller]
query=Select * from Win32_PerfRawData_EVAPMEXT_HPEVAStorageController
display=Name|#

[checkhpeva storagecontroller]
query=Select * from Win32_PerfRawData_EVAPMEXT_HPEVAStorageController where Name="{_arg1}"
display=PercentDataTransferTime
display=PercentProcessorTime
perf=PercentDataTransferTime|%|PercentDataTransferTime
perf=PercentProcessorTime|%|PercentProcessorTime
  [checkhpeva listvirtualdisk]
query=Select * from Win32_PerfRawData_EVAPMEXT_HPEVAVirtualDisk
display=Name|#

[checkhpeva virtualdisk]
query=Select * from Win32_PerfRawData_EVAPMEXT_HPEVAVirtualDisk where Name like "%{_arg1}%"
display=ReadHitKBPers
display=ReadHitLatencyus
display=ReadHitReqPers
display=ReadMissKBPers
display=ReadMissLatencyus
display=ReadMissReqPers
display=WriteKBPers
display=WriteLatencyus
display=WriteReqPers
perf=ReadHitKBPers|KB/s|ReadHitKBPers
perf=ReadHitLatencyus||ReadHitLatencyus
perf=ReadHitReqPers|/s|ReadHitReqPers
perf=ReadMissKBPers|KB/s|ReadMissKBPers
perf=ReadMissLatencyus||ReadMissLatencyus
perf=ReadMissReqPers|/s|ReadMissReqPers
perf=WriteKBPers|KB/s|WriteKBPers
perf=WriteLatencyus||WriteLatencyus
perf=WriteReqPers|/s|WriteReqPers

 

Save checkhpeva.ini file in check_wmi_plus.d directory. FYI, I dont want to be able the test on warn/critical criteria. it is an improvement to do :-)

Create Nagios command :

define command{
  command_name                    check_hpeva_hostconnection
  command_line                    $USER1$/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkhpeva -s allhostconnection -a $ARG3$
  ;$ARG1$                         login
  ;$ARG2$                         password
  ;$ARG3$                         physicaldiskgroup
}

define command{
  command_name                    check_hpeva_hostportstatistics
  command_line                    $USER1$/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkhpeva -s hostportstatistics -a $ARG3$
  ;$ARG1$                         login
  ;$ARG2$                         password
  ;$ARG3$                         hostportstatistics
}

define command{
  command_name                    check_hpeva_physicaldiskgroup
  command_line                    $USER1$/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkhpeva -s physicaldiskgroup -a $ARG3$
  ;$ARG1$                         login
  ;$ARG2$                         password
  ;$ARG3$                         physicaldiskgroup
}

define command{
  command_name                    check_hpeva_storagearray
  command_line                    $USER1$/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkhpeva -s storagearray -a $ARG3$
  ;$ARG1$                         login
  ;$ARG2$                         password
  ;$ARG3$                         storagearray
}

define command{
  command_name                    check_hpeva_storagecontroller
  command_line                    $USER1$/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkhpeva -s storagecontroller -a $ARG3$
  ;$ARG1$                         login
  ;$ARG2$                         password
  ;$ARG3$                         storagecontroller
}

define command{
  command_name                    check_hpeva_virtualdisk
  command_line                    $USER1$/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkhpeva -s virtualdisk -a $ARG3$
  ;$ARG1$                         login
  ;$ARG2$                         password
  ;$ARG3$                         storagearray
}

Read this PDF here for more informations on wmi counter.

Screenshoot : Create services and you can display graph with pnp4nagios or Centreon

hpevaperf_013
hpevaperf_014
hpevaperf_016

hpevaperf_015
hpevaperf_017
hpevaperf_012

hpevaperf_011
hpevaperf_010
hpevaperf_009


Install check_centreon_waa and selenium

Apr 26th

Posted by lkco in News

Hi all,

a new documentation is available here. This howto describes the installation of Selenium and centreon web application analytics.

Thank you Calou and RaphaelT who wrote this page

FAN 2.4 available

Mar 14th

Posted by lkco in News

No comments

Hi all,

I’m very proud to announce the availability of a new version of FAN : 2.4.

This version of FAN is in stable status. You can download FAN 2.4 iso here : http://www.fullyautomatednagios.org/wordpress/download/

Changes :

  • Nagios 3.4.4
  • Centreon 2.4.1
  • Nagvis 1.7.6
  • Nagios plugins 1.4.16
  • CentOS 5.9 system
  • Add nagios-plugin-wmi-plus
  • Add nagios-plugin-esxi
  • Add nagios-plugin-nwc-health
  • Add nrdp-plugin
  • Full changelog

Documentation :

  • How to install FAN ?
  • How to configure the distributed monitoring with FAN ?
  • Update FAN 2.3 to FAN 2.4
  • How to install FAN on CentOS/RHEL 5
  • FAQ
  • Demo

Feel free to report any bugs you find on our tracker : http://tracker.fullyautomatednagios.org

 

Here some utilisation example new plugins :

Command Example : nagios-plugin-esxi

define command{
    command_name                    check_esxi_hardware
    command_line                    $USER1$/gfi/check_esxi_hardware.py --vendor=$ARG1$ -H $HOSTADDRESS$ -U $ARG2$ -P $ARG3$ -p

;$ARG1$    Vendor code (ex: hp)
;$ARG2$    username (ex: root)
;$ARG3$    password
}

 

Command Example  : nagios-plugin-nwc-health

define command{
    command_name    check_nwc_memory_usage
    command_line    $USER1$/check_nwc_health --hostname $HOSTADDRESS$ --community $ARG1$ --mode memory-usage
;$ARG1$    SNMP Community
}

 

Command Example : nrdp nrdp-plugin

define command{
   command_name    send_nrdp_host
   command_line    $USER1$/send_nrdp.php --url=$ARG1$ --token=$ARG2$ --host=$ARG3$ --state=$ARG4$ --output=$ARG5$

;$ARG1$   url
;$ARG2$   token
;$ARG3$   host
;$ARG4$   state
;$ARG5$   output
}
define command{
   command_name    send_nrdp_service
   command_line    $USER1$/send_nrdp.php --url=$ARG1$ --token=$ARG2$ --host=$ARG3$ --service=$ARG5$ --state=$ARG6$ --output=$ARG7$
;$ARG1$   url
;$ARG2$   token
;$ARG3$   host
;$ARG4$   service
;$ARG5$   state
;$ARG6$   output
}

 

Command Example :  nagios-plugin-wmi-plus

define command{
    command_name    check_exchange_db_activity
    command_line    $USER1$/gfi/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkexchange -s DBInstances
}

define command{
    command_name    check_exchange_hub_transport_activity
    command_line    $USER1$/gfi/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkexchange -s HubTransportServer
}

define command{
    command_name    check_exchange_hub_transport_queues
    command_line    $USER1$/gfi/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkexchange -s TransportQueues
}

define command{
    command_name    check_exchange_smtp_receive
    command_line    $USER1$/gfi/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkexchange -s SmtpReceive
}

define command{
    command_name    check_exchange_smtp_send
    command_line    $USER1$/gfi//check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkexchange -s SmtpSend
}

define command{
    command_name    check_iis_connections
    command_line    $USER1$/gfi/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkiis -s connections -a '_Total'
}

define command{
    command_name    check_iis_errors
    command_line    $USER1$/gfi/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkiis -s errors -a '_Total'
}

define command{
    command_name    check_iis_requests_activity
    command_line    $USER1$/gfi/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkiis -s requests -a '_Total'
}

define command{
    command_name    check_iis_transferts_activity
    command_line    $USER1$/gfi/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkiis -s transfers -a '_Total'
}

define command{
    command_name    check_iis_users
    command_line    $USER1$/gfi/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkiis -s users -a '_Total'
}
define command{
    command_name    check_windows_big_process
    command_line    $USER1$/gfi/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkproc -s cpu -a '$ARG1$'  --nodatamode
    ;$ARG1$    process name
}

define command{
    command_name    check_windows_big_processes
    command_line    $USER1$/gfi/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkproc -s cpuabove -a '%' -w 25 -exc _AvgCPU=@0:2 --nodataexit 0 --nodatastring "No processes with high CPU found"
}

define command{
    command_name    check_windows_disks
    command_line    $USER1$/gfi/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkdrivesize -a '.' -w 90 -c 95 -o 0 -3 0
}

define command{
    command_name    check_windows_disks_io
    command_line    $USER1$/gfi/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkio -s logical -a '%'
}

define command{
    command_name    check_windows_each_cpu
    command_line    $USER1$/gfi/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkeachcpu -w 80 -c 90
}

define command{
    command_name    check_windows_eventlogs
    command_line    $USER1$/gfi/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkeventlog -a $ARG1$ -o 2 -3 1 -w 1 -c 2
    ;$ARG1$    application name
}

define command{
    command_name    check_windows_inactive_ts_sessions
    command_line    $USER1$/gfi/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkts -s sessions2003 -w 'InactiveSessions=0:1'
}

define command{
    command_name    check_windows_loadaverage
    command_line    $USER1$/gfi/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkcpuq  -w 10 -c 20 -a 20 -y 0
}

define command{
    command_name    check_windows_overall_cpu
    command_line    $USER1$/gfi/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkcpu -w 80 -c 90
}

define command{
    command_name    check_windows_physical_memory
    command_line    $USER1$/gfi/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkmem -w 80 -c 90
}

define command{
    command_name    check_windows_reboot
    command_line    $USER1$/gfi/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkuptime -w '5min:' -c '15min:'
}

define command{
    command_name    check_windows_share
    command_line    $USER1$/gfi/check_disk_smb -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -W '$_HOSTDOMAIN$' -s '$ARG1$' -w $_HOSTSHARE_WARN$ -c $_HOSTSHARE_CRIT$
}

define command{
    command_name    check_windows_swap
    command_line    $USER1$/gfi/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$ARG1$" -p "$ARG2$" -m checkpage -a auto
}
;$ARG1$   Login
;$ARG2$   Password

FAN Amazon Machine Image

Nov 19th

Posted by lkco in News

3 comments

Hi folks,

Now you can install FAN on Amazon Elastic Compute Cloud. It’s a contribution from Diego Serrano Bustos who shares a FAN AMI, available on https://aws.amazon.com.

At the moment, this AMI is a FAN 2.3 i386 standalone. You can see a youtube tutorial to install FAN on Amazon AWS : http://www.youtube.com/watch?v=uKEEcGfmziU

 

Detail :

  • Operating system : Redhat 5
  • Default login (centreon, nagios, nagvis) : nagiosadmin / nagiosadmin
  • Architecture : i386
  • Root device type : ebs
  • Disk Size : 10GB

 

12345»...Last »
  • Community

    • Roadmap
    • Forum
    • BugTracker
    • Subversion Repository
    • Developer’s Guide
  • Advertisement

  • Meet us

  • Sponsor



  • FAN Ideas

    • Licence

      Creative Commons License
      This work is licensed under a Creative Commons Attribution 3.0 Unported License.
    • Links

      • Centreon
      • Monitoring-fr
      • Nagios
      • Nagvis
    • Informations

      • Forum
      • IRC
      • Mailing Lists
      • Tracker
Mystique theme by digitalnature | Powered by WordPress
RSS Feeds XHTML 1.1 Top