Netonix Manager / Control Software

User avatar
sirhc
Employee
Employee
 
Posts: 7414
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1608 times
Been thanked: 1325 times

Re: Netonix Manager / Control Software

Fri Apr 22, 2016 7:24 am

yahel wrote:Also - sort by uptime does not work well when the display is mixed between days and no days...
(can't we upload an image/attachment to this forum? Sorry for my ignorance).


viewtopic.php?f=17&t=1593&p=11767&hilit=upload#p11767

viewtopic.php?f=17&t=1546&p=11680&hilit=upload#p11680

viewtopic.php?f=17&t=1467&p=10859&hilit=upload#p10859
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

User avatar
rkelly1
Experienced Member
 
Posts: 147
Joined: Wed Aug 20, 2014 10:06 pm
Location: Clermont, FL
Has thanked: 12 times
Been thanked: 27 times

Re: Netonix Manager / Control Software

Sun Apr 24, 2016 5:03 pm

How do I restart the service? After rebooting a windows pc, the localhost:3443 page doesn't come up. I don't see anything related in services panel to start/restart.
I see the nssm.exe in the Netonix Manager directory but unsure what to put as the service name.

Thanks

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: Netonix Manager / Control Software

Sun Apr 24, 2016 5:09 pm

The service is called "Netonix Manager". Maybe it didn't install correctly, because it should have started after a reboot, and I'm sure you would have spotted such an obvious name in the services list.

User avatar
rkelly1
Experienced Member
 
Posts: 147
Joined: Wed Aug 20, 2014 10:06 pm
Location: Clermont, FL
Has thanked: 12 times
Been thanked: 27 times

Re: Netonix Manager / Control Software

Sun Apr 24, 2016 5:29 pm

Thanks. Definitely not there...if I reinstall will I loose the switch info on 12 switches already setup? Is there a config file I can save?

User avatar
rkelly1
Experienced Member
 
Posts: 147
Joined: Wed Aug 20, 2014 10:06 pm
Location: Clermont, FL
Has thanked: 12 times
Been thanked: 27 times

Re: Netonix Manager / Control Software

Mon Apr 25, 2016 8:03 am

bump

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: Netonix Manager / Control Software

Mon Apr 25, 2016 9:32 am

rkelly1 wrote:Thanks. Definitely not there...if I reinstall will I loose the switch info on 12 switches already setup? Is there a config file I can save?


You won't lose the config on a reinstall, but if you want to back it up its in C:\Windows\System32\config\systemprofile\AppData\Roaming\Netonix Manager, just back up the whole directory.

User avatar
rkelly1
Experienced Member
 
Posts: 147
Joined: Wed Aug 20, 2014 10:06 pm
Location: Clermont, FL
Has thanked: 12 times
Been thanked: 27 times

Re: Netonix Manager / Control Software

Mon Apr 25, 2016 9:35 am

Worked perfect. Back in action! Thanks!

User avatar
aurelien personnaz
Member
 
Posts: 17
Joined: Wed Sep 23, 2015 8:10 am
Location: Grenoble, France
Has thanked: 3 times
Been thanked: 7 times

Re: Netonix Manager / Control Software

Mon May 02, 2016 9:17 am

We still have the issue of the app.js process crashing. Do you think it may come from our configuration? (Centos 7, node 4.4.3)

So to restart it automatically I had set up a real systemd service. If someone is interested here is the .service file :
Code: Select all
 

[Unit]
Description=Netonix manager service
[Service]
Type=simple
PIDFile=/var/run/netonix-manager.pid
ExecStart=/usr/bin/node /opt/netonix-manager/app.js
Restart=always
RestartSec=10 # Restart service after 10 seconds if node service crashes
StandardOutput=syslog # Output to syslog
StandardError=syslog # Output to syslog
SyslogIdentifier=netonix-manager
Environment=NODE_ENV=production
WorkingDirectory=/opt/netonix-manager
[Install]
WantedBy=multi-user.target
 


I have not managed to get the bootloader.js running with systemd.
When running the bootloader, if I set the service type to simple it does not monitor the app process, and if I set the service type to forking it awaits for the bootloader to exit on startup, which it does not.

One way to solve my problems would be to terminate the bootloader process if the app process closes. For now you only log the process exit code on a crash, but is there a reason to keep the bootloader process alive if the app process is dead?

Or did I miss a subtlety somewhere?

Thanks for your help.

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: Netonix Manager / Control Software

Mon May 02, 2016 1:08 pm

Have it run app.js directly instead of bootloader.js. It should run, but the self-update function won't work (that functionality is in bootloader.js).

That should help until I figure out why app.js is crashing.

User avatar
nriedman
Member
 
Posts: 10
Joined: Wed May 13, 2015 2:59 pm
Location: Greenfield, IN
Has thanked: 0 time
Been thanked: 3 times

Re: Netonix Manager / Control Software

Wed May 04, 2016 12:04 pm

This is great!! We had been building some scripts to automate a few tasks and this certainly will suffice. Looking forward to the progress.

PreviousNext
Return to General Discussion

Who is online

Users browsing this forum: No registered users and 19 guests