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.
ofadl wrote:# this command runs a program $ARG1$ with no arguments
define command {
command_name check_nrpe_1arg
command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
}
This is the command definition you should be using as you do not pass any arguments for the check_mem check. The service check should then look like:
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.
Nvm i just figured it out, i changed the service definition i had. turned out i was missing the 1arg part and now its working perfectly fine!!!!!! Thanks alot guys for all your help i really appreciate it
No problem, I am glad to be of help. But I am even more jubilant to close this thread with impunity! Have a great week.
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.