How to interpret CRC32 errors?

Curt Shaffer cshaffer-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Thu Aug 4 16:17:00 CEST 2005


I hate to ask a dumb question but did you echo the output on the command and
see what was actually passing in the service details? If so can you post
that outcome so we can see?

Thanks

Curt

-----Original Message-----
From: nagiosplug-help-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org
[mailto:nagiosplug-help-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org] On Behalf Of
Ralph.Grothe-YpEHkxAi6oMehzHBf2RrnA at public.gmane.org
Sent: Thursday, August 04, 2005 10:05 AM
To: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org;
nagios-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org
Subject: [Nagiosplug-help] How to interpret CRC32 errors?

Hi,

I'm currently writing a custom shell script plug-in that simply
checks the state of an HP Virtual Array.

I sourced utils.sh in it and return the proposed
STATE_{OK|CRITICAL|UNKNOWN} return codes
depending on the outcom.
I didn't care for WARNING as I only distinguish between OK and
CRITICAL.

I would submit the script hadn't I received contemptuous
reactions by some expert here on last occasion.

The script isn't doing much more than parsing the States of all
FRUs of the array and returning CRITICAL
if something other than state Good is found, OK elsewise.

The script doesn't require higher privileges than the nrpe daemon
has,
and it doesn't produce any output (apart from the final oneliner
indicating the state),
nor does it attempt to write anywhere.

If I run it at the shell under the uid of the nrpe daemon it
works fine.


$ /usr/local/nagios/libexec/check_hpva.sh

OK:     HP Virtual Array "va" on inwo2 all FRUs State Good

Whereas when I run it via check_nrpe I receive the to me
meaningless CRC32 error.

$ /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c
check_hpva_INWO2
CHECK_NRPE: Response packet had invalid CRC32.

In nrpe.cfg it's defined as

$ grep check_hpva /usr/local/nagios/etc/nrpe.cfg 
command[check_hpva_INWO2]=/usr/local/nagios/libexec/check_hpva.sh


What's going on here?

Regards
--
Ralph Grothe


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3061 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050804/c22c34b6/attachment.bin>


More information about the Users mailing list