How can i create a Nagios alert to check for C++ Errors
Posted: Tue Jun 16, 2015 11:18 am
Hello to all,
I have a a serious issue i am trying to resolve and would like some help.
Problem:
- I have a number of Windows servers that from time to time give us c++ errors on our propitiatory applications used for processing data, when this happens data processing on that host stops until the c++ errors is cleared.
- We currently have other alerts that in conjunction will eventually lead us to check the server that the c++ error is on, clear the error and restart the application. But in the meantime processing is stalled.
- I need a way for to detect these c++ errors as soon as they come up and alert through nagios. Any help or ideas on this would be great
Attempted Solution:
I currently have Windows event log alerts that will check the Event logs for Memory execption errors amongst other things. and you would that C++ errors would be logged in windows but they are not. therefore i cannot make an alert to look for c++ errors in the event log. In my findings a c++ error is just a pop up error on that happens on the software level and there is no real way of tracking it.
Nagios environment Specs:
1. I am currently using Nagios Core 3.2.3
2. and i am using NSCLIENT++ 0.3.8 for NRPE client on the windows server
I have a a serious issue i am trying to resolve and would like some help.
Problem:
- I have a number of Windows servers that from time to time give us c++ errors on our propitiatory applications used for processing data, when this happens data processing on that host stops until the c++ errors is cleared.
- We currently have other alerts that in conjunction will eventually lead us to check the server that the c++ error is on, clear the error and restart the application. But in the meantime processing is stalled.
- I need a way for to detect these c++ errors as soon as they come up and alert through nagios. Any help or ideas on this would be great
Attempted Solution:
I currently have Windows event log alerts that will check the Event logs for Memory execption errors amongst other things. and you would that C++ errors would be logged in windows but they are not. therefore i cannot make an alert to look for c++ errors in the event log. In my findings a c++ error is just a pop up error on that happens on the software level and there is no real way of tracking it.
Nagios environment Specs:
1. I am currently using Nagios Core 3.2.3
2. and i am using NSCLIENT++ 0.3.8 for NRPE client on the windows server