vars.agent_type = "ssh"
vars.os_type = "linux"
/* Define http vhost attributes for service apply rules in `services.conf`. */
vars.http_vhosts["http"] = {
http_uri = "/"
}
/* Define disks and attributes for service apply rules in `services.conf`. */
vars.disks["disk"] = {
/* No parameters. */
}
vars.disks["disk /"] = {
disk_partitions = "/"
}
/* Define notification mail attributes for notification apply rules in `notifications.conf`. */
vars.notification["mail"] = {
/* The UserGroup `icingaadmins` is defined in `users.conf`. */
groups = [ "icingaadmins" ]
}
}
For me SSL and Http checks are working via SSH Agent but other features such as - disk space, DNS resolution, ping monitoring are not working. Please assist.
For Disk space
Icinga server is connected with remote server using command (ssh -i $HOME/.ssh/id_rsa icinga@ssh-agent1.localdomain). it should be showing disk space stats of remote server instead of Icinga server.
For ping
Error says “PING CRITICAL - Packet loss = 100%” for SSL enabled domains, but it’s works fine for non SSL domains.
As @unixe wrote log entries would be very interesting for helping you. Logs from icinga, system etc. also from your remote server
Did you test the check command on your shell on your remote Server? If it works there then you probably have a problem with your SSH Connection. Specially if you write this configuration works on non ssl domains. Another Problem could be permissions on your remote Server. Because you write some checks works and some not.
As of now we have configured it and we are able to ssh to remote server and also run the command $host df -k which executed perfectly without any error.
When method, no error gets logged to console. Can you just provide me a list of mandatory variables to be set with details needed for the configuration.
ICINGA Server : Ubuntu 16.06
Remote Server : Ubuntu 14.04