Node Status: Untested ...
-
- Posts: 7
- Joined: Mon Mar 09, 2009 7:46 am
Node Status: Untested ...
So I created a new Node with hostname 192.168.8.100 (tried 127.0.0.1 also) with node enabled, 5 min intervals, and ping test checked. I added 2 tests:
-- remote ping test --
IP - 208.94.117.108 (pingable from VM),
test interval 1min,
custom attempts 5,
test enabled, recorded, and simple eval checked.
-- web size test --
Address http://www.firelite.net (pingable from VM),
test interval 1min,
custom attempts 5,
test enabled, recorded, and simple eval checked.
Stays "Last Tested: never" even after it's been 20 mins. Tried rebooting.
I couldn't find anything in the docs regarding this issue. How should I initiate the go?
-- remote ping test --
IP - 208.94.117.108 (pingable from VM),
test interval 1min,
custom attempts 5,
test enabled, recorded, and simple eval checked.
-- web size test --
Address http://www.firelite.net (pingable from VM),
test interval 1min,
custom attempts 5,
test enabled, recorded, and simple eval checked.
Stays "Last Tested: never" even after it's been 20 mins. Tried rebooting.
I couldn't find anything in the docs regarding this issue. How should I initiate the go?
Re: Node Status: Untested ...
Hi,
Are you using the VM? If so then it should fire automatically.
Try running the script manually:
- login as root
- cd to /opt/freenats/server/bin
- do: php tester.php <nodeid>
(where <nodeid> is the nodeid you want to test)
See what outputs. If it's not running it should be pretty obvious why.
Let me know what that outputs for your node. If it works but it still doesn't get tested every five minutes then perhaps cron has died?
Regards,
Dave.
Are you using the VM? If so then it should fire automatically.
Try running the script manually:
- login as root
- cd to /opt/freenats/server/bin
- do: php tester.php <nodeid>
(where <nodeid> is the nodeid you want to test)
See what outputs. If it's not running it should be pretty obvious why.
Let me know what that outputs for your node. If it works but it still doesn't get tested every five minutes then perhaps cron has died?
Regards,
Dave.
-
- Posts: 7
- Joined: Mon Mar 09, 2009 7:46 am
Re: Node Status: Untested ...
entered:
returns:
I'm assuming PHP isn't installed or working.
Code: Select all
cd /opt/freenats/server/bin
php tester.php node2
Code: Select all
-bash: php command not found
Re: Node Status: Untested ...
Hi,
Are you using the FreeNATS VM? PHP should be in the search path if so. I've just booted up a copy and it works fine.
Try doing a: ./tester.sh <nodeid>
If you are using the FreeNATS VM is it version 4.0?
If you're not using the FreeNATS VM and did a source install onto your own system then PHP will need to be in the search-path (as a command-line binary).
Cheers,
Dave.
Are you using the FreeNATS VM? PHP should be in the search path if so. I've just booted up a copy and it works fine.
Try doing a: ./tester.sh <nodeid>
If you are using the FreeNATS VM is it version 4.0?
If you're not using the FreeNATS VM and did a source install onto your own system then PHP will need to be in the search-path (as a command-line binary).
Cheers,
Dave.
-
- Posts: 7
- Joined: Mon Mar 09, 2009 7:46 am
Re: Node Status: Untested ...
Ok so I typed in the bin folder:
returned:
I am indeed using the FreeNATS Appliance 4.0 and updated it as directed.
Code: Select all
./tester.sh
Code: Select all
./tester.sh: line2: php: command not found
Re: Node Status: Untested ...
Hi,
That is very strange - looks like PHP isn't installed for command-line use.
Hmm... I wonder if I mucked up that VM though my image here looks ok. Sadly I'm on GRPS for the moment and so can't download the online image - my local copy of that version works fine though.
Can you try the three conary steps detailed in this post: http://www.purplepixie.org/freenats/news.php?id=80
This should install/update PHP and hopefully fix your problem.
Cheers,
Dave.
That is very strange - looks like PHP isn't installed for command-line use.
Hmm... I wonder if I mucked up that VM though my image here looks ok. Sadly I'm on GRPS for the moment and so can't download the online image - my local copy of that version works fine though.
Can you try the three conary steps detailed in this post: http://www.purplepixie.org/freenats/news.php?id=80
This should install/update PHP and hopefully fix your problem.
Cheers,
Dave.
-
- Posts: 7
- Joined: Mon Mar 09, 2009 7:46 am
Re: Node Status: Untested ... works
All good to go! Thanks Dave!
Re: Node Status: Untested ...
You're welcome though it shouldn't have happened in the first place. When I get a chance and some actual bandwidth I'll download the online VM and see if I can replicate.
Anyway - I'm glad it's working now.
Regards,
Dave.
Anyway - I'm glad it's working now.
Regards,
Dave.