i am currently working on a grafana dashboard to monitor a pa-3xxx cluster. getting numerical values by snmp with collectd is no problem. and it ist great for displaying the data. collectd can't handle strings, but the ha state ist totally string-based. does anybody know a way to get the snmp output parsed an sent into graphite? is there e.g. a perl script or anything else?
dashboard on grafana looks like this:
I'am not sure i could have thes better response on this topic but it may be help or give the beginning of an answer
for ha state i use nagios plugin check : check_nwc_health
check_nwc_health --hostname @IP --username "XXX" --authpassword "XXX" --privpassword "XXX" --authprotocol sha --privprotocol aes --mode ha-role --timeout 30
this check response OK with active device
if you check if ha peer passive i have add a negate (--negate) on this check
have a nice day
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!