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

Sonicwall plugin #922

Merged
merged 11 commits into from
Apr 16, 2018
Merged

Sonicwall plugin #922

merged 11 commits into from
Apr 16, 2018

Conversation

Sims24
Copy link
Contributor

@Sims24 Sims24 commented Mar 23, 2018

Closes #914

Waiting for @oasisck to test it before merge.

Thanks

@Sims24 Sims24 requested a review from cgagnaire March 23, 2018 17:05
@oasisck
Copy link

oasisck commented Mar 26, 2018

centreon@Centreon-Central:/usr/lib/nagios/plugins $ ./centreon_plugins.pl --plugin=network::sonicwall::snmp::plugin --mode=connections --hostname=ip --snmp-community=community --snmp-version=2c
UNKNOWN: Can't locate object method "new" via package "network::sonicwall::snmp::mode::connections" (perhaps you forgot to load "network::sonicwall::snmp::mode::connections"?) at /usr/lib/nagios/plugins/centreon/plugins/script_snmp.pm line 92.

centreon@Centreon-Central:/usr/lib/nagios/plugins $ ./centreon_plugins.pl --plugin=network::sonicwall::snmp::plugin --mode=cpu --hostname=ip --snmp-community=community --snmp-version=2c
UNKNOWN: SNMP GET Request : Cant get a single value.

centreon@Centreon-Central:/usr/lib/nagios/plugins $ ./centreon_plugins.pl --plugin=network::sonicwall::snmp::plugin --mode=memory --hostname=ip --snmp-community=community --snmp-version=2c
UNKNOWN: Cannot load module --mode.
Global symbol "$oid_sonicCurrentRAMUtil" requires explicit package name at /usr/lib/nagios/plugins/network/sonicwall/snmp/mode/memory.pm line 71.
Global symbol "$oid_sonicCurrentRAMUtil" requires explicit package name at /usr/lib/nagios/plugins/network/sonicwall/snmp/mode/memory.pm line 74.
Compilation failed in require at /usr/lib/nagios/plugins/centreon/plugins/misc.pm line 221.

for VPN I use this : https://exchange.nagios.org/directory/Plugins/Hardware/Network-Gear/Others/SonicWALL-VPN-check/details but it miss perfdata (like interface) for each VPN

Maybe it would help you if I create an SNMP access just for you on the router ?

@Sims24
Copy link
Contributor Author

Sims24 commented Mar 26, 2018

@oasisck thanks for the feedback, I did some fix could you test ?

@Sims24
Copy link
Contributor Author

Sims24 commented Mar 26, 2018

  • yes if you could send access to the router in MP that would be easier to dev and test.

Regards

@oasisck
Copy link

oasisck commented Mar 26, 2018

I send you a PM
Access until tomorrow 6pm
Thanks

@Sims24
Copy link
Contributor Author

Sims24 commented Mar 26, 2018

@oasisck you can remove access I think we're ok now. Please confirm and I'll merge it.

Thanks

@Sims24
Copy link
Contributor Author

Sims24 commented Mar 29, 2018

Note: need to use mapping function before merge

@Sims24 Sims24 removed the request for review from cgagnaire April 16, 2018 20:16
@Sims24 Sims24 merged commit 8473f5f into centreon:master Apr 16, 2018
@Sims24 Sims24 deleted the sonicwa branch April 16, 2018 20:18
Sims24 pushed a commit to Sims24/centreon-plugins that referenced this pull request Aug 16, 2018
* + perl 5.10 & el6 compatibility (centreon#949)

Fix centreon#945

* improve ntp mode empty ntp_hostname option (centreon#952)

* Sonicwall plugin (centreon#922)

* + add plugin for sonicwall

Ref centreon#914

* Correcting mode formerly named 'traffic' to 'interfaces' (centreon#895)

Closes centreon#895

* Enhance juniper ssg plugin (centreon#959)

Closes centreon#891

* enhance juniper ssg plugin
* fix key loop and hash init

* List storages (centreon#946)

* better response time & add posibility to know drive type

* fix f5 bigip failover warning thresholds (centreon#964)

Closes centreon#963

* add ssl opt harmonization (centreon#965)

- Closes centreon#961
- enhance el7 perl ssl compatibility
- add proxy option where missing

* fix f5 bigip trunks (centreon#966)

* add snmp_standard interfaces speed check (centreon#967)

* refactor riverbed steelhead (centreon#971)

* Closes centreon#970

* fix riverbed steelhead typo (centreon#972)

* fix riverbed steelhead typo

* prepare new release (centreon#973)

* enhance http lib to handle hidden basic authent (centreon#974)

* add basic option to mode using http lib (centreon#975)

* fix f5 bigip trunks div by 0 error (centreon#977)

Closes centreon#976

* enhance sonicwall plugin (centreon#978)

* fix hirschmann psu wrong oid (centreon#985)

* enhance quadstor vtltapeusage mode (centreon#987)

* enhance quadstor vtltapeusage mode

* init counter to 0

* [QOS] Cisco - Bug fix proposal (centreon#792)

* Fix: Calcul total And Child

* Fix: Put in 'variable' the name of the service-policy

* Fix: child detection

* prepare new release (centreon#998)

* Cannot find physical memory informations fix centreon#994 (centreon#1000)

* fix processcount perfdata output typos (centreon#1003)

* refacto netapp qtreeusage and add not-kbytes option (centreon#1029)

* fix qnap hardware thresholds overload (centreon#1028)

* add cloudfoundry plugin (wip) (centreon#1031)

* Filesystem Check (centreon#1036)

* enh linux local mountpoint mode (centreon#1043)

* enh selenium plugin (centreon#1039)

* add silverpeak plugin (centreon#1037)

* added silverpeak plugin and modes

* fix type, oid  name and timealarms

* fix cache file name

* starting peplink loadbalancer monitoring (centreon#1015)

* Create memory.pm

* Create cpu.pm

* Create plugin.pm

* fix peplink silverpeak plugins typos (centreon#1045)

* fix peplink plugin typos

* fix silverpeak plugin typos

* report idrac installed CPUs only (centreon#1017)

* Report installed CPUs only

using processorDeviceTable instead of processorDeviceStatusTable

* Report installed CPUs only, adapt var names

* add database-size mode (centreon#870)

* fix postgres databasesize mode (centreon#1046)

* fix postgres databasesize mode, missing empty selection (centreon#1047)

* fix arista memory output (centreon#1048)

* enh h3c hardware cache (centreon#1049)

* fix fortigate devicestatus help (centreon#1050)

* fix dell fastpath temperature (centreon#1051)

* fix hirschmann memory (centreon#1052)

* fix tomcat web sessions (centreon#1053)

* enh paloalto cluster output (centreon#1054)

* convert blocked processes counters (centreon#938)

* Convert database::mssql::mode::blockedprocesses to the counters library

* Using fetchrow_hashref instead of fetchall_arrayref according to @Sims24 recommendation

* Rationalizing a bit the output/long output/debug output

* enh mssql blockedprocesses (centreon#1055)

* adding new local plugin to os::hpux with two modes regarding disks (storage, inodes) (centreon#955)

* adding new 'inodes' mode to os::aix::local::plugin (centreon#956)

* enh aix local inodes (centreon#1056)

* enh aix local inodes, wrong parsing (centreon#1057)

* enh aix local storage inodes (centreon#1058)

* correct RADIUS help (centreon#1060)

* fix mssql blocked processes trim (centreon#1066)

* fix mssql transactions case (centreon#1067)

* adding Centos Upgrade Check (centreon#1034)

* enh linux local pending updates (centreon#1068)

* using a file a JSON source did not work (wrong file handler) (centreon#979)

* re-calculating virtual memory for windows machines (centreon#929)

* enh windows snmp swap (centreon#1069)

* fix kaspersky snmp deployment devision by zero (centreon#1070)

* enh windows snmp swap, help (centreon#1072)

* enh windows snmp swap, physical memory name (centreon#1073)

* fix netapp restapi volumeusage typo (centreon#1074)

* enh sql sqlstring for dual tables (centreon#1075)

* add slack plugin (centreon#1076)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants