Nagios plug-in doubts
Hello,
I created my own nagios plug-in to read the log file of apache. In plug-in i use file pointer FILE *fp=fopen("\var\log\httpd\access_log","r") to open and read the file.My program and path is correct. When i added the plug-in to nagios the plug-in could not read the file. please tell me how to read a file from the nagios plug-in
|