Cisco SFP (with DOM) Optical value plugin v0.2.3 + 0.2.4b

Announcements concerning Plugins for Cacti

Moderators: Moderators, Developers

Post Reply
Author
Message
netniV
Cacti Guru User
Posts: 2884
Joined: Sun Aug 27, 2017 12:05 am

Re: Cisco SFP (with DOM) Optical value plugin v0.2.3 + 0.2.4

#151 Post by netniV » Tue Dec 19, 2017 9:22 am

Let me know if I got anything wrong. Kept the two original posted zips as releases, then added in other bits but it's a bit hard to follow whose is the defacto one working lol. Hopefully with the github we can make a more general version that suits all or at least branches off to keep most updates.

netniV
Cacti Guru User
Posts: 2884
Joined: Sun Aug 27, 2017 12:05 am

Re: Cisco SFP (with DOM) Optical value plugin v0.2.3 + 0.2.4

#152 Post by netniV » Tue Dec 19, 2017 2:09 pm

One more thing I may do tomorrow if I remember is to create a pull request on the thold repo for your fix if it is still needed.

pyron83
Posts: 6
Joined: Tue Jan 16, 2018 3:48 am

Re: Cisco SFP (with DOM) Optical value plugin v0.2.3 + 0.2.4

#153 Post by pyron83 » Tue Jan 16, 2018 3:49 am

Hi,

is there any project to port this plugin over Cacti version 1.x?

thanks

sodium
Cacti User
Posts: 115
Joined: Wed Feb 01, 2006 10:29 am

Re: Cisco SFP (with DOM) Optical value plugin v0.2.3 + 0.2.4

#154 Post by sodium » Tue Jan 16, 2018 3:54 am

pyron83 wrote:is there any project to port this plugin over Cacti version 1.x?
read posting 1
All the problems of the world could be settled if people were only willing to think...

pyron83
Posts: 6
Joined: Tue Jan 16, 2018 3:48 am

Re: Cisco SFP (with DOM) Optical value plugin v0.2.3 + 0.2.4

#155 Post by pyron83 » Tue Jan 16, 2018 3:58 am

sodium wrote:
pyron83 wrote:is there any project to port this plugin over Cacti version 1.x?
read posting 1

I'm sorry, I read it, but I didn't find any reference to Cacti 1.x, only to 0.8.8

sodium
Cacti User
Posts: 115
Joined: Wed Feb 01, 2006 10:29 am

Re: Cisco SFP (with DOM) Optical value plugin v0.2.3 + 0.2.4

#156 Post by sodium » Tue Jan 16, 2018 5:25 am

Development moved to Github -- it should work, and if not make a issue on github
All the problems of the world could be settled if people were only willing to think...

pyron83
Posts: 6
Joined: Tue Jan 16, 2018 3:48 am

Re: Cisco SFP (with DOM) Optical value plugin v0.2.3 + 0.2.4

#157 Post by pyron83 » Tue Jan 16, 2018 5:28 am

sodium wrote:Development moved to Github -- it should work, and if not make a issue on github
ok thanks

netniV
Cacti Guru User
Posts: 2884
Joined: Sun Aug 27, 2017 12:05 am

Re: Cisco SFP (with DOM) Optical value plugin v0.2.3 + 0.2.4

#158 Post by netniV » Tue Jan 16, 2018 6:06 am

I have worked on another template porting it over to Cacti 1.x so I can probably investigate and do the same for this. Mostly it just involves working with the script/script server to get the parameters to work correctly. The only downside is that I can't actually test the work and I think sodium's in the same boat now.

So if you find it doesn't work with 1.x, post an issue on the GitHub page https://github.com/netniv/cisco-sfp/issues and i'll get to it.

pyron83
Posts: 6
Joined: Tue Jan 16, 2018 3:48 am

Re: Cisco SFP (with DOM) Optical value plugin v0.2.3 + 0.2.4

#159 Post by pyron83 » Thu Jan 25, 2018 3:12 am

netniV wrote:I have worked on another template porting it over to Cacti 1.x so I can probably investigate and do the same for this. Mostly it just involves working with the script/script server to get the parameters to work correctly. The only downside is that I can't actually test the work and I think sodium's in the same boat now.

So if you find it doesn't work with 1.x, post an issue on the GitHub page https://github.com/netniv/cisco-sfp/issues and i'll get to it.
I opened an issue.

Feel free to ask any more data you would need to debug the problem.


thanks

pyron83
Posts: 6
Joined: Tue Jan 16, 2018 3:48 am

Re: Cisco SFP (with DOM) Optical value plugin v0.2.3 + 0.2.4

#160 Post by pyron83 » Fri Feb 23, 2018 3:11 am

thx to netniV now the template is fully compatible with Cacti 1.x and php 7.x :)


Anyone has an idea on how to show the interface description on the title of the graph?

I tried with various strings but it never works, from the little I know about Cacti, it should be something taken from the XML part of the template.


EDIT: mmm maybe i found something, I'll update the post later ;)

Post Reply