Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No vpdn module for cisco 2921 #6287

Closed
4 of 5 tasks
cr4zylemon opened this issue Mar 28, 2017 · 19 comments · Fixed by #6300
Closed
4 of 5 tasks

No vpdn module for cisco 2921 #6287

cr4zylemon opened this issue Mar 28, 2017 · 19 comments · Fixed by #6300

Comments

@cr4zylemon
Copy link

cr4zylemon commented Mar 28, 2017

DO NOT DELETE THIS INFORMATION.

Please read this information carefully.

GitHub issues is for bugs, please do not post issues asking for help or how to do X, Y or Z.
You can use our irc channel ##librenms on freenode to ask questions or our community site.
If you have a feature request please post this on our community site.

Please confirm each of the sections below by putting an x in the box like [x].

  • Is your install up to date? Updating your install
    Please do not submit an issue if your install is not up to date within the last 24 hours or on a stable monthly release.
  • Please include all of the information between the ==================================== section of ./validate.php which you can run from the cli.
  • Please provide ALL info asked for here.
  • Please provide as much detail as possible.
  • Please do NOT post more than 10 lines of debug information here, use a pastebin service or GitHub Gists.
Component Version
LibreNMS a776ad5
DB Schema 182
PHP 7.0.15-0ubuntu0.16.04.4
MySQL 5.7.17-0ubuntu0.16.04.1
RRDTool 1.5.5
SNMP NET-SNMP 5.7.3`

Hi everyone,

I would like to graph my ppp sessions via vpdn module, I saw that vpdn php file exists but I can't find it in poller/discovery module. Is it normal ?

Thanks in advance for help !

@laf
Copy link
Member

laf commented Mar 28, 2017

You can try and $config['os']['OSNAME']['poller_modules']['cisco-vpdn'] = 1; in config.php - Replace OSNAME with the actual os, i.e ios, iosxe. Then wait 15 minutes and see if you see the data.

@cr4zylemon
Copy link
Author

Ok I am trying your solution, where should I see the result appear ?

@laf
Copy link
Member

laf commented Mar 28, 2017

A vpdn tab in the device.

If you don't, please post the output of ./poller.php -h HOSTNAME -d -r -f -m cisco-vpdn onto https://p.libren.ms

@cr4zylemon
Copy link
Author

There is no vpdn tab :/

Here there is the output : https://p.libren.ms/view/4e4e061c

@laf
Copy link
Member

laf commented Mar 28, 2017

Has it not appeared yet? If not, check if you have any vpdn-l2tp* files in the rrd folder for this device. If not please run rrdtool create /opt/librenms/rrd/pe1-qct29.in.izzycom.net/vpdn-l2tp.rrd --step 300 DS:tunnels:GAUGE:600:0:U DS:sessions:GAUGE:600:0:U DS:denied:COUNTER:600:0:100000 RRA:AVERAGE:0.5:1:2016 RRA:AVERAGE:0.5:6:1440 RRA:AVERAGE:0.5:24:1440 RRA:AVERAGE:0.5:288:1440 RRA:MIN:0.5:1:720 RRA:MIN:0.5:6:1440 RRA:MIN:0.5:24:775 RRA:MIN:0.5:288:797 RRA:MAX:0.5:1:720 RRA:MAX:0.5:6:1440 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797 RRA:LAST:0.5:1:1440

@cr4zylemon
Copy link
Author

I ran the command but after half an hour there is no vpdn tab yet
Here there is all the vpdn* file path on my server:
/opt/librenms/html/includes/graphs/device/vpdn_sessions_l2tp.inc.php /opt/librenms/html/includes/graphs/device/vpdn_tunnels_l2tp.inc.php /opt/librenms/includes/polling/cisco-vpdn.inc.php

@cr4zylemon
Copy link
Author

And /opt/librenms/rrd/pe1-qct29.in.izzycom.net/vpdn-l2tp.rrd obviously

@geordish
Copy link
Contributor

What user did you run as? Can you validate your install again?

If everything checks.out, and you still have no data, it might be worth running
./poller.php -h HOSTNAME -d -f -m cisco-vpdn
A
As the librenms user.

@cr4zylemon
Copy link
Author

I ran as root but I didn't forget execute :
chmod 664 /opt/librenms/rrd/pe1-qct29.in.izzycom.net/vpdn-l2tp.rrd
chown librenms:librenms /opt/librenms/rrd/pe1-qct29.in.izzycom.net/vpdn-l2tp.rrd

Here the result : https://p.libren.ms/view/ee014b9e

@laf
Copy link
Member

laf commented Mar 29, 2017

Can you provide the full output of ./poller.php -h HOSTNAME -d -r -f

@cr4zylemon
Copy link
Author

Sure! https://p.libren.ms/view/0d44a3c8

@laf
Copy link
Member

laf commented Mar 29, 2017

Sorry also needs: $config['poller_modules']['cisco-vpdn'] = 1; in config.php then re-run that last command.

@cr4zylemon
Copy link
Author

No problem : https://p.libren.ms/view/20ab6722

@cr4zylemon
Copy link
Author

Oh wait, vpdn just appeared. Looks like $config['poller_modules']['cisco-vpdn'] = 1; in config.php has unlocked the situation ! 👍

@laf
Copy link
Member

laf commented Mar 29, 2017

Ok, we'll need to fix this permanently.

@cr4zylemon
Copy link
Author

I have one more question. Currently, the vpdn module graphs the number of active sessions.
My question is : Is it possible to graph a virtual interface which is generated when a ppp session is going up ? And if possible, identified by their ppp login.

@laf
Copy link
Member

laf commented Mar 30, 2017

Possible but you need to create a feature request for this: https://community.librenms.org/c/feature-requests

@cr4zylemon
Copy link
Author

Created :)

@laf laf closed this as completed in #6300 Mar 30, 2017
@lock
Copy link

lock bot commented May 17, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed.

@lock lock bot locked as resolved and limited conversation to collaborators May 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants