![]() |
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 |
Are you sure the path is correct ?
I think the correct is /var/log/httpd/access_log ..... or are you running apache and nagios in a ms-windows machine ?!?!?!??? |
All times are GMT -5. The time now is 05:10 AM. |