Welcome, Guest. Please login or register.

Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
GUI / Re: Scheduled downtime for devices
« Last post by rickli on July 11, 2017, 11:43:31 AM »
Good question and I'm sure everybody encounters this situation. The monitoring service can be stopped in System-Services, but the proper approach is the maintenance mode (explained at 45:05): https://youtu.be/K5YuPGyQMmg?list=FL1aYM5K5bXjuU4cBy2FpY3g
22
Discovery / Multithread / crontab problem
« Last post by migas62 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
23
GUI / Scheduled downtime for devices
« Last post by ifonyo on July 10, 2017, 10:57:52 AM »
Hello Gents,

Is there any way or option to schedule a downtime for specific devices?
For example when there is a planed maintenance on the switch and it will be rebooted 2-3 times, than there is a way to schedule a dowtime in Nedi, that not monitor this switch in this time period?

Thanks and have a nice day.
24
Thanks, Remo! Makes sense.
25
Discovery / Re: PROBLEM OF DISCOVERY IN BIG NETWORK
« Last post by rickli on July 09, 2017, 07:17:18 PM »
I suspect slow DNS servers can cause such issues, as NeDi blocks the DB while waiting for an answer. I'll change this, but you can try with -n to see if it makes any difference.
26
1. I once thought a int(10) would be enough to hold broadcasts within a discovery. Turns out it isn't! It's initialized with int(20), but older DB's still have int(10).

2. Similarly it can happen that wlan controllers return a very long username like "Remo's MACbook or even more nonsense". Depending on your DB settings it just gets truncated or a screetching halt (your case). I'll be changing libdb.pm line 1867 in 1.7p1 to:

my $user   = $dbh->quote($m->{$dv}{$mcvl}{us}?substr($m->{$dv}{$mcvl}{us},0,30):'');

Limiting to 30 characters to hold escapes characters for singlequotes. Still might need work on ever stranger usernames!
27
Discovery / Re: PROBLEM OF DISCOVERY IN BIG NETWORK
« Last post by ascii on July 07, 2017, 10:15:53 AM »
http://forum.nedi.ch/index.php?topic=1989.msg8060#msg8060
i also use paralell discovery.
i use the end of the IP Adress as a filter.
Also skipping most of the stuff during day.

During the night i discovery the whole network based on there location.
meaning paralell discovery for the locations.

Are all you 7000 devices are connected to each other?
if they are in different locations without CDP neighborship than you can start the discovery at the same time.
28
Hmm... that's an PHP extension, right? I'm seeing these while doing discovery with nedi.pl.
29
Please install Mysqli.
30
Discovery / Re: PROBLEM OF DISCOVERY IN BIG NETWORK
« Last post by Hannu Liljemark on July 06, 2017, 09:32:47 AM »
Pages: 1 2 [3] 4 5 ... 10