netbum
As far as I know Airwave doesnt have any triggers for syslog, but, you have a couple of options to automate it.
#1 write a script that interrogates the syslog database (aka device_event table) within Airwave, run it from the shell. For getting it working quickly, just test it as shown below. Of course running a string match on such a large table is not really a good idea (it would be good to modify the query further to add more where clauses to narrow it down, i.e. once you have a hit, note the severity and add that as a further "where" clause), but it should be ok for a once a day query.
Here are two different queries to try, the first is just for syslog (type=200), over last 24 hours (adjust as you see fit, i.e. change the '1 day'). dbc is a shell alias, you need to log into Airwave via ssh as root.
# dbc "select * from device_event where timestamp >= date_part('epoch'::text, now() - '1 day'::INTERVAL) and type=200 and message like '%power supply failed on slot%';"
source_device_id | ap_id | client_mac | message | severity | facility | category | type | timestamp
------------------+-------+------------+---------+----------+----------+----------+------+-----------
(0 rows)
#
and here is another query - I believe the MAS should send a power supply fail trap, you can try to find it using the following:
# dbc "select * from device_event where timestamp >= date_part('epoch'::text, now() - '1 day'::INTERVAL) and type=100 and message like '%PowerSupply%' ;"
source_device_id | ap_id | client_mac | message | severity | facility | category | type | timestamp
------------------+-------+------------+---------+----------+----------+----------+------+-----------
(0 rows)
#
#2 install a standalone syslog that does support message triggers, and/or cobble together something from a syslog + scripts that check for certain messages. Using something like graylog + rsyslogd would make this quite easy to do (graylog is quite a lot easier than logstash for handling arubas (err, malformed) syslog messages.
note - I should mention that the above is with a view to somehow automate checking+alerting, you can always manually search via webUI -> system -> syslog and traps -> message (box on right).
regards
-jeff