Page 1 of 1

How to change alarm sound a services on nagios ?

Posted: Tue Jun 02, 2015 6:20 am
by ky_pim
Hi all,

Very sorry for my poor english. Current, I have a nagios 4.0.8 server. On server, I've config 10 hosts and 70 services.

I'm want to change the warning sounds for a service, when the incident on that service.
Example: 3 services and 3 sound alarm.

+ ssh
+ http
+ mysql

+ 1.wav
+ 2.wav
+ 3.wav

When service httpd down, the alarm sounds 1.wav. Similarly, service mysqld stop, the alarm sounds 2.wav ....Are you understand?

Can you help me?

Thanks.

Re: How to change alarm sound a services on nagios ?

Posted: Tue Jun 02, 2015 1:05 pm
by abrist
This is not currently possible without making some big changes to the cgi source. Currently, you can only set different alarm sounds for the following things:

Code: Select all

host_unreachable_sound=<sound_file>
host_down_sound=<sound_file>
service_critical_sound=<sound_file>
service_warning_sound=<sound_file>
service_unknown_sound=<sound_file>
See:
http://nagios.sourceforge.net/docs/3_0/configcgi.html