web stats
Nagios / Icinga Monitoring - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 04-29-2012, 02:09 PM
seaston seaston is offline
OBX.3 Kenobi
Join Date: Feb 2010
Location: London, UK
Posts: 127
seaston is on a distinguished road
Default Nagios / Icinga Monitoring


Has anyone out there done any work on nagios plugins to monitor mirth queued messages or errors that they would be willing to share?

Reply With Quote
Old 04-30-2012, 05:26 PM
glenn71 glenn71 is offline
OBX.2 Kenobi
Join Date: Nov 2010
Location: Sydney Australia
Posts: 94
glenn71 is on a distinguished road

I have a perl script that uses snmp polling to check for errors, number of queued messages & inactivity on a channel (nothing received after x minutes). This relies on the appliance however (uses the appliance mib). Happy to share if it helps.. it executes a bash script for alerting so I guess you could modify this to integrate with nagios.
Reply With Quote
Old 05-07-2012, 11:20 PM
seaston seaston is offline
OBX.3 Kenobi
Join Date: Feb 2010
Location: London, UK
Posts: 127
seaston is on a distinguished road

Thanks glenn71 but it probably won't help us here. We don't have the luxury of the appliance which would be easier to monitor via snmp. I have a perl script that runs psql queries to check the counters for queued and errored messages, but it's not very sophisticated and just wondered if there was anything out there before I put in more work.
Reply With Quote
Old 09-22-2013, 07:13 AM
Piripera Piripera is offline
What's HL7?
Join Date: Sep 2013
Posts: 1
Piripera is on a distinguished road

Hi glenn71. I'm looking for a kind of nagios script to monitoring the mirth appliance. Can I ask you to share the script to do some test. Thanks a lot in advance
Reply With Quote
Old 09-26-2013, 08:27 AM
meraj meraj is offline
Mirth Newb
Join Date: May 2011
Posts: 20
meraj is on a distinguished road

If you want to do active monitoring, polling the Mirth DB is probably the easiest way to get info on channels, alerts, exceptions, etc. The tables CHANNEL_STATISTICS and EVENT will be useful for this information.

I also devised a way of doing it passively if you don't have access to the Mirth DB using the status and statistics controllers:


It took a lot of trial and error to figure out how to make it work just right, but you can get at least the status of the channels channel message statistics with this method. Create a channel that poll these controllers and then use some passive method of sending the check result to Nagios. You could call send_nsca (if you have permission to execute commands), or use the HTTP Sender in the destination connector in conjunction with NSCAweb.
Reply With Quote

icinga, monitoring, nagios

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 09:35 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2015, vBulletin Solutions, Inc.
Mirth Corporation