Results 1 to 3 of 3
HELP!!!
I didn't define the "comment_cfg=/xxx/xxx.cfg" in nagios.cfg,but after I wrote some comments on the hosts and services,I can't find the file which's storing those comments.I need to write a ...
- 08-01-2009 #1Just Joined!
- Join Date
- Jun 2009
- Location
- China
- Posts
- 3
nagios:where is the "comment" file?
HELP!!!
I didn't define the "comment_cfg=/xxx/xxx.cfg" in nagios.cfg,but after I wrote some comments on the hosts and services,I can't find the file which's storing those comments.I need to write a script to process lots of comments on the monitoring object.
And,I need some perl scripts templae for nagios plugin,search on google many days but get nothing......can somebody help!!!
- 08-03-2009 #2
Firstly, could you tell me please what version of Nagios do you have. Secondly, as I can there is no define "comment_cfg=/xxx/xxx.cfg" to use in Nagios configuration files.
In the Nagios 1.0/2.0 documentation is mentioned about comment files:
Format: comment_file=<file_name>
Example: comment_file=/usr/local/nagios/var/comment.log
So you can try to search the comment.log file (locate comment.log, or etc) or check the path given in the example.
- 08-03-2009 #3Just Joined!
- Join Date
- Jun 2009
- Location
- China
- Posts
- 3
the version of nagios is 3.0
I found it ,it located in the /var directory
now i can run a script to proccess it


Reply With Quote

