Menu

#19 Netsaint Reports Plugin Return 141

open
nobody
None
5
2001-03-30
2001-03-30
Anonymous
No

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

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.