sshikov / jsendnsca

Automatically exported from code.google.com/p/jsendnsca
0 stars 0 forks source link

MessagePayload not being validated #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When sending a passive check the following parts are mandatory

1. Hostname
2. Return code (level)
3. Service name

The MessagePayload object should enforce the above. If this is voilated, an
IllegalArgumentException needs to be thrown

Original issue reported on code.google.com by rajneeshpatel on 18 Nov 2008 at 8:34

GoogleCodeExporter commented 9 years ago
Unit tests passing

Original comment by rajneeshpatel on 18 Nov 2008 at 9:06