Need plugin information

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: Need plugin information

Post by ravish78 »

Yes ,we did the same but no luck
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Need plugin information

Post by abrist »

Could you post your nsc.ini in a code wrap? (obfuscate your password)
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
CGraham
Posts: 115
Joined: Tue Aug 16, 2011 2:43 pm

Re: Need plugin information

Post by CGraham »

ravish78,

Just curious if the command works when you run it with the "-n" switch

Code: Select all

./check_nrpe -H 13.118.27.40 -n -p 5666 -t 30 -c checkMem -a MaxWarn=80% MaxCrit=90% ShowAll=long type=physical
Have you disabled ssl in your nsc.ini?

use_ssl=0
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Need plugin information

Post by lmiltchev »

Yes, run the command with the "-n" flag as subbested by ravish78, and post the output.

Also, check the nsclient.log again - there may be some new entries in it.
Be sure to check out our Knowledgebase for helpful articles and solutions!
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: Need plugin information

Post by ravish78 »

tmproot@usa0300lv846>./check_nrpe -H 13.118.27.40 -n -p 5666 -t 30 -c checkMem -a MaxWarn=80% MaxCrit=90% ShowAll=long type=physical
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
tmproot@usa0300lv846>


getting below error in clinet system nagois log
tmproot@usa0300lv846>./check_nrpe -H 13.118.27.40 -n -p 5666 -t 30 -c checkMem -a MaxWarn=80% MaxCrit=90% ShowAll=long type=physical
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
tmproot@usa0300lv846>
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Need plugin information

Post by scottwilkerson »

Could you post your nsc.ini blocking out any sensitive data

Also, are there any errors in the nsclient.log on the remote system?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
CGraham
Posts: 115
Joined: Tue Aug 16, 2011 2:43 pm

Re: Need plugin information

Post by CGraham »

Also, you have to restart nsclient++ service for the changes in your ini to take effect.
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: Need plugin information

Post by ravish78 »

I am only seeing this error.

2013-02-18 11:14:08: debug:CACHENSClient++.cpp:557: Attempting to start NSCLient++ - 0.3.9.329 2011-09-02
2013-02-18 11:14:08: message:CACHEmodules\FileLogger\FileLogger.cpp:87: Log path is: C:\NSClient++\\nsclient.log
2013-02-18 11:14:08: error:modules\NSClientListener\NSClientListener.cpp:160: Invalid password (
2013-02-18 13:31:16: error:modules\NSClientListener\NSClientListener.cpp:160: Invalid password (
2013-02-18 14:39:49: message:modules\FileLogger\FileLogger.cpp:86: Starting to log for: NSClient++ - 0.3.9.329 2011-09-02
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Need plugin information

Post by scottwilkerson »

Could you post your nsc.ini blocking out any sensitive data
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: Need plugin information

Post by ravish78 »

How can we test this blocking
Locked