[Nagiosplug-devel] NRMH Bug in check_nwstat.c
Sven Probst
Sven.Probst at WDR.DE
Mon Jul 30 13:56:47 CEST 2007
Hello,
there is a small bug in check_nwstat.c: NRMH-Status seems to be always
GOOD. (This is good, but not correct.)
The following patch fixes this problem:
555c555
< asprintf (&send_buffer,"NRMH\r\n");
---
> asprintf
(&send_buffer,"NRMH:Server_Health_Status\r\n");
563c563
< result=STATE_OK;
---
> result=STATE_CRITICAL;
566,567c566
< else {
< if (nrm_health_status==1) {
---
> else if (nrm_health_status==1) {
571c570
<
---
> else {
574d572
<
Best regards
Sven Probst
More information about the Devel
mailing list