You are not in the mood to chat and don't want your contacts to see that you are online on Viber? Here's how to prevent your online status from being displayed (without signing-out from Viber).
Tap on the Menu key > Settings.
Go to the "Privacy" section.
Uncheck Share 'Online' Status.
Note that: This option can be changed once every 24 hours.