Reactivate NagiosXi License

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
adm.trunglv
Posts: 16
Joined: Mon Jan 16, 2012 3:00 am

Reactivate NagiosXi License

Post by adm.trunglv »

Hi you,
I had a NagiosXi running on CentOS 6.3 server but i have some problems with this machine.
For more than one year ago, i bought license for NagiosXi and activated with Nagios. Now, if i want to reinstall the OS then NagiosXi on the same server. What do i need to do if i want to reactive my license?
Could you please guide me about this?


Thank you very much,

Trung Le Viet
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Reactivate NagiosXi License

Post by abrist »

Your License should still work with the major version that was current when the license was purchased (2011, 2012, etc). You will have to go through the activation process again though.
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.
adm.trunglv
Posts: 16
Joined: Mon Jan 16, 2012 3:00 am

Re: Reactivate NagiosXi License

Post by adm.trunglv »

Many thanks Abrist, This is a good sound for me :)
I didn't understand why the hard drive on NagiosXi server was full to fast. There is not any other tool installed on this machine except NagiosXi. I attached an USB device 500GB to this machine then extended the / partition but the stored size still be increasing quickly. That's why i want to reinstall the OS and NagiosXi. Only about more than 70 devices which is monitored by NagiosXi

Trung Le Viet,
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Reactivate NagiosXi License

Post by slansing »

Well how large was the partition that the Nagios and the server log's resided on? We would need to see your filestructure the help answer this but it sounds like you already wiped everything? This can be due to a number of things, if there was not enough room availible on the partition and you were actively checking your hosts and services multiple times within a 5 minute interval or there were other system problems causing issues your logs could have filled quite fast, and then been rotated out and saved.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Reactivate NagiosXi License

Post by abrist »

It probably filled up with one of:
1. /tmp/check* files - usually happens when passive are still reporting even though the nagios process is stopped.
2. perfdata - usually due to a problem with npcd or the process-perfdata script.
3. Log explosion - caused by many things - usually a single error repeated many times a minute.

Additionally, an improperly configured ramdisk can lead to all sorts of issues as well. Many times, you may not be out of space on /, but you will have filled up /tmp (stopping lock files from being created) or have used all the inodes (which will report errors resembling a full disk).
Overall, when you have space issues, run the following commands to drill down the issues:

Code: Select all

df -i
df -h
cd /; du -hsx * | sort -rh | head -10
cd /; find . -type f -print0 | xargs -0 du | sort -n | tail -10 | cut -f2 | xargs -I{} du -sh {}
cd /; find . -type d -print0 | xargs -0 du | sort -n | tail -10 | cut -f2 | xargs -I{} du -sh {}
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.
adm.trunglv
Posts: 16
Joined: Mon Jan 16, 2012 3:00 am

Re: Reactivate NagiosXi License

Post by adm.trunglv »

Many thanks Abrist,

By using these command line
cd /; find . -type f -print0 | xargs -0 du | sort -n | tail -10 | cut -f2 | xargs -I{} du -sh {}
cd /var; find . -type f -print0 | xargs -0 du | sort -n | tail -10 | cut -f2 | xargs -I{} du -sh {}
I fount what is cause for this problem.
There are too many log-bin files in /var/lib/mysql directory.
I uncomment this line #log-bin=/var/lib/mysql/log-bin in the /etc/my.cnf files then restarted mysqld service and deleted log-bin files :)

Thanks Abrist so much, :)

Trung Le Viet
Locked