About Forum Blogs NOC Docs Downloads KB Issues Code CI Registration

nocproject.org

#nocproject.org at irc.freenode.net log.
Back to nocproject.org Back to IRC log index
Date: 26.03.2016
dvolodin #
09:46
народ, а кто переливает железки из заббикса в NOC?
freeseacher #
10:10
у меня был обратный процесс. :)
dvolodin #
10:25
а вот это уже проблема заббикса
10:25
:)
SomovIS_ #
10:26
Или нока
10:27
У нас рук хочет мониторинг всей сети на забиксе сделать, не хочет к ноку прикасаться, не верит в него
10:28
Я один нок кое как кручу
10:28
Просто не видит возможности
dvolodin #
12:00
зависит от того, что он хочет видеть в итоге
SomovIS_ #
12:06
все сервисы в одном месте
12:06
без управления сеткой
12:06
это скучно
12:46
dvolodin: что нужно сделать в графане, что бы актуальные значения показывались?
12:54
Хорошо сделал в карточках, видно admin/oper status
dvolodin #
12:55
там много чего видно, особенно если загрузить клиентов и сервисы
12:57
нормальный интерфейс для 1 и 2 линий
12:57
и его можно в iframe вставить в биллинг или CRM
SomovIS_ #
12:58
Ты еще производительность подкрутил смотрю, рам освободилось много
12:58
3-4гб в среднем было, сейчас 2гб
12:59
Что там в графане надо сделать для графиков?
dvolodin #
13:33
да, я ему сильно урезал аппетит по IOPS'ам и памяти
13:33
в графане - да ничего не надо, все само заработает
13:33
на карте сети тыкаешь в железку - там есть переход на дашборд
13:34
из карточек сделаю чуть позже
zi_home #
16:29
SomovIS_, знаешь, мне вот стыдно продвигать нок при том как он работает. Может для high load в ноке заложены интересности, но зачем оно надо если он базовые вещи делает ужасно. В фм алармы копятся и не закрываются, графики периодически перестают рисоваться, пр
16:29
и установленном интервале в 5 минут, а точки снимаются только через 15, причем зависимости от настроек вообще нет, что 5 минут что одна. И это речь только о том что сделано, молчим о том что не работает потому что не реализовано
SomovIS_ #
17:10
Потенциал заложен, работает пара человек, уже можно назвать успехом. Это же не вендорский продукт типо junos space, не стоит денег.
17:11
Косяки есть, можно исправить, как и в платном софте
17:12
Solar winds помню 3 года назад, фиксы модулей приходилось выпрашивать на форуме и ждать неделями
gtrott___ #
17:40
hello
17:41
can anyone give some pointers on how to add devices so i can build network map
17:43
может кто-то момент мне , как добавить устройства , таким образом они появляются на карте сети с интерфейсами ?
zi_home #
18:03
gtrott___, where are you stuck?
gtrott___ #
18:03
I'm trying to add a router and some interfaces
zi_home #
18:04
add router and enable interface discovery
gtrott___ #
18:04
created a new vendor for mikrotik
zi_home #
18:04
discovery methods enables in managed object profile
gtrott___ #
18:05
ok.. so this going to populate dynamicly
zi_home #
18:05
yes
18:05
this is only way
gtrott___ #
18:05
ok
18:05
let me try to add the router then
18:07
where do you the router?
zi_home #
18:07
you need service activation module
18:07
in the left side menu
gtrott___ #
18:09
ok
zi_home #
18:10
SomovIS_, на одном потенциале далеко не уедешь. я пять лет назад начал пользоваться ноком, потенциал так и остается потенциалом. то есть то что делается, даже работает, но с таким количеством проблем...
18:11
очень подкупает иметь все решения в одной системе и не париться с интеграцией, но хотелось бы чтобы система эта работала
gtrott___ #
18:32
zi_home ok i have an attached mikrotik now
zi_home #
18:37
which status of interface discovery
gtrott___ #
18:37
not pulling it in
18:37
pulled some data
18:38
shows fail
zi_home #
18:38
check support > crashinfo for tracebacks
18:39
or logs
gtrott___ #
18:39
nothing in crash info
18:43
it pulled the config in
18:44
shows version
18:44
no interfaces
18:44
https://www.irccloud.com/pastebin/VzBJXhq4/
18:44
found traceback
zi_home #
18:45
yes
18:46
look at /opt/noc/sa/profiles/MikroTik/RouterOS/get_interfaces.py
18:46
try to add fix
18:47
this is simple should be
gtrott___ #
18:48
so its doesnt like the bond interface i think
zi_home #
18:49
but in type_map bond is present
18:50
hard to read your traceback
18:53
gtrott___, or which version you installed?
gtrott___ #
18:54
version of NOC?
zi_home #
18:54
in default branch bond type not present in script
18:54
but in develop it here
18:55
noc this is paradox, develop branch more stable than release
gtrott___ #
18:56
ok
zi_home #
18:56
try to upgrade or add bond type manualy
gtrott___ #
18:57
my friend help me get NOC running... so does it have a way to use git to change to dev branch?
zi_home #
18:57
etc/upgrade.conf for change branch
18:57
./scripts/upgrade for update
gtrott___ #
18:59
ok. ill see if i can figure this out
18:59
lol
19:00
im a network guy... not a linux sysadmin... i know enough to get around
zi_home #
19:02
me too
gtrott___ #
19:08
not seeing those files in /etc
19:08
found it
19:09
https://www.irccloud.com/pastebin/LATwTKym/
19:10
where do you change branch?
19:10
repo
19:10
?
zi_home #
19:11
this is not full file
19:11
open file and go throught it
19:11
#
19:11
# BRANCH:
19:11
# Branch to follow
19:11
# Possible values are:
19:11
# default - production releases
19:11
# develop - stable development branch
19:11
# release/<version> - pre-release testing branch
19:11
# feature/<name> - feature development branch
19:11
# hotfix/<version> - hotfix development branch
19:11
# none - do not pull and apply repo updates
19:11
#
19:11
BRANCH=develop
gtrott___ #
19:12
ok see that now. lol
19:12
damn rookie admin over here
19:12
i use nano a few times a month
zi_home #
19:13
noc changes this
gtrott___ #
19:15
ok so now to scripts
19:19
how do i run the script? ./ upgrade?
zi_home #
19:20
no
19:20
cd /opt/noc
19:20
./scripts/upgrade
gtrott___ #
19:20
upgrade: NOC is running now. Shutdown it first.
19:20
Terminating
zi_home #
19:21
yes
gtrott___ #
19:21
need to stop service i guess
zi_home #
19:21
yes
gtrott___ #
19:32
ok done!
19:34
interface discovery worked now :)
19:34
thanks!
zi_home #
19:35
this is only start
gtrott___ #
19:45
yea. i see that. haha
19:45
its like ok, now what
19:46
i have one router onmap in top right corner that will not move on screen
19:46
top left sorry
zi_home #
19:51
use edit button
19:51
on panel
19:56
dvolodin, слушай, а что с размером карты?
dvolodin #
19:56
?
zi_home #
19:56
почему мне дает железки только в небольшом квадрате двигать?
19:57
как увеличить
19:57
в прошлой версии, карта растягивалась когда к краю пододвигаешься
gtrott___ #
19:59
the edit button is grayed out
zi_home #
20:01
try to relogin
gtrott___ #
20:12
that worked
20:12
thanks
SomovIS_ #
20:33
dvolodin: в графане bps не актуальный
20:34
Вот почему я спрашивал что крутить надо
dvolodin #
20:53
как не актуальный?
gtrott___ #
21:08
any reason why i have 6 objects on network map... but only one icon?
zi_home #
21:18
they stacked
21:19
or what you mean?
gtrott___ #
21:19
i move it.. only has one icon
21:19
shows 6 on right.... where the status is. but only one icon i can move
zi_home #
21:20
i dont understand. show screenshot
gtrott___ #
21:21
ok
21:23
https://usercontent.irccloud-cdn.com/file/ExYjmgxk/Screen%20Shot%202016-03-26%20at%205.18.40%20PM.png
21:23
only have one object on map
zi_home #
21:24
very strange. try to click new layout button
gtrott___ #
21:24
tried that
21:24
hat is weird it shows the last device i add only
21:24
*what
zi_home #
21:25
ctrl + f5?
21:26
some other strange things in noc fixed by restart :)
gtrott___ #
21:26
it was the browser
21:26
firefox works fine
21:26
chome no good
zi_home #
21:27
yes, I hear about problem with chrome from other users
gtrott___ #
21:32
should it show interfaces in the map?
zi_home #
21:32
no
21:32
only links
gtrott___ #
21:32
ok. how do i add links
21:32
or is that dynamic
zi_home #
21:32
yes and no
21:33
noc can automatically search for links between devices, but for mikrotik profile hos no scripts for this
21:33
so you need add links manually
gtrott___ #
21:33
ok
zi_home #
21:34
or write appropriate scripts :)
21:34
inventory > interfaces for adding links manually
gtrott___ #
21:35
ok. Ill try manually... the scripts would be nice... maybe i can find someone to help with that
21:37
hmm its shows the interfaces.. no place to specify links
zi_home #
21:38
blue button on the left of the grid
gtrott___ #
21:38
ahh. thanks
zi_home #
21:38
near interface name
gtrott___ #
21:38
haha
21:47
without my core switches going to be tough. i have stacked brocade ICX
21:47
brocade ironware script not working
21:47
need to figure that out... need to edit commands
21:56
where are the scripts located?
zi_home #
21:57
sa/profiles
gtrott___ #
22:03
ok. thanks
22:10
not finding it under sa
22:10
managed object profile?
zi_home #
22:12
from console go to /opt/noc/sa/profiles
gtrott___ #
22:13
ahh
22:18
hmm the command is right for show config
zi_home #
22:20
./noc debug-script get_config <mo_name>
gtrott___ #
22:31
what is mo_name?
Villi #
22:53
managed object
gtrott___ #
23:34
Ok. Thanks. I'll give that a try
23:43
https://www.irccloud.com/pastebin/2NZ4MhDg/
23:57
I'm lost at this point. I'm using the brocade iron ware script. The command is proper. But giving an error at the end of debug.
23:58
Well I don't think it makes it to the command.
Tweet
Share this page
Share this page: Tweet