Map doesn't work

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
User avatar
t3dus
Posts: 161
Joined: Thu Feb 04, 2016 3:46 pm
Location: IA
Contact:

Map doesn't work

Post 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.
Attachments
map error.PNG
map error.PNG (7.83 KiB) Viewed 2442 times
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Map doesn't work

Post 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).
User avatar
t3dus
Posts: 161
Joined: Thu Feb 04, 2016 3:46 pm
Location: IA
Contact:

Re: Map doesn't work

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Map doesn't work

Post 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?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
User avatar
t3dus
Posts: 161
Joined: Thu Feb 04, 2016 3:46 pm
Location: IA
Contact:

Re: Map doesn't work

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Map doesn't work

Post by scottwilkerson »

When you click the "here" link in the error message what do you see?

Sorry but I cannot replicate this
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked