Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: willowdan on January 04, 2013, 11:20:18 PM

Title: Why is monit.tcz missing from the repo?
Post by: willowdan on January 04, 2013, 11:20:18 PM
Hi Everyone,

I just noticed monit.tcz is missing from http://distro.ibiblio.org/tinycorelinux/4.x/x86/tcz/ but it is in http://distro.ibiblio.org/tinycorelinux/3.x/tcz/index_nojs.html. Is this a simple case of monit not yet supported in Tinycore 4.x versions? If so, any alternative i can use in 4.x versions?

Many thanks and cheers!
Title: Re: Why is monit.tcz missing from the repo?
Post by: Rich on January 05, 2013, 12:47:33 AM
Hi willowdan
The reason it's only in the TC3 repo is because when Remus was setting up a Samba server he had problems
with Samba under TC4 and had to revert to TC3. You could download the monit extension and try it under
TC4 to see if it works. I see openssl-0.9.8-dev is listed as a dependency, you may need to download that too.
It's possible openssl-0.9.8-dev is a typo, he may have meant openssl-0.9.8.
Title: Re: Why is monit.tcz missing from the repo?
Post by: willowdan on January 05, 2013, 12:53:37 AM
Hi Rich,

I suddenly just finished a solution using crontab and shell script :). I would love to try monit, from where can I download it? It can't be searched via tce-ab in core server, or even in its GUI counterpart.

Many thanks and Cheers!
Title: Re: Why is monit.tcz missing from the repo?
Post by: Rich on January 05, 2013, 01:50:34 AM
Hi willowdan
You can use wget. Go to the bottom of this Wiki page:
http://wiki.tinycorelinux.net/wiki:wget
Title: Re: Why is monit.tcz missing from the repo?
Post by: willowdan on January 05, 2013, 02:07:40 AM
Hi Rich,

Do you mean to get the generic monit file daemon from its website, and not to get monit.tcz, right?

Many thanks and cheers!
Title: Re: Why is monit.tcz missing from the repo?
Post by: Rich on January 05, 2013, 02:15:39 AM
Hi willowdan
No, I meant get the tcz and dep files.
wget http://distro.ibiblio.org/tinycorelinux/3.x/tcz/monit.tcz
wget http://distro.ibiblio.org/tinycorelinux/3.x/tcz/monit.tcz.dep
etc.
Title: Re: Why is monit.tcz missing from the repo?
Post by: willowdan on January 05, 2013, 06:38:14 AM
I was refering to [removed due to policy violation]/install-programs.html

But apparently after downloading via:

wget http://distro.ibiblio.org/tinycorelinux/3.x/tcz/monit.tcz
wget http://distro.ibiblio.org/tinycorelinux/3.x/tcz/monit.tcz.dep

.. and saving both files in /mnt/sda1/tce/optional folder and rebooting the core doesn't do anything to install monit.

Please help if I'm doing things right.

Many thanks and cheers!
Title: Re: Why is monit.tcz missing from the repo?
Post by: Juanito on January 05, 2013, 09:12:15 AM
It's probably a good idea to read up on the tinycore basics in the wiki.

You need to use the apps gui to load the monit extension - you can also set it "onboot" so it will load automatically from now on if required.
Title: Re: Why is monit.tcz missing from the repo?
Post by: Rich on January 05, 2013, 09:17:09 AM
Hi willowdan
Sorry, you also need to add the line:
Code: [Select]
monit.tczto your  /mnt/sda1/tce/onboot.lst  file.
Or do what Juanito said.

Title: Re: Why is monit.tcz missing from the repo?
Post by: willowdan on January 05, 2013, 10:43:43 AM
Hi Juanito and Rich,

Appreciate your help. However, correct me if I'm wrong, I will still needing msmtp or postfix in core to utilize the notification module of monit, right?

Many thanks and cheers!
Title: Re: Why is monit.tcz missing from the repo?
Post by: Rich on January 05, 2013, 11:06:19 AM
Hi willowdan
If you are looking for email alerts, probably yes.

Title: Re: Why is monit.tcz missing from the repo?
Post by: willowdan on January 10, 2013, 09:29:58 PM
Hi All,

Currently trying to install monit .. two requirements:


Will update once finished installing ...

Cheers!
Title: Re: Why is monit.tcz missing from the repo?
Post by: willowdan on January 11, 2013, 12:22:37 AM
Hi All,

I've successfully installed monit without using tce-ab. It was through the manual inclusion of monit.tcz in the onboot.lst and downloading of the following files into the "optional" folder via wget:


Currently monit monitors a folder related to powering off a vm.

Cheers!