Ya, The problem is solved now. Actually nagios is searching the "loging.log" file in me / directory. which i identify , when i printf a PWD in the code. So i placed the loging.log file there and it is working fine. But it will not work when i deploy the same to a server. so searching for t...
Hi i have a plugin written in c that will parse a .log<server log> file and determine the page hit count _xLogFileName = "loging.log"; _xFile = fopen ( _xLogFileName, "r" ); if ( _xFile != NULL ) { // process file }else { printf("error\n"); return 3; } now i placed the ...