Welcome, Guest. Please login or register.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - migas62

Pages: [1]
1
Discovery / Multithread / crontab problem
« on: July 10, 2017, 07:55:48 PM »
Hi,

i installed NeDi on Centos 7 following the instructions provided by the link on your website.
I'm trying to configure multi-thread on cron like:

0,30 7-22 * * * /var/nedi/nedi.pl -Smvj -fn -P2 -Ya -A 'RIGHT(INET_NTOA(devip), 1) IN (0)' > /tmp/nedi0-`date +\%H`.run 2>&1&
1,31 7-22 * * * /var/nedi/nedi.pl -Smvj -fn -P2 -Ya -A 'RIGHT(INET_NTOA(devip), 1) IN (1)' > /tmp/nedi1-`date +\%H`.run 2>&1&
2,32 7-22 * * * /var/nedi/nedi.pl -Smvj -fn -P2 -Ya -A 'RIGHT(INET_NTOA(devip), 1) IN (2)' > /tmp/nedi2-`date +\%H`.run 2>&1&
3,33 7-22 * * * /var/nedi/nedi.pl -Smvj -fn -P2 -Ya -A 'RIGHT(INET_NTOA(devip), 1) IN (3)' > /tmp/nedi3-`date +\%H`.run 2>&1&
4,34 7-22 * * * /var/nedi/nedi.pl -Smvj -fn -P2 -Ya -A 'RIGHT(INET_NTOA(devip), 1) IN (4)' > /tmp/nedi4-`date +\%H`.run 2>&1&
5,35 7-22 * * * /var/nedi/nedi.pl -Smvj -fn -P2 -Ya -A 'RIGHT(INET_NTOA(devip), 1) IN (5)' > /tmp/nedi5-`date +\%H`.run 2>&1&
6,36 7-22 * * * /var/nedi/nedi.pl -Smvj -fn -P2 -Ya -A 'RIGHT(INET_NTOA(devip), 1) IN (6)' > /tmp/nedi6-`date +\%H`.run 2>&1&
7,37 7-22 * * * /var/nedi/nedi.pl -Smvj -fn -P2 -Ya -A 'RIGHT(INET_NTOA(devip), 1) IN (7)' > /tmp/nedi7-`date +\%H`.run 2>&1&
8,38 7-22 * * * /var/nedi/nedi.pl -Smvj -fn -P2 -Ya -A 'RIGHT(INET_NTOA(devip), 1) IN (8 )' > /tmp/nedi8-`date +\%H`.run 2>&1&
9,39 7-22 * * * /var/nedi/nedi.pl -Smvj -fn -P2 -Ya -A 'RIGHT(INET_NTOA(devip), 1) IN (9)' > /tmp/nedi9-`date +\%H`.run 2>&1&

  • In System/Files/crontab i try to add all the lines at once but when i click on the write button it gives the following error: Write /var/nedi/inc/crontab (2065 bytes) OK  / Crontab Update Errors
  • If i add one line and click write it was ok. But i can add only 9 lines with this method, the 10th gives the same error.
  • Everything i add in command line (crontab -e -u nedi) works as expected
  • On System/Files/crontab nothing runs
I'm a newbie on Linux, can you help me?
-Miguel

2
GUI / Device List on monitoring health screen
« on: March 19, 2015, 10:01:43 AM »
On the left side of the monitoring health screen is listed all the devices i am monitoring. It happens that i am monitoring about 2000 devices, so the screen becomes huge.
Is there a way to reduce or not showing this list?.

Miguel Calado

3
Discovery / Device Status monitoring problem?
« on: October 11, 2013, 02:24:43 PM »
the devices i am monitoring does not update several info.
The uptime and the switch port last status change, for example, does not update automatically.
If i run "/var/nedi/nedi.pl -vp" i have updated info.
should'nt this be automatic?


4
Installation / [error] Undefined variable cop in libmon.php
« on: October 08, 2013, 12:00:58 PM »
Hi,
in the /var/www/logs/error_log i've got a persistent error:

 [error] PHP Notice:  Undefined variable: cop in /var/nedi/html/inc/libmon.php on line 629

could you help me?

Miguel

5
Installation / Multi processor on NeDi (question from a newbie)
« on: August 05, 2013, 03:50:23 PM »
I used the ISO to create a NeDi VM with two processors.
The problem is that openBSD is only using one processor but finds two.

sysctl hw.ncpu
hw.ncpu=1
sysctl hw.ncpufound
hw.ncpufound=2

As far as i can see the file bsd.mp is missing in the instalation ISO (at least is what it seems to me).
How can i make the NeDi using two processors.
I want, if possible, to use the ISO to create the NeDi server.

Thank you
Miguel

Pages: [1]