MON Service Monitor How to guide

From Swivel Knowledgebase Wiki

Jump to: navigation, search


Image:logo.gif

Contents

Overview

Mon can be used to monitor system processes and alert when they fail. The PINsafe appliance can use MON to watch the Tomcat process, and even extended to other processes.


Prerequisites

PINsafe Appliance with Webmin


Backup the existing Mon Configuration

Before you make any changes, manually backup /etc/mon/mon.cf using WinSCP, see WinSCP How To Guide.


Configuring Mon

Login to Webmin (for more information see Webmin How To Guide, then select System -> MON Service Monitor/Watch Lists and against the required appliance select tomcat5 (10s)


Image:Webmin MON Watch lists.jpg


Under Alert, add a new alert named mail.alert from the drop down with the parameter being the email address you want to send to. Alerts can be defined on different events such as when the service stops or starts. Save the setting when complete.


Image:Webmin MON Watched serice details.jpg


Testing

  • Stop the monitored service and verify email messages are sent.
Personal tools