Hello.
I am new to Icinga. can you please help me get this point:
How does Icinga monitor disk space on Server with multiple drives.
do I have to write a script for each drive, an will get an alarm for each one, that would not be practical for us cause we dont want to get notified because of just one drive while the other are not full.
or it s possible to set a trigger for the total amount of disk space.
Thanks
I want to do the same.
I would like to do it as you recommend. Could you please let me know where exactly I can find the config files on a Linux system which I can edit? Please tell me the exact path to the config files for the host and the service.
Hello William,
thank you so much for quick answer.
Honestly I have general problem with posts in the icinga communtiy and documentations. There are always many excerpts from scripts, config files or views from the Icinga director. But where exactly these files or views are? I can’t find anything. In this specific case, I also don’t see any paths in the entry for which I asked the question, nor in your answer, and I don’t see any paths in the links you sent me either.
Yes there are no paths, because every setup is different. Generally you put the disk configuration in the agent.conf file in the zone where it lives (/etc/icinga2/zondes.d/zone_name/agent.conf) This is genrally explaned in the “how-to” guides in the documentation
the
apply Service for (disk => config in host.vars.disks) {
import “generic service”
check_command = “disk”
vars += config
}
Is generally placed in the global-templates directory as this can be applicable to all hosts in all zones
I see many excerpts from scripts, config files or views from the Icinga director but I don’t know is this the icinga director, is this a config file or what ever.
When I read this documentations its just theoretical for me I don’t know how it works in the documentation nor our Icinga system.
For example, this is from the documentation
Zone ¶
Zone objects are used to specify which Icinga 2 instances are located in a zone. Please read the distributed monitoring chapter for additional details. Example:
object Zone “master” {
endpoints = [ “icinga2-master1.localdomain”, “icinga2-master2.localdomain” ]
I don’t know is this extract above?
A view in the director?
A config file?
If so, where could the config file be?
I understand that every Icinga System is different. But is there not a basic configuration which is equal to others?
I know how to work with Iciniga director but I don’t know about the file structure on the Server.
Could you please send me a link where I can find the “how-to” guides in the documentation?
I didn’t ask for knowled about Linux Directory Structure and Important Files Paths.
I need the Icinga Directory Structure and Important Files Paths Explained.
In the Configuration - Icinga are some paths but then it stops also. And in all other Documentations there is also not explained where or what are this extracts!
And I have the same problem which I explained several times.
I asked clear questions but know answers to this.
I should examples but know response to this.