Not getting output from remote machine

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
nagendra verma
Posts: 8
Joined: Sat Apr 20, 2013 12:30 am

Not getting output from remote machine

Post by nagendra verma »

Hi!

I have written a simple programe given below , with the help
of this I want to know the capability of GPU on remote machine.
its running fine on remote machine giving out put Capability 3.5
but when I am trying to get output on server machine with help of
check_nrpe I am getting nothing ,unable to read output. ,my NRPE
configuration is ok.
I am not getting why I am unable to get output on server

Please help me.


#include <stdio.h>

// Print device properties
void printDevProp(cudaDeviceProp devProp)
{
printf("Capability,%d.%d\n",devProp.major,devProp.minor);

return;
}

int main()
{
int devCount;
cudaGetDeviceCount(&devCount);

for (int i = 0; i < devCount; ++i)
{
// Get device properties
cudaDeviceProp devProp;
cudaGetDeviceProperties(&devProp, i);
printDevProp(devProp);
}

return 0;
}

--
Thanks&Regards
Nagendra Verma
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Not getting output from remote machine

Post by abrist »

Can you try running the check from the cli as user "nagios"?
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.
Locked