Page 4 of 5
Re: Duplicate alert emails.
Posted: Wed Dec 04, 2013 3:08 pm
by tmcdonald
Do you by any chance have the same host/service defined multiple times? That would certainly explain why you're getting many emails at the same time but the contents are different.
Re: Duplicate alert emails.
Posted: Wed Dec 04, 2013 3:42 pm
by vinothsethuram
Hosts.cfg is having only one entry for each host and Nagios Web UI doesn't have duplicate entries. Email contents were same not different
Re: Duplicate alert emails.
Posted: Wed Dec 04, 2013 3:57 pm
by tmcdonald
vinothsethuram wrote:Email contents were same not different
Actually they are all different:
Code: Select all
Info:HTTP CRITICAL: HTTP/1.1 503 Service Unavailable - 517 bytes in 0.024 second response time
Info:HTTP CRITICAL: HTTP/1.1 503 Service Unavailable - 517 bytes in 0.035 second response time
Info:HTTP CRITICAL: HTTP/1.1 503 Service Unavailable - 517 bytes in 0.170 second response time
Info:HTTP CRITICAL: HTTP/1.1 503 Service Unavailable - 517 bytes in 0.087 second response time
Info:HTTP CRITICAL: HTTP/1.1 503 Service Unavailable - 517 bytes in 0.024 second response time
Info:HTTP CRITICAL: HTTP/1.1 503 Service Unavailable - 517 bytes in 0.025 second response time
Info:HTTP CRITICAL: HTTP/1.1 503 Service Unavailable - 517 bytes in 0.024 second response time
Now we are just trying to figure out why.
Re: Duplicate alert emails.
Posted: Wed Dec 04, 2013 4:06 pm
by vinothsethuram
Those could be for same host at different time. As per my configuration, users should be notified every one hour for the same issue.
Re: Duplicate alert emails.
Posted: Thu Dec 05, 2013 1:06 pm
by slansing
Could you tar up your /usr/local/nagios/etc/ directory and PM it to one of us? Either tmcdonald or myself? This would be the easiest way to make some headway.
Re: Duplicate alert emails.
Posted: Thu Dec 05, 2013 1:37 pm
by vinothsethuram
Lot of confidential information are there in that directory. Sorry, I can't share it.
Re: Duplicate alert emails.
Posted: Thu Dec 05, 2013 1:51 pm
by vinothsethuram
Is there any possibility for having more than one Nagion daemons running?
Re: Duplicate alert emails.
Posted: Thu Dec 05, 2013 2:35 pm
by slansing
Yes that is a possibility, you can run:
Code: Select all
service nagios stop
killall -9 nagios
service nagios start
Please share the output from each of these commands.
Re: Duplicate alert emails.
Posted: Thu Dec 05, 2013 2:41 pm
by vinothsethuram
Before killing all instance, I want to know number of running instances.
Re: Duplicate alert emails.
Posted: Thu Dec 05, 2013 3:18 pm
by vinothsethuram
service nagios stop command listed this ids... is it all running daemons?
nagios (pid 32463 32458 31928 31923 31485 31480 31290 31285 30825 30820 28409 28404 25652 25647 25631 25626 24729 24724 22840 22835 22311 22306 22077 22072 20292 20287 19889 19884 18575 18570 15396 15395 15394 15393 15392 15391 15390 15389 15388 15387 15386 15385 15384 15383 15382 15381 15380 15379 15378 15377 15374 15373 15372 15371 15370 15369 15368 15366 15365 15364 15363 15362 15361 15360 15359 15358 15357 15356 15355 15354 15352 15351 15350 15346 15345 15344 15343 15342 15338 15336 15335 15334 15333 15330 15329 15328 15327 15326 15325 15324 15323 15322 15321 15320 15319 15314 15313 15312 15311 15310 15309 15308 15307 15306 15305 15302 15301 15298 15297 15296 15295 15294 15293 15292 15291 15290 15289 15288 15287 15286 15285 15284 15283 15282 15281 15280 15278 15277 15275 15274 15273 15272 15271 15264 15263 15262 15261 15260 15259 15258 15257 15256 15255 15254 15253 15252 15251 15250 15249 15248 15247 15246 15245 15244 15240 14596 14591 13112 13107 12659 12653 11993 11988 11656 11651 11247 11242 11123 11118 11088 11083 9390 9384 9163 9158 8730 8725 7373 7368 6201 6196 5733 5728 4826 4821 4199 4194 3367 3362 632 627 557 552 347 340) is running..