I am running netsaint 0.0.6 on a SPARC solaris 2.6
machine.
I get the following message when netsaint executes the
service check for "test-service" on "test-router".
[985963247] Warning: Return code of 141 for check of
service 'test-service' on host 'test-router' was out
of bounds.
"test-service" calls a custom plugin that is defined
to call the following script....
#! /bin/ksh
echo "testing.."
exit 1
The returns 1 when I check it form the command line.
It is owned by the netsaint user and group. The
attributes for the script are setup as 775.
If I change the script to use sh instead of ksh it
seems to work correctly. When I use ksh it thinks the
return value is 141. DOes anyone know why this is so?
Can I use ksh for my plugins?
Dane