CheckServiceState & CheckProcState almost 100% good

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
jbruyet
Posts: 235
Joined: Wed Dec 28, 2011 12:14 pm

CheckServiceState & CheckProcState almost 100% good

Post by jbruyet »

Hey all, I have Symantec's Backup Exec running on four of my servers. I'm running checks on four processes and five services on each of the servers. Four of the five services are working but the fifth one is showing this error message:

Could not construct return packet in NRPE handler check client side (nsclient.log) logs...

The log says this:

2012-07-02 14:19:14: error:modules\NRPEListener\NRPEListener.cpp:432: Request arguments contained illegal metachars!

I'm guessing it's because the check_command has an ampersand (&)in it:

Code: Select all

        check_command           check_nrpe!CheckServiceState -a ShowAll "Backup Exec Device & Media Service"
I've been Googling around and I can't see where anyone else has had a problem like this. Is my problem the & or is it something else?

My four processes show green on the server but while looking at the NSClient log I found that all of my processes are putting these two errors in the nsclient.log file:

2012-07-02 14:20:41: message:d:\source\nscp\branches\stable\include\checkHelpers.hpp:993: Missing bounds for check: beserver.exe
2012-07-02 14:20:41: message:d:\source\nscp\branches\stable\include\checkHelpers.hpp:993: Missing bounds for check: beserver.exe

Yes, each process has two identical entries every 10 minutes. Any ideas on either of these problems?

Thanks,

Joe B
jbruyet
Posts: 235
Joined: Wed Dec 28, 2011 12:14 pm

Re: CheckServiceState & CheckProcState almost 100% good

Post by jbruyet »

Aaaaahhhhhh, "nasty characters" is my problem. The problem is for one check in a group of nine so I think I'll just drop that one check for now.

I still have my other "four processes" problem. They show green on the server but the NSClient log shows each one of the four processes are putting these two errors in the nsclient.log file:

2012-07-02 14:20:41: message:d:\source\nscp\branches\stable\include\checkHelpers.hpp:993: Missing bounds for check: process1.exe
2012-07-02 14:20:41: message:d:\source\nscp\branches\stable\include\checkHelpers.hpp:993: Missing bounds for check: process1.exe

Why would there be two entries for each process? Also, Googling for an exact match of "hpp:993: Missing bounds for check:" gave me zero results. Does that mean no one else has had this issue? Where can I look to see what the 993 means?

Thanks,

Joe B
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: CheckServiceState & CheckProcState almost 100% good

Post by agriffin »

993 is a line number in the checkHelpers.hpp file. If you have any programming knowledge you could take a look at it to see what's happening at that line.
Locked