Page 1 of 1

Nagios core Running / Not Runnig

Posted: Thu Jun 13, 2019 2:25 am
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

Re: Nagios core Running / Not Runnig

Posted: Thu Jun 13, 2019 7:27 am
by rafaellouroreis
I just foud this:
Nagios.png
Nagios.png (5.78 KiB) Viewed 2231 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.


:(

Re: Nagios core Running / Not Runnig

Posted: Thu Jun 13, 2019 8:44 am
by rafaellouroreis
That was nothing the Problem !!!! after more space, still the same problem ...

:(

Re: Nagios core Running / Not Runnig

Posted: Thu Jun 13, 2019 3:23 pm
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?

Re: Nagios core Running / Not Runnig

Posted: Mon Jun 17, 2019 4:57 am
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...

Re: Nagios core Running / Not Runnig

Posted: Mon Jun 17, 2019 6:18 am
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

Re: Nagios core Running / Not Runnig

Posted: Mon Jun 17, 2019 6:52 am
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)

Re: Nagios core Running / Not Runnig

Posted: Tue Jun 18, 2019 2:02 am
by rafaellouroreis
Thanks!!!! a zilion times thanks!!!!!!!!!!!!!!!!

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

Re: Nagios core Running / Not Runnig

Posted: Tue Jun 18, 2019 6:33 am
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