WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Why is monit.tcz missing from the repo?  (Read 4234 times)

Offline willowdan

  • Newbie
  • *
  • Posts: 34
Why is monit.tcz missing from the repo?
« 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!

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: Why is monit.tcz missing from the repo?
« Reply #1 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.

Offline willowdan

  • Newbie
  • *
  • Posts: 34
Re: Why is monit.tcz missing from the repo?
« Reply #2 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!

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: Why is monit.tcz missing from the repo?
« Reply #3 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

Offline willowdan

  • Newbie
  • *
  • Posts: 34
Re: Why is monit.tcz missing from the repo?
« Reply #4 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!

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: Why is monit.tcz missing from the repo?
« Reply #5 on: January 05, 2013, 02:15:39 AM »

Offline willowdan

  • Newbie
  • *
  • Posts: 34
Re: Why is monit.tcz missing from the repo?
« Reply #6 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!

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Why is monit.tcz missing from the repo?
« Reply #7 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.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: Why is monit.tcz missing from the repo?
« Reply #8 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.


Offline willowdan

  • Newbie
  • *
  • Posts: 34
Re: Why is monit.tcz missing from the repo?
« Reply #9 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!

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: Why is monit.tcz missing from the repo?
« Reply #10 on: January 05, 2013, 11:06:19 AM »
Hi willowdan
If you are looking for email alerts, probably yes.


Offline willowdan

  • Newbie
  • *
  • Posts: 34
Re: Why is monit.tcz missing from the repo?
« Reply #11 on: January 10, 2013, 09:29:58 PM »
Hi All,

Currently trying to install monit .. two requirements:

  • openssl-0.9.8-dev
  • Linux-PAM-dev

Will update once finished installing ...

Cheers!

Offline willowdan

  • Newbie
  • *
  • Posts: 34
Re: Why is monit.tcz missing from the repo?
« Reply #12 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!
« Last Edit: January 11, 2013, 02:00:17 AM by willowdan »