With NAGIOS V3.2.1, If I modify the windows.cfg file :
define host{
use windows-server ; Inherit default values from a template
host_name msuntec7 ; The name we’re giving to this host
alias Server MSUNTEC7 ; A longer name associated with the host
address 192.168.2.199 ; IP address of the host
}
define host {
host_name msuntec19
use generic-host
alias Serveur Linux pour Model Book
address 192.168.2.189
If you don’t use a template you have to define some more directives: nagios.sourceforge.net/docs/3_0/ … .html#host
Note: Directives in red are required, while those in black are optional.
There’s probably some cronjob deleting the files or archiving them. Who created the server infrastructure? ask these people or check your internal docs.
I also got solution from your post as I am also facing the same problem. I have tried to solve this problem but can not success because of some problems in programming. After visiting the above post I thought to try it and it has solved my problem.