Nagios core Running / Not Runnig

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
rafaellouroreis
Posts: 9
Joined: Wed Jun 12, 2019 1:28 am

Nagios core Running / Not Runnig

Post by rafaellouroreis »

Hello guys,

Since 2 weeks, without any change, my nagios is not working 100 % at all.

He start so show "No Matching Services" for some hosts, and after a while is again ok.

Than dont show nothinhg at all, and again, after a while, 100% ok.

i see that nagios core change alone between Running and Not running in seconds..


What can this be ?

Im using Nagios 4.2.2 core at a Ubuntu linux
rafaellouroreis
Posts: 9
Joined: Wed Jun 12, 2019 1:28 am

Re: Nagios core Running / Not Runnig

Post by rafaellouroreis »

I just foud this:
Nagios.png
Nagios.png (5.78 KiB) Viewed 1933 times
/dev/mapper/nagios--vg-root is full. i think this can be my problem ?? !

i give already more 10 GB at vCenter ( im using vmeare ) for the disk of this VM, but i dont know how to make tihis partition bigger at linux.
i´m using Ubuntu Core.


:(
rafaellouroreis
Posts: 9
Joined: Wed Jun 12, 2019 1:28 am

Re: Nagios core Running / Not Runnig

Post by rafaellouroreis »

That was nothing the Problem !!!! after more space, still the same problem ...

:(
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios core Running / Not Runnig

Post by scottwilkerson »

rafaellouroreis wrote:That was nothing the Problem !!!! after more space, still the same problem ...

:(
Did you verify the current nagios config?

Code: Select all

bin/nagios -v etc/nagios.cfg
then restart nagios?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
rafaellouroreis
Posts: 9
Joined: Wed Jun 12, 2019 1:28 am

Re: Nagios core Running / Not Runnig

Post by rafaellouroreis »

Configuratios is ok, no errors.

As i wrote, no changes was made at all. After a Reboot from linux, it works again for a while and the problem is comming again.

I dont know what can cause this bahavior, nacios core work stop to work alone, than work again...
rafaellouroreis
Posts: 9
Joined: Wed Jun 12, 2019 1:28 am

Re: Nagios core Running / Not Runnig

Post by rafaellouroreis »

I still have problem with space!!! :(

i dont understand: See /DEV/mapper/Nagios--vg-root ( 100% full ) how i can make this bigger????

gparted.PNG
gparted2.PNG
gparted3.PNG
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios core Running / Not Runnig

Post by scottwilkerson »

First make sure you have a backup of your system, then you would run something like the following

Code: Select all

pvresize /dev/sda5

Code: Select all

lvresize /dev/mapper/Nagios--vg-root /dev/sda5

Code: Select all

resize2fs /dev/mapper/Nagios--vg-root
Finally, once these are done verify it has increased

Code: Select all

df -h
(Adapted from our Resizing The Virtual Machine Disk Size doc with different volume labels)
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
rafaellouroreis
Posts: 9
Joined: Wed Jun 12, 2019 1:28 am

Re: Nagios core Running / Not Runnig

Post by rafaellouroreis »

Thanks!!!! a zilion times thanks!!!!!!!!!!!!!!!!

Nagios have enough space now, hope this fix the problem!!! you save my day!!! :D
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios core Running / Not Runnig

Post by scottwilkerson »

rafaellouroreis wrote:Thanks!!!! a zilion times thanks!!!!!!!!!!!!!!!!

Nagios have enough space now, hope this fix the problem!!! you save my day!!! :D
Great!

Locking
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked