Quantcast
Viewing all articles
Browse latest Browse all 18

Monitoring Hitachi content platform with rsyslog and zabbix

The architecture is:

 

Image may be NSFW.
Clik here to view.

 

create a configuration file under /etc/rsyslog.d/

 

template(name=”STORAGE” type=”string” string=”/var/log/rsyslog/storage-%HOSTNAME%-%$YEAR%-%$MONTH%.log”)

template(name=”HCPAUTH” type=”string” string=”/var/log/rsyslog-auth/autherrors-%HOSTNAME%.log”)

 

local6.*; ? STORAGE

authpriv.*; ? STORAGEAUTH

 

For zabbix, create a template with item like:

logrt[/var/log/rsyslog/STORAGE*,”HCP_System_Event”,,1000,skip]

 

if there is error logs comes in, just send an alert

{Template STORAGE rsyslog:logrt[/var/log/rsyslog/STORAGE*,”HCP_System_Event”,,1000,skip].nodata(300)}=0

The post Monitoring Hitachi content platform with rsyslog and zabbix appeared first on Robert Chen.


Viewing all articles
Browse latest Browse all 18

Trending Articles