|
From: Marco B. <m.b...@it...> - 2006-02-22 08:50:44
|
Hi May someone give me any examples of commands to use to communicate with NSClient++? I tried: ./check_nt -H 151.x.x.x -v USEDDISKSPACE -l check_disk_c Where "check_disk_c" is a line uncommented in the nsc.ini file The answer is: "wrong -l argument" Or ./check_nrpe -H 151.x.x.x -c check_users Where "check_users" is a line uncommented in the nsc.ini file The answer is: "CHECK_NRPE: Error receiving data from host" May I use same "check_nrpe" that I am using for Unix systems? And same "check_nt" that I am using with old NSClient agent? Regards Marco -}-----Messaggio originale----- -}Da: nag...@li...=20 -}[mailto:nag...@li...] Per conto=20 -}di Dany Allard -}Inviato: venerd=EC 17 febbraio 2006 19.20 -}A: NAGIOS -}Oggetto: RE: R: [Nagios-users] I: NSClient++ configuration problems -} -}Marco -} -} A quick test to make sure that the port is open is to telnet to it. -}> telnet YourHostname 1248 -} -}If you don't get a connection failed message the port should be open. -}If it fails with "..Could not open connection to the host..."=20 -}then the port is being blocked somewhere. -} -} Dany Allard -} -}-----Original Message----- -}From: nag...@li... -}[mailto:nag...@li...] On Behalf=20 -}Of Marco Borsani -}Sent: Thursday, February 16, 2006 3:11 AM -}To: 'Michael Medin' -}Cc: 'NAGIOS' -}Subject: R: R: [Nagios-users] I: NSClient++ configuration problems -} -}I set 1248 (NSClient) and 5666 (NRPE) ports on NCS.INI file. -}I see both ports open (but associated to local IP 0.0.0.0),=20 -}NSClient++ is running, but neither a check_nt, a check_nrpe=20 -}or a check_tcp run correctly. -} -}Marco -}<snip> -}This message is intended only for the addressee and may=20 -}contain personal, privileged or confidential information.=20 -}If you have received this message in error, please notify the=20 -}sender immediately and delete or destroy this message without=20 -}making copies or opening any attachments. Any further=20 -}distribution, duplication or disclosure is prohibited. -} -} -}------------------------------------------------------- -}This SF.net email is sponsored by: Splunk Inc. Do you grep=20 -}through log files for problems? Stop! Download the new AJAX=20 -}search engine that makes searching your log files as easy as=20 -}surfing the web. DOWNLOAD SPLUNK! -}http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=103432&bid#0486&dat=121642 -}_______________________________________________ -}Nagios-users mailing list -}Nag...@li... -}https://lists.sourceforge.net/lists/listinfo/nagios-users -}::: Please include Nagios version, plugin version (-v) and OS=20 -}when reporting any issue.=20 -}::: Messages without supporting info will risk being sent to /dev/null -} |