Added basic detection for packetlogic devices #773

Merged
merged 10 commits into from Apr 17, 2015

Projects

None yet

3 participants

@laf
Member
laf commented Apr 11, 2015

I'll email the company for the logo - until then. this is using the linux logo.

@f0o
Member
f0o commented Apr 12, 2015

Is there a typo in this filename?
includes/polling/os/procera.inc..php

@laf
Member
laf commented Apr 12, 2015

erm no :)

You can leave this one for a bit if you like. Waiting on someone to test it which shouldn't be long.

@Lonecrowe

I tried to rediscover our procera devices and it didn't pick it up. Still generic.

@laf
Member
laf commented Apr 15, 2015

Hi @Lonecrowe

It's not in the main branch so you would need to switch to my testing one. Are you able to do that?

@f0o
Member
f0o commented Apr 15, 2015

@laf Any news on the logo?

@f0o f0o commented on an outdated diff Apr 15, 2015
includes/definitions.inc.php
@@ -140,6 +140,18 @@
$config['os'][$os]['over'][2]['graph'] = "device_mempool";
$config['os'][$os]['over'][2]['text'] = "Memory Usage";
+$os = "procera";
+$onfig['os'][$os]['type'] = "network";
@f0o
f0o Apr 15, 2015 Member

typo :)

@laf
Member
laf commented Apr 15, 2015

@f0o Fixed missing c.

No news on logo, I'm not expecting to hear back.

@laf
Member
laf commented Apr 15, 2015

@Lonecrowe do the following:

cd /opt/librenms
git remote add laf https://github.com/laf/librenms.git
git remote update
git checkout issue-746

./discovery.php -h HOSTNAME -d -m os
./poller.php -h HOSTNAME -d -r -m system,os

If it works, groovy. If not paste the output from those somewhere (edit the results).

Switch back to master:

git checkout master

@Lonecrowe

Followed all the instructions.. no dice.

Here it the discovery of one of the devices
http://pastebin.com/7CABfGAx

Poller
http://pastebin.com/zCPyE9SB

@laf
Member
laf commented Apr 16, 2015

This is ready now if someone can review.

@f0o f0o merged commit 0252674 into librenms:master Apr 17, 2015

1 check passed

Scrutinizer No new issues
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment