Page 1 of 1

Map doesn't work

Posted: Sat Jan 13, 2018 4:17 pm
by t3dus
I have a nagios server on a VPS server and everything is working just fine except the map..

The map has this error. I'm not exactly sure how to fix it.

Re: Map doesn't work

Posted: Mon Jan 15, 2018 1:28 pm
by dwhitfield
What info, if any, does it show when you click the "here" for more info? It looks like the map is not able to see the nagios process, but if everything else is working it does make a lot of sense.

What's the output of:

Code: Select all

service nagios status
sestatus
ps -aef | grep nagios.cfg
Please put the output in a code block (or blocks). The "Code" button is the fifth from the left on the post input screen (between Quote and List).

Re: Map doesn't work

Posted: Wed Feb 21, 2018 2:41 pm
by t3dus
dwhitfield wrote:What info, if any, does it show when you click the "here" for more info? It looks like the map is not able to see the nagios process, but if everything else is working it does make a lot of sense.

What's the output of:

Code: Select all

service nagios status
sestatus
ps -aef | grep nagios.cfg
Please put the output in a code block (or blocks). The "Code" button is the fifth from the left on the post input screen (between Quote and List).

Code: Select all

# service nagios status
â— nagios.service - LSB: Example initscript
   Loaded: loaded (/etc/init.d/nagios; bad; vendor preset: enabled)
   Active: active (running) since Mon 2018-02-05 21:13:54 EST; 2 weeks 1 days ago
     Docs: man:systemd-sysv-generator(8)
  Process: 13827 ExecStop=/etc/init.d/nagios stop (code=exited, status=0/SUCCESS)
  Process: 13854 ExecStart=/etc/init.d/nagios start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/nagios.service
           ├─13862 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
           ├─13863 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
           ├─13864 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
           ├─13865 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
           ├─13866 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
           ├─13867 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
           ├─13868 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
           └─13869 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg

Code: Select all

# sestatus
-bash: sestatus: command not found

Code: Select all

# ps -aef | grep nagios.cfg
nagios   13862     1  0 Feb05 ?        00:07:10 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios   13869 13862  0 Feb05 ?        00:01:04 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root     29998 29664  0 14:41 pts/0    00:00:00 grep --color=auto nagios.cfg

Re: Map doesn't work

Posted: Thu Feb 22, 2018 5:34 pm
by scottwilkerson
wow this is a month old, are you still experiencing the same problem with the map and have you all along? This can happen if the pid is not being updated properly.

What version of Nagios are you running?

Re: Map doesn't work

Posted: Thu Feb 22, 2018 5:55 pm
by t3dus
scottwilkerson wrote:wow this is a month old, are you still experiencing the same problem with the map and have you all along? This can happen if the pid is not being updated properly.

What version of Nagios are you running?
Still having it. I just forgot to update the topic. Nagios Core 4.3.4

Re: Map doesn't work

Posted: Fri Feb 23, 2018 4:52 pm
by scottwilkerson
When you click the "here" link in the error message what do you see?

Sorry but I cannot replicate this