Hi,
I have a problem with /usr/lib/nav/powersupplywatch.py:
I get the following error runninng this script as user navcron:
[2014-03-24 18:11:51,243] [DEBUG] Allocate SNMP-handle for
cat-XXX-vl-742.pz.p.unibas.ch
[2014-03-24 18:11:51,244] [DEBUG] Polling cat-XXX-vl-742.pz.p.unibas.ch:
WS-C2960G-8TC-L - Power Supply 0
[2014-03-24 18:11:51,244] [DEBUG] Stored state = Unknown; polled state =
Unknown
[2014-03-24 18:11:51,247] [DEBUG] Allocate SNMP-handle for
cat-XXX-vl-742.pz.p.unibas.ch
snmp_open: Unknown host (10.XX.XX.186:161)
[2014-03-24 18:11:51,247] [ERROR] snmp_open: Unknown host (10.XX.XX.186:161)
Traceback (most recent call last):
File "/usr/lib/nav/powersupplywatch.py", line 390, in <module>
File "/usr/lib/nav/powersupplywatch.py", line 174, in main
File "/usr/lib/nav/powersupplywatch.py", line 244, in check_psus_and_fans
File "/usr/lib/nav/powersupplywatch.py", line 275, in get_snmp_handle
File "/usr/lib/pymodules/python2.7/nav/Snmp/pynetsnmp.py", line 66, in
__init__
File "/usr/lib/pymodules/python2.7/pynetsnmp/netsnmp.py", line 421, in
open
pynetsnmp.netsnmp.SnmpError: snmp_open
NAV can actually poll the device with snmp. When I delete the device, the
next device in the list will fail. It's always device No. 1020 (see below)
root@urz-nav-pet:~# sudo -u navcron /usr/lib/nav/powersupplywatch.py -v -d
2>&1| grep Alloc | wc -l
1020
We run Debian 7.4 with
root@urz-nav-pet:~# dpkg -l | grep nav
ii nav 2+3.15.6-2
all Network Administration Visualized
any ideas?
--
Mischa Diehm | Network Operations Center (NOC)
UniBasel | UniRechenZentrum (URZ)
Klingebergstr. 70 | CH-4056 Basel
Tel. +41 61 267 1574 | http://urz.unibas.ch
Hi,
we migrated our installation to a new HW and Debian stable (3.14.15-1 ->
3.15.5-1). I got all dump.py data migrated without problems. Now we got a
lot of User Accounts and Groups with a lot of different Privilidges
attached to them. Is there also a (painless) way of transforming this data
into the new installation?
Thanks in advance!
Mischa
--
Mischa Diehm | Network Operations Center (NOC)
UniBasel | UniRechenZentrum (URZ)
Klingebergstr. 70 | CH-4056 Basel
Tel. +41 61 267 1574 | http://urz.unibas.ch
Hi,
first of all welcome to the list!
we (UniBasel) use NAV for quite some while now and are very pleased with the possibilities NAV gives us. We use Debian as OS with the following Setup:
root@urz-nav:~# uname -a
Linux urz-nav 2.6.32-5-amd64 #1 SMP Fri May 10 09:44:53 UTC 2013 x86_64 GNU/Linux
root@urz-nav:~# cat /etc/debian_version
6.0.7
root@urz-nav:~# dpkg -l | grep nav
ii nav 2+3.14.15-1 Network Administration Visualized
A problem we have since a while is that our system is permanently under a lot of load (mostly CPU bound) and we haven't really found a way to reduce the pressure. The hardware we use is a hp blade (ProLiant BL460c G6) with:
Intel(r) Xeon(r) Processor X5550 (4 Cores/ 8 Threats)
(8M Cache, 2.66 GHz, 6.40 GT/s Intel(r) QPI)
and:
root@urz-nav:~# free
total used free shared buffers cached
Mem: 12321700 11673596 648104 0 387768 9123748
At the moment we have 1460 active Devices (mainly Cisco Switches). Around 30 or 40 are OVERDUE in:
https://urz-nav/report/lastupdated
So my question is, do you have any good experience with HW-systems that are actually dealing with this amount of devices or is there any tuning possibility (without losing functionality) we could try to reduce the pressure on the system?
Thanks in advance,
Mischa Diehm
--
Mischa Diehm | Network Operation Center (NOC)
Universitaet Basel | Universitaetsrechenzentrum
Klingelbergstr. 70 | CH-4056 Basel | Switzerland
Tel. +41 61 267 15 74 | Fax +41 61 267 22 82 | http://urz.unibas.ch
The fifth beta release of the NAV 4.0 series is now available for
download at Launchpad: https://launchpad.net/nav/4.0/4.0b5
Here's the changelog summary of today's release:
Bugfixes:
* Fixed various bugs around the web interface, introduced in previous
releases.
User-visible features and improvements:
* Graph widget now has editable title. Default value is taken from from the
displayed graph.
* Make global graph controls float on top of viewport when scrolling on a
page with heaps of port metrics.
* Added the much sought-after button to clear link alerts from the status
page.
* Front page widgets can now be re-ordered by dragging their anchor icon;
the re-order mode button has been removed.
* "Add widget" button on the front page was moved to a sliding menu,
accessible from the plus icon on the right hand side of the screen.
A Debian package has been uploaded to our APT repository. We will likely
build and upload a new version of the virtual appliance later today.
Please note that there was a problem with the previous version of the
appliance, which was reported to us and fixed today.
As usual, please report bugs at https://launchpad.net/nav/+filebug .
Happy beta-NAVing everyone!
--
Morten Brekkevold
UNINETT AS