Forum Discussion
Can we use lcdwarn command to display custom message on LCD panel?
I already successfully used the lcdwarn -c command to clear error messages on the LCD panel.
What I would like to achieve now is displaying a custom message on the LCD panel (something like "To remove", so our DC guys know for sure which device should be removed).
When I issue the lcdwarn command in command line, here is the result:
Usage: lcdwarn [-p ] slotid
lcdwarn [-c ] slotid (clears warnings)
can be [0|1|2|3|4|5] or [warning|error|alert|critical|emergency|information]
can be invoked as clearlcd_[warning|error|alert|critical|emergency|information]
By reviewing this output, I assume that the following command will do the trick:
lcdwarn -p 5 "To be removed"
But I cannot manage to find any documentation that confirm the -p parameter will indeed print a message on LCD display.
Can anyone confirm my assumption?
Thanks for your help.
Best regards.
I randomly find the answer to this question while reviewing the /etc/alertd/alert.conf file.
The command to display a custom message on the LCD panel appears to be:
lcdwarn description="CPU Temp too high." priority="3"
And here is the details about the priority:
/*************************************************************** * The lcdwarn messages can be one of 5 levels: * 0 - warning - makes the Alert LED glow yellow * 1 - error - makes the Alert LED blink yellow * 2 - alert - makes the Alert LED glow red * 3 - critical - makes the Alert LED glow red * 4 - emergency - makes the Alert LED blink red * 5 - info - leave the LED off * * You may use `lcdwarn` or `clearlcd_*` command line programs to add * or clear warnings from the LCD/LED. * It is possible that you will have some warnings and some alerts, so * when you clear the error, the LED will stop being red and turn * yellow. You will have to clear that error seperately. ***************************************************************/
I hope this information will be useful to someone else in the future.
- bdes_267149Nimbostratus
I randomly find the answer to this question while reviewing the /etc/alertd/alert.conf file.
The command to display a custom message on the LCD panel appears to be:
lcdwarn description="CPU Temp too high." priority="3"
And here is the details about the priority:
/*************************************************************** * The lcdwarn messages can be one of 5 levels: * 0 - warning - makes the Alert LED glow yellow * 1 - error - makes the Alert LED blink yellow * 2 - alert - makes the Alert LED glow red * 3 - critical - makes the Alert LED glow red * 4 - emergency - makes the Alert LED blink red * 5 - info - leave the LED off * * You may use `lcdwarn` or `clearlcd_*` command line programs to add * or clear warnings from the LCD/LED. * It is possible that you will have some warnings and some alerts, so * when you clear the error, the LED will stop being red and turn * yellow. You will have to clear that error seperately. ***************************************************************/
I hope this information will be useful to someone else in the future.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com