I've just installed nav using the debian package for sarge... I've been adding routers manually using the web interface (and adding them to the _top container), but they are not showing up in the traffic map. I
Routers will only show up in the traffic map once the links between them have been discovered. This process should be automatic with no extra configuration required as long as the NAV background processes are running (the getDeviceData process does the actual data collection).
If you go to the 'Report' tool and select the 'Prefix' report, are your VLANs listed? Links between routers should be of nettype 'link' and the number of router ports ('antgw' column) should be 2.
No, my vlans are not showing up under the prefixes report. Is the getDeviceData process ongoing, or does it only run once, when nav is started?
Kristian Eide wrote:
I've just installed nav using the debian package for sarge... I've been adding routers manually using the web interface (and adding them to the _top container), but they are not showing up in the traffic map. I
Routers will only show up in the traffic map once the links between them have been discovered. This process should be automatic with no extra configuration required as long as the NAV background processes are running (the getDeviceData process does the actual data collection).
If you go to the 'Report' tool and select the 'Prefix' report, are your VLANs listed? Links between routers should be of nettype 'link' and the number of router ports ('antgw' column) should be 2.
No, my vlans are not showing up under the prefixes report. Is the getDeviceData process ongoing, or does it only run once, when nav is started?
getDeviceData is a background process running all the time and is started at the same time as NAV is started. Can you check if the process is actually running?
The file getDeviceData.log will also give some clues as to what data is collected; feel free to send me relevant parts of this file to help with debugging.
Can I also ask, which version of NAV are you using?
I believe I have found the error - getDeviceData.log says:
/usr/lib/nav/getDeviceData.sh: line 48: /usr/lib/j2sdk1.4-sun/jre/bin/java: No such file or directory
The actual path needed is /usr/lib/j2sdk1.4/.... Is there a variable I can set and/or a file I can change to reflect the actual path, or should I just add a symbolic link?
Thanks!
Kristian Eide wrote:
No, my vlans are not showing up under the prefixes report. Is the getDeviceData process ongoing, or does it only run once, when nav is started?
getDeviceData is a background process running all the time and is started at the same time as NAV is started. Can you check if the process is actually running?
The file getDeviceData.log will also give some clues as to what data is collected; feel free to send me relevant parts of this file to help with debugging.
Can I also ask, which version of NAV are you using?
I believe I have found the error - getDeviceData.log says: /usr/lib/nav/getDeviceData.sh: line 48: /usr/lib/j2sdk1.4-sun/jre/bin/java: No such file or directory The actual path needed is /usr/lib/j2sdk1.4/.... Is there a variable I can set and/or a file I can change to reflect the actual path, or should I just add a symbolic link?
This seems to be an issue with the debian package which for some reason set the wrong path.
It is probably better to make a symlink as there might be more places which has the wrong path.