I've been browsing the forum and the internet looking for a way to duplicate the way audio alerts are done on our old system. I've got the wave files from the old system but I can't find anywhere in the .cfg files where those wave files are being called, looks like it's probably some custom coding the previous administrator came up with. I've been finding a lot of that.
The plugin for Firefox is not an option for us since we only use IE so I was hoping someone out there might know of a plug in, or have some coding suggestions that will allow us to call these wave files when their respective event occurs. There's one for a warining, one for a system shutdown, and one for when the system comes back up.
Thanks
Audio Alerts
Audio Alerts
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Audio Alerts
I would take a look into the last paragraph on this page here:
http://nagios.sourceforge.net/docs/nagi ... tions.html
Besides the Firefox addon I have not personally worked with or seen any other audio alerting method in play. Please let us know if you decide to go forward with this, it is a very intriguing project.
http://nagios.sourceforge.net/docs/nagi ... tions.html
Besides the Firefox addon I have not personally worked with or seen any other audio alerting method in play. Please let us know if you decide to go forward with this, it is a very intriguing project.
Re: Audio Alerts
I looked at that the other day, but spending money and getting new software approved is such a hassle here. Being that we manage all the the state run hospitals in Hawaii, there's a lot involved for us to do things like that. If that becomes the only option, then we'll do that, but I was hoping I could do something like this:
http://pi.hertford.ox.ac.uk/audio-alerts-for-nagios/
I think our previous Nagios admin was doing something like this because of where I found the wave files, the only thing is, correct me if I'm wrong, this looks like it's going to play the wave file on the nagios server itself, I need the wave file to play on the workstations that are logged into the Nagios Web Interface.
The other thing is we're not doing any notifications on the old system, and there's nothing in contacts.cfg like what's shown in the above example. If I could figure out how the old admin was doing it on that system, I should be able to duplicate that method on the new one.
http://pi.hertford.ox.ac.uk/audio-alerts-for-nagios/
I think our previous Nagios admin was doing something like this because of where I found the wave files, the only thing is, correct me if I'm wrong, this looks like it's going to play the wave file on the nagios server itself, I need the wave file to play on the workstations that are logged into the Nagios Web Interface.
The other thing is we're not doing any notifications on the old system, and there's nothing in contacts.cfg like what's shown in the above example. If I could figure out how the old admin was doing it on that system, I should be able to duplicate that method on the new one.
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Audio Alerts
Right, it would play on the local nagios server which requires you set up audio on it, "In short." Other than that you could try to transfer the firefox plugin over to IE, though IE is much less friendly to work in/with. You could also create some sort of workstation application that takes an RSS feed of notifications from nagios, and then triggers audio based on that.
Re: Audio Alerts
Fortunately the audio is not a deal killer, it's really more for our help desk staff so that when an event occurs, they get the alert. We weren't doing email notifications on the old system, I don't know why, guess the audio thing was a work around for that.
I was wanting to enable email notifications on the new system anyway. I've tested it, it works OK, so that will just have to do.
The big thing is we have Nagios linked to our asset management system. On the old system, we made the IP address that appears on Host Detail a hyperlink so that when you clicked on it, you got a window that gave you details on that host like, Model Number, Serial Number, Rack Location, who the primary and secondary support reps are. Things like that.
Hopefully someone around here is good enough with php to duplicate that, because we are going to need it. I think we can probably do it with the named variables feature, but it's not something we really want to maintain manually like that. Pulling that data from our Asset Management system is a lot less work.
Going to pull the network cable on the old Nagios this morning, change the new nagios IP address to match the old Nagios server and see what we get. I'm hoping all the services will start reporting without any hitches.
Mahalo;
Charles
I was wanting to enable email notifications on the new system anyway. I've tested it, it works OK, so that will just have to do.
The big thing is we have Nagios linked to our asset management system. On the old system, we made the IP address that appears on Host Detail a hyperlink so that when you clicked on it, you got a window that gave you details on that host like, Model Number, Serial Number, Rack Location, who the primary and secondary support reps are. Things like that.
Hopefully someone around here is good enough with php to duplicate that, because we are going to need it. I think we can probably do it with the named variables feature, but it's not something we really want to maintain manually like that. Pulling that data from our Asset Management system is a lot less work.
Going to pull the network cable on the old Nagios this morning, change the new nagios IP address to match the old Nagios server and see what we get. I'm hoping all the services will start reporting without any hitches.
Mahalo;
Charles
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Audio Alerts
You can also add this into the notes section of your hosts and services in Nagios XI under their details pages. That way when they click the response URL from their notification it will take them to the details page of that object where they can view the notes.
Re: Audio Alerts
I played around with notes and I saw where that showed up, I never could find where the named variables appear but I wasn't sure where to look.
I'm sure we've got some php talent running around here somewhere who can put those hooks in fairly easily. My boss did it on the old system, I'm sure he can hook it up on the new one.
I'm sure we've got some php talent running around here somewhere who can put those hooks in fairly easily. My boss did it on the old system, I'm sure he can hook it up on the new one.
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Audio Alerts
Yeah it should not be too terribly difficult, let us know if you need help!