My /usr was under / partition and due to space crunch i had to move /usr to a new partition booting thru rescue mode. Copied all files from /usr to /usr1 and renamed /usr1 in rescue mode.
After rebooting everything is fine... Nagios, Postgresql & Mysql are up and service checks are fine. Admin->System Status show all components are good. But not able to see any performance graphs of any monitors. They are just blank.
Appreciate any help. TIA.
Seperating /usr partition
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Seperating /usr partition
Did you change the location of the original directories:
And:
Is this for all hosts/services, or only a select number? Do you see perfdata that stops at the time when you switched the partition name over on the graphs?
Code: Select all
/usr/local/nagios/share/perfdata/Code: Select all
/var/lib/mrtg/Re: Seperating /usr partition
First, try restarting npcd as it may be pointing to old inodes:
Start troubleshooting by checking the logs for errors. Enable logging by following the FAQ:
http://support.nagios.com/wiki/index.ph ... leshooting
Then run a tail of the following logs and post them here:
If you notice any load_threshold or TIMEOUT issues, see the following FAQ entries:
http://support.nagios.com/wiki/index.ph ... ta_Timeout
http://support.nagios.com/wiki/index.ph ... _Threshold
EDIT: Also, did you preserve permission when you copied /usr?
Code: Select all
service npcd restarthttp://support.nagios.com/wiki/index.ph ... leshooting
Then run a tail of the following logs and post them here:
Code: Select all
tail -25 /usr/local/nagios/var/npcd.log
tail -25 /usr/local/nagios/var/perfdata.loghttp://support.nagios.com/wiki/index.ph ... ta_Timeout
http://support.nagios.com/wiki/index.ph ... _Threshold
EDIT: Also, did you preserve permission when you copied /usr?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
narayanamoorthys
- Posts: 10
- Joined: Tue Dec 17, 2013 2:40 am
Re: Seperating /usr partition
The problem is due to more number of on xipde folder. Removing after the folder as mentioned in FAQ everything is fine.
The FAQ helped a lot. Thanks.
The FAQ helped a lot. Thanks.
Re: Seperating /usr partition
No problem. I think I will move the xidpe faq entry up into the main perfdata section and generalize it as it applies to all releases. Thanks for the feedback, cheers!
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.