0

I've been having a few problems with my Nagios Core server, every time I add a host to it won't show up on the web interface although it is being monitored and the system notifies when the host goes up or down.

I've checked the permissions, the config files, and the syntax of the host file but everything seems to be fine, any idea on what could I be missing.

18
  • Can you post the config for this host and the user you are logged into the web application with?
    – Roddie
    Aug 16, 2019 at 9:16
  • Sure, this is the nagios.cfg file anf this is the cgi.cfg, the user I'm using is adminnagios
    – JoaquinHF
    Aug 19, 2019 at 16:07
  • Thanks but where is your config that defines this host? Have you got a config file in /usr/local/nagios/etc/Hosts?
    – Roddie
    Aug 22, 2019 at 11:37
  • The config files are arranged in a series of folders within /usr/local/nagios/etc/Hosts, and if I run nagios -v /usr/local/nagios/etc/nagios.cfg the systems sees them all. As far as how the hosts are declared, it's either one of the host definitions in this config file depending on the address that is used to access them.
    – JoaquinHF
    Aug 23, 2019 at 19:52
  • So what do you see when you click Hosts in the sidebar in the web interface and what happens when you go to eg https://yournagiosserver.com/nagios/cgi-bin/extinfo.cgi?type=1&host=hostname1 ?
    – Roddie
    Aug 28, 2019 at 11:45

0

You must log in to answer this question.

Browse other questions tagged .