etc/zabbix/bin/custom.smartstate zabbix.host. can anybody help me i have ubuntu 20.04 and a hp proliant ml150 g6 with a hp smart array p410 raid controller but i cant get it to work if i try what you say and put in ctrl all show status i get Error: no controllers detected if i put in config i get the same i can se the raid controller. Is a windows server cloning, and its worked.
60 off when you buy hp proliant microserver gen8 hpcisss3 controller driver 6.4.0.64.
bin/fgrep icaldrive | /usr/bin/tee /root/raidstatepipe | \ HP Array Configuration Utility Is Now Installed. The firmware component installer can now install the drive firmware successfully when the new hp proliant smart array hpcisss3 controller driver is running on the system being updated. opt/compaq/hpacucli/bld/hpacucli controller all show config | \ (replace zabbix_hostname by the name of your host within ZABBIX) (replace by your zabbix server's DNS name or IP address) (remove the backslashes, put everything except the #!/bin/bash on one line) My $cmd = $zabbix_sender." -z ".$zabbixserver." -s ".$hostname." -k custom.raidstate -o ".$term My $zabbix_sender = "/usr/sbin/zabbix_sender" # /opt/compaq/hpacucli/bld/hpacucli controller all show config In addition, the HP Smart Array controller family includes HP Smart Storage Administration (HP SSA), which is an advanced utility that allows you to perform many complex configuration tasks via a GUI, command line interface, or scripting. I hope this is useful for someone else, too. I have used the key "custom.raidstate" which indicates 0=ok, >0=error.
Now your system logs the state of each logical and physical drive to the syslog hourly (for later analysis) and logs the return code to zabbix simultaneously. CentOS 4 / 5):ġ) download and install hpacucli rpm from hp homepage (must be version >8.0)Ģ) create a simple script /etc/zabbix/bin/custom.smartstate and chmod 700 (see below)Ĥ) create a file /etc/cron.hourly/smartstate.cron and chmod 700 (see below)ĥ) execute /etc/cron.hourly/smartstate.cron and tail /var/log/messages to verify the result Here is my recipe for redhat based distros (e.g. It looks like 2 steps: Expand the array to add the new hard drive, then extend the volume to add the new drives capacity to the array. To monitor HP SMART arrays, I use the hpacucli utility in version 8.x together with a small perl script and a little shell script running in a cronjob. Do I shut it down and use the Array Configuration tool HPs documentation on their Smart Array Controllers doesnt seem to have NetWare instructions - it all seems to assume Windows.