Coder Social home page Coder Social logo

centreon / centreon-plugins Goto Github PK

View Code? Open in Web Editor NEW
308.0 59.0 270.0 40.53 MB

Collection of standard plugins to discover and gather cloud-to-edge metrics and status across your whole IT infrastructure.

Home Page: https://www.centreon.com

License: Apache License 2.0

Perl 98.92% C 0.01% Makefile 0.06% Python 0.07% Raku 0.01% Shell 0.24% RobotFramework 0.72%
centreon nagios-plugins perl icinga2 monitoring-plugins monitor snmp naemon

centreon-plugins's People

Contributors

a-eljazouly avatar cgagnaire avatar dependabot[bot] avatar evan-adam avatar garnier-quentin avatar itoussies avatar julienmathis avatar kduret avatar lchrdn avatar lgcosta avatar lucie-dubrunfaut avatar matoy avatar mcinquin avatar mushroomempires avatar omercier avatar pkippes avatar pkriko avatar qdelance avatar querwin avatar s-duret avatar sc979 avatar sdepassio avatar sims24 avatar thibaults-centreon avatar tpo76 avatar tuntoja avatar urbnw avatar vinecake avatar zaouchelo avatar zguennoune02 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

centreon-plugins's Issues

[plugin] HP iLO

We have no plugin for taht kind of checks at the moment.

One request from a potential client :

I'm looking for templates (including reading server hardware status via HP's ILO (i 've got that working on ilo2, but it fails on ilo 3 and 4) and reading apc smart-ups capacity and temperature.
=> Not urgent, but would be nice to enhance our plugin list

Fortigate 620B plugin

Hi,

As hardware check with network::fortinet::fortigate::200B::plugin and network::fortinet::fortigate::300B::plugin do not work with Fortigate 620B, is it possible to create a new plugin for the 620B also?

[plugin] GitHub

Hello,

Can you add this check for GitHub :

  • Commits
  • Status
  • Pull Requests
  • Issues

Regards

Netapp cluster mode new OIDs

Hello,

I just setup a new Netapp cluster using netapp 8.3 Os.
OIDs has changed the following mode is not working anymore :

  • global-status
  • FAN
  • power supply
  • temperature
  • share-calls
  • PSU
  • nvram

I am currently looking for the new OIDs, trying to alter fan.pm but I got some issues :
nodeEnvFailedFanCount snmp.1.3.6.1.4.1.789.1.25.2.1.19.1
nodeEnvFailedFanMessage snmp.1.3.6.1.4.1.789.1.25.2.1.20.1

snmpwalk -Os -v 3 -a sha -A ***** -l authPriv -u comm -x DES -X **** 192.168.1.1 1.3.6.1.4.1.789.1.25.2.1.19
enterprises.789.1.25.2.1.19.110.101.116.97.112.112.45.101.113.45.110.97.115.45.48.49 = INTEGER: 0
enterprises.789.1.25.2.1.19.110.101.116.97.112.112.45.101.113.45.110.97.115.45.48.50 = INTEGER: 0

if I set this OIDs in the plugin output is still :
./centreon_plugins.pl --plugin=storage::netapp::plugin --mode=fan --snmp-version=3 --snmp-username=com --hostname=192.168.1.1 --authpassphrase=* --authprotocol=sha --privpassphrase=* --privprotocol=DES
UNKNOWN: SNMP GET Request : Cant get a single value.

[mode][local] monitor software raid

Hi,
can we make a mode for monitor from /proc/mdstat:

[root@iesd~]# cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sdb2[1] sda2[0]
      524224 blocks super 1.0 [2/2] [UU]
        resync=DELAYED

md2 : active raid1 sdb3[1] sda3[0]
      1936208832 blocks super 1.0 [2/2] [UU]
      [========>............]  check = 42.0% (813827328/1936208832) finish=1236.1min speed=15131K/sec

md0 : active raid1 sdb1[1] sda1[0]
      16777088 blocks super 1.0 [2/2] [UU]
        resync=DELAYED

unused devices: <none>

Bug in Fan monitoring for NetApp

False positive:

[root@XXX ~]# snmpwalk x.x.x.x .1.3.6.1.4.1.789.1.2.4.2.0 -v 2c -c xxx
SNMPv2-SMI::enterprises.789.1.2.4.2.0 = INTEGER: 0
[root@XXX ~]# snmpwalk x.x.x.x .1.3.6.1.4.1.789.1.2.4 -v 2c -c xxx
SNMPv2-SMI::enterprises.789.1.2.4.1.0 = INTEGER: 1
SNMPv2-SMI::enterprises.789.1.2.4.2.0 = INTEGER: 0
SNMPv2-SMI::enterprises.789.1.2.4.3.0 = STRING: "There are no failed fans."
SNMPv2-SMI::enterprises.789.1.2.4.4.0 = INTEGER: 0
SNMPv2-SMI::enterprises.789.1.2.4.5.0 = STRING: "There are no failed power supplies."

[root@xxx ~]# /usr/lib/nagios/plugins/centreon_plugins.pl --plugin=storage::netapp::plugin --mode=shelf --hostname x.x.x.x --snmp-version 1 --snmp-community=xxx --verbose --component='fan' --debug
CRITICAL: Shelve '0c.00.99' Fan '2' is 'failed' |
Checking fans
Shelve '0c.00.99' Fan '2' is 'failed'

ces-plugins-Hardware-Storage-Netapp-Snmp-2.2-2.noarch

Add a check for MySQL blocked queries

Dear developpers,

I encountered some troubles with MySQL. There was a blocked query in my DB and it produced lots of issues around Centreon.

To solve the problem, I killed the query concerned.

After this problem, I think it will be very useful to check MySQL blocked queries with Centreon in order to fix easily the case.

Best regards.

local nfsstat plugin

Hi,

can we add a Plugin for nfsstat (local ssh)?

nfsstat -l
nfs v3 client        total:  4757195
------------- ------------- --------
nfs v3 client      getattr:   463364
nfs v3 client       lookup:   858908
nfs v3 client       access:  2437775
nfs v3 client     readlink:       45
nfs v3 client         read:   973925
nfs v3 client  readdirplus:     1634
nfs v3 client       fsstat:    21520
nfs v3 client       fsinfo:       16
nfs v3 client     pathconf:        8

[plugin] Aruba equipment

Aruba is rebranded by dell (in some powerconnect series) or alcatel (omniaccess). So we need to put in common directory.
Otherwise, we can add some other checks:

  • 'ap-connections' : AP connected on the switch, noise on the channel and inactivy time (can put some thresholds if it s a long time) (work for 'local' or 'master' mode);
  • 'ap-users': total connected users and total by auth type ;
  • 'ap-global': on 'master' mode only, can get disconnected/dead AP
  • 'am-aplist': get all ap list by air monitor (like rogue (unsecure), or intereferring access point

Add a mode to check processlist

Hello,

On my MySQL, I have to check the number of running queries. This check allow me to spot performance issues of my MySQL.

I used the mode "queries" but it get values returned indicate the number of times each queries statement has been executed.

https://dev.mysql.com/doc/refman/5.0/en/server-status-variables.html#statvar_Com_xxx

This is produce a big value, interstering to check the work on the system, but it's useless to do active check of the MySQL.

It will be usefull to add a new check using "SHOW FULL PROCESSLIST".

Best regards.

Responsetime

Hi,

Apache Server-Status is, if no page found:
STATUS = UNKNOWN: 404 Not Found.

Thats ok.

Responsetime is, if no page is found:
STATUS = CRITICAL: 404 Not Found

Can we change Responsetime?

[plugin] EMC DataDomain in SNMP

Add a plugin to check EMC DataDomain in SNMP. Need a equipment to test and go forward. What we can add:

  • Check 'nvramPCIErrorCount' and 'nvramMemoryErrorCount' ;
  • Check disk state: diskPropState
  • Check CPU Usage: 'cpu0PercentageBusy', 'cpu1PercentageBusy' ;
  • Check filesystem usage ;
  • Check RAID Status ;
  • Check replication status.

After that, there are many perfs metrics useful.

[plugin] AIX in SNMP does not return correct information for Aix 6.10 (state and amount of swap)

Hi,

Data returned is not true for my AIX.

Here is the AIX version :

SNMPv2-MIB::sysDescr.0 = STRING: IBM PowerPC CHRP Computer
Machine Type: 0x0800004c Processor id: 00086A6AD400
Base Operating System Runtime AIX version: 06.01.0007.0015
TCP/IP Client Support version: 06.01.0007.0018

I always have a "warning : no active paging space", but on my AIX, I know that the page space is active via lsps -a :

Page Space Physical Volume Volume Group Size %Used Active Auto Type Chksum
hd6 hdisk3 rootvg 16384MB 1 yes yes lv 0

I know that the AIX specifications could be unclear, as mentionned in the comment :)

  • Check if the paging space is active.
  • Values are :
    1 = "active"
    2 = "notActive"
  • On AIX 5.x it's ok. But in AIX 6.x, 7.x, it's the contrary ??!!!
    my $active_swap = 2;
    if ($results->{$oid_sysDescr}->{$oid_sysDescr . ".0"} =~ /AIX version: 05./i) {
    $active_swap = 1;
    }
    Can get a value by replacing "my $active_swap = 2;" by "my $active_swap = 1;" outside of the 'if' statement.

'page_space_hd6'=173140869B;0:155826782;0:164483825;0;17314086912

173140869
17179869184

As you can see, plugin return 173140869 but if we convert result from command line tools we get 16384 MB or 17179869184 B or my 16 GB of swap space :)

I put my walk here because can't fix right now but I'll throw a look soon.

SNMPv2-SMI::enterprises.2.6.191.2.4.2.1.1.1 = STRING: "hd6"
[..]
SNMPv2-SMI::enterprises.2.6.191.2.4.2.1.4.1 = Gauge32: 16384
SNMPv2-SMI::enterprises.2.6.191.2.4.2.1.5.1 = INTEGER: 4
SNMPv2-SMI::enterprises.2.6.191.2.4.2.1.6.1 = INTEGER: 1
SNMPv2-SMI::enterprises.2.6.191.2.4.2.1.7.1 = INTEGER: 1
SNMPv2-SMI::enterprises.2.6.191.2.4.2.1.8.1 = INTEGER: 1

Thx

Plugin for TALEND components

Talend web site gives a lot of information on metrics and resources that might be monitored on it.
Through Talend, we can get relevant controls on: CFX Services, Camel Route, ActiveMQ

Everything is described here (a free account is needed to see those information):
https://help.talend.com/display/TalendESBSystemManagementIntegrationUserGuide521EN/4.+Nagios+Integration

https://help.talend.com/display/TalendESBSystemManagementIntegrationUserGuide521EN/4.6+Resources+and+metrics+that+are+being+monitored

[network::f5::bigip::plugin] list-nodes & node-status

Hi,

An issue with the following mode:

/usr/lib/nagios/plugins/centreon_plugins.pl --plugin=network::f5::bigip::plugin --mode=list-nodes --hostname host --snmp-version 2c --snmp-community public --snmp-timeout 15 --snmp-retries 1
UNKNOWN: SNMP Table Request: Cant get a single value.

snmpwalk on .1.3.6.1.4.1.3375.2.2.4.3.2.1.7:
F5-BIGIP-LOCAL-MIB::ltmNodeAddrStatusEntry.7 = No Such Object available on this agent at this OID

OID that could match with above:
F5-BIGIP-LOCAL-MIB::ltmNodeAddrScreenName (.1.3.6.1.4.1.3375.2.2.4.1.2.1.12)
... But many empty values in the table !

The mode 'node-status' shouldn't work also (it uses also the OID 'ltmNodeAddrStatusName').
Otherwise, OIDs 'ltmNodeAddrStatusAvailState' and 'ltmNodeAddrStatusDetailReason' are set.

it's a BIG-IP 1600 v10.2.

os::linux::local mode memory

Hi,
i have a host with some Problem: "UNKNOWN: Some informations missing."

I did a little bit debugging...

   my ($cached_used, $buffer_used, $free, $total_size);
    foreach (split(/\n/, $stdout)) {
        if (/^MemTotal:\s+(\d+)/i) {
            $total_size = $1 * 1024;
        } elsif (/^Cached:\s+(\d+)/i) {
            $cached_used = $1 * 1024;
        } elsif (/^Buffers:\s+(\d+)/i) {
            $buffer_used = $1 * 1024;
        } elsif (/^MemFree:\s+(\d+)/i) {
            $free = $1 * 1024;
        }
    }

    if (!defined($total_size) || !defined($cached_used) ||
        !defined($buffer_used) || !defined($free)) {
        $self->{output}->add_option_msg(short_msg => "Some informations missing.");
        $self->{output}->option_exit();
    }

Here is the Output from /proc/meminfo:

MemTotal:        6291456 kB
MemFree:         1840024 kB
Cached:          3320736 kB
Active:          1429648 kB
Inactive:        2963728 kB
Active(anon):    1071748 kB
Inactive(anon):      892 kB
Active(file):     357900 kB
Inactive(file):  2962836 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:       6291456 kB
SwapFree:        6291368 kB
Dirty:              2900 kB
Writeback:             0 kB
AnonPages:       1072640 kB
Shmem:              2624 kB
Slab:              57912 kB
SReclaimable:      41924 kB
SUnreclaim:        15988 kB
As you can see, "Buffers" is missing.

Its a CentOS 6 64bit OpenVZ Container

Because of the memory system allocation in a container. Should check another stuff:
http://unix.stackexchange.com/questions/59784/why-buffers-equals-to-used-memory

nginx mode requests

Hi Quentin,

can we rename the perf's?

    { counter => 'accepts', output => 'Connections accepted per seconds %.2f', match => 'server accepts handled requests.*?(\d+)' },
    { counter => 'handled', output => 'Connections handled per serconds %.2f', match => 'server accepts handled requests.*?\d+\s+(\d+)' }, 
    { counter => 'requests', output => 'Requests per seconds %.2f', match => 'server accepts handled requests.*?\d+\s+\d+\s+(\d+)' },
];

to

    { counter => 'ConnPerSec', output => 'Connections accepted per seconds %.2f', match => 'server accepts handled requests.*?(\d+)' },
    { counter => 'ConnHandledPerSec', output => 'Connections handled per serconds %.2f', match => 'server accepts handled requests.*?\d+\s+(\d+)' }, 
    { counter => 'ReqPerSec', output => 'Requests per seconds %.2f', match => 'server accepts handled requests.*?\d+\s+\d+\s+(\d+)' },
];

dns dig check

Add dns dig check
save ip from domain in cache, alert on change

Discussion: If an SOA entry is changing, you send a alert ?
You can already do it if you specify the IP it should be. But if you don't specify and only want to alert if there is a change, it can be done (with a cache file to save data).

:D i really dont want to specify the ips for our 300 customers websites.
so a cache file use whould be really nice.

[plugin] Sonus

Add a plugin to monitor Sonus :

  • alarm: .1.3.6.1.4.1.177.15.1.3
  • cpu: .1.3.6.1.2.1.25.3.3.1.2
  • memory and storage: .1.3.6.1.2.1.25.2.3.1.3
  • global temperature: .1.3.6.1.4.1.177.15.1.12.2.0
  • hardware: psu, fan, card
  • dsp usage: cpu and number of channel in use in it
  • channel status: count per oper states and connected time in seconds of the channel.

[plugin] qnap storage

this plugin, like check_centreon_remote_storage plugin, does not see raid but only "/" and "swap" storage
to see it, I try with:
check_centreon_snmp_value -H myserver -v 2c -C public -o '.1.3.6.1.4.1.24681.1.2.17.1.5.1'
nut it returns:
Argument "3.49 TB" isn't numeric in numeric gt (>) at ./check_centreon_snmp_value line 329.
Argument "3.49 TB" isn't numeric in numeric lt (<) at ./check_centreon_snmp_value line 354.
OK :The value is 3.490000 nounit|value=3.49 TBnounit;5;10;0;0
and graph is not painted

[plugin] Cisco AP WLC

In 'arespace' mib, we can check:

  • memory
  • cpu
  • power supplies
  • 'ap-users': total connected users and total status ;
  • 'ap-status': status of disconnected/dead AP
  • 'ap-channel-stats': noise and interface utilization stats of AP

[database::mysql::plugin] --mode=databases-size

Hi,
This sql request is very long for the centreon-bi database (around 60 Go) and the status is often UNKNOWN.
Is there any "timeout" option for this mode ?
I've seen nothing in the --help option.
Thanks.

[plugin] Cisco ASR

Hi,

I would be really happy if you can create a plugin for Cisco ARS devices.

[network][checkpoint] Connections

Hi,

Wrong value retrieved by the mode. Should get from following OIDs:

CHECKPOINT-MIB::vsxCountersVSId.1.0 = INTEGER: 0
CHECKPOINT-MIB::vsxCountersVSId.2.0 = INTEGER: 1
CHECKPOINT-MIB::vsxCountersConnNum.1.0 = INTEGER: 46
CHECKPOINT-MIB::vsxCountersConnNum.2.0 = INTEGER: 209307
CHECKPOINT-MIB::vsxCountersConnPeakNum.1.0 = INTEGER: 64
CHECKPOINT-MIB::vsxCountersConnPeakNum.2.0 = INTEGER: 210912
CHECKPOINT-MIB::vsxCountersConnTableSize.1.0 = INTEGER: 300000
CHECKPOINT-MIB::vsxCountersConnTableSize.2.0 = INTEGER: 300000
CHECKPOINT-MIB::vsxCountersPackets.1.0 = Wrong Type (should be INTEGER): STRING: "14322476"
CHECKPOINT-MIB::vsxCountersPackets.2.0 = Wrong Type (should be INTEGER): STRING: "1195035434"
CHECKPOINT-MIB::vsxCountersDroppedTotal.1.0 = Wrong Type (should be INTEGER): STRING: "12111"
CHECKPOINT-MIB::vsxCountersDroppedTotal.2.0 = Wrong Type (should be INTEGER): STRING: "1146609"
CHECKPOINT-MIB::vsxCountersAcceptedTotal.1.0 = Wrong Type (should be INTEGER): STRING: "14310365"
CHECKPOINT-MIB::vsxCountersAcceptedTotal.2.0 = Wrong Type (should be INTEGER): STRING: "1193886566"
CHECKPOINT-MIB::vsxCountersRejectedTotal.1.0 = Wrong Type (should be INTEGER): STRING: "0"
CHECKPOINT-MIB::vsxCountersRejectedTotal.2.0 = Wrong Type (should be INTEGER): STRING: "2259"
CHECKPOINT-MIB::vsxCountersBytesAcceptedTotal.1.0 = Wrong Type (should be INTEGER): STRING: "1776237509"
CHECKPOINT-MIB::vsxCountersBytesAcceptedTotal.2.0 = Wrong Type (should be INTEGER): STRING: "781595211201"
CHECKPOINT-MIB::vsxCountersBytesDroppedTotal.1.0 = Wrong Type (should be INTEGER): STRING: "1181583"
CHECKPOINT-MIB::vsxCountersBytesDroppedTotal.2.0 = Wrong Type (should be INTEGER): STRING: "156239771"
CHECKPOINT-MIB::vsxCountersBytesRejectedTotal.1.0 = Wrong Type (should be INTEGER): STRING: "0"
CHECKPOINT-MIB::vsxCountersBytesRejectedTotal.2.0 = Wrong Type (should be INTEGER): STRING: "108792"
CHECKPOINT-MIB::vsxCountersLoggedTotal.1.0 = Wrong Type (should be INTEGER): STRING: "13589"
CHECKPOINT-MIB::vsxCountersLoggedTotal.2.0 = Wrong Type (should be INTEGER): STRING: "7765168"

First VSX is "porteur". Second is the firewall itself.

Useful minimal values :
CHECKPOINT-MIB::vsxCountersConnNum.2.0 = INTEGER: 209307 -> current connections
CHECKPOINT-MIB::vsxCountersConnPeakNum.2.0 = INTEGER: 210912 -> max connections reached
CHECKPOINT-MIB::vsxCountersConnTableSize.2.0 = INTEGER: 300000 -> max supported by the firewall

Thanks.

[plugin] netasq

Add a plugin for Netasq hardware.

In the specific netasq mib. What can we do:

  • ha status (NETASQ-HA-MIB)
  • memory: there is an oid in NETASQ-SYSTEM-MONITOR (but maybe there is in standard MIB)
  • current alarms (NETASQ-ALARM-MIB) ;
  • vpn state (NETASQ-VPNSA-MIB)

'cpu' is in standard mibs (it seems).

Add interface description to output

I use the centreon_plugins.pl from git in order to monitor my interfaces on my switches.

Output is like :
OK: Interface 'Gi0/10' Traffic In : 29.91Mb/s (2.99 %), Out : 10.10Mb/s (1.01 %)

It would be great to have an option to add the description associated to this interface.

[brocade][traffic]

my %admin_state = (
"1" => "online",
"2" => "offline",
"3" => "testing",
"4" => "faulty"
);

my %oper_state = (
"0" => "unknown",
"1" => "online",
"2" => "offline",
"3" => "testing",
"4" => "faulty"
);

my %physical_state = (
"1" => "noCard",
"2" => "noTransceiver",
"3" => "LaserFault",
"4" => "noLight",
"5" => "noSync",
"6" => "inSync",
"7" => "portFault",
"8" => "diagFault",
"9" => "lockRef"
);

Need to modify traffic.pm for brocade interface status

[plugin] HP H3C router

Hi,

I tried the HP plugins that are included in the "combo", but non of them work. So it would be really good to have plugin for H3C routers in the future.

Br,
Kadri

[apps::protocols::https][json-content] issue with console management Jboss

Hi,

I cannot get a metric from management jboss console

Good curl command:

$ curl  --digest -D - http://$USER:$PASS@$HOST:$PORT/management/ -d '{"operation":"read-attribute", "name":"ActiveCount", "address":[{"subsystem":"datasources"},{"xa-data-source":"$DATASOURCE"},{"statistics":"pool"}],"json.pretty":1}' -HContent-Type:application/json

Get

HTTP/1.1 401 Unauthorized
Content-length: 0
Www-authenticate: Digest realm="ManagementRealm",nonce="4197c4dace8009b773488d11393a5762" 
Date: Mon, 23 Mar 2015 15:57:55 GMT

HTTP/1.1 200 OK
Transfer-encoding: chunked
Content-type: application/json
Date: Mon, 23 Mar 2015 15:57:55 GMT

{
    "outcome" : "success",
    "result" : "1" 
}

Same test with the plugin:

$ ./centreon_plugins.pl --plugin=apps::protocols::http::plugin --mode=json-content --header='Content-Type: application/json' --data='/tmp/test.json' --hostname=$HOST --port=$PORT --urlpath='/management/' --username='$USER' --password='$PASS' --credentials 
UNKNOWN: 500 Server closed connection without sending any data back |

Content of test.json:

{"operation":"read-attribute", "name":"ActiveCount", "address":[{"subsystem":"datasources"},{"xa-data-source":"$DATASOURCE"},{"statistics":"pool"}]}

there is a debug mode ?

[plugin] Extreme networks

Add a plugin to monitor:

  • hardware: (fan 'extremeFanStatusTable', psu, slot) ;
  • CPU Usage: .1.3.6.1.4.1.1916.1.32.1.4 ;
  • Memory Usage: .1.3.6.1.4.1.1916.1.32.2.2 ;
  • Stack Status: .1.3.6.1.4.1.1916.1.33.2.

Bug in regexp NetApp filesys monitoring

Unreasonable data being calculated in NetApp module:

[root@xxx centreon-engine]# /usr/lib/nagios/plugins/centreon_plugins.pl --plugin=storage::netapp::plugin --mode=filesys --hostname x.x.x.x --snmp-version 1 --snmp-community='xxx' --name='.*' --regexp --warning='80' --critical='90'
CRITICAL: Filesys '/vol/XXXX_VM/.snapshot' Total: 9.45 GB Used: 19.59 GB (207.31%) Free: -10888790016.00 B (-107.31%) .....

If name is specific ('-name='/vol/XXXX_VM/.snapshot'') the output is the same for that fs. The same if 'regexp' is omited from the cli line. Also, the same when --name and --regexp are omited.

However, when no dot is present in the name path (different vol), this seems to work:
[root@XXXX centreon-engine]# /usr/lib/nagios/plugins/centreon_plugins.pl --plugin=storage::netapp::plugin --mode=filesys --hostname x.x.x.x --snmp-version 1 --snmp-community='xxxx' --verbose --name='/vol/vol0/' --regexp --warning='80' --critical='90'
OK: All filesys are ok. | 'used_/vol/vol0/'=6141116416o;0:130567005798;0:146887881523;0;163208757248 'dedupsaved_/vol/vol0/'=0%;;;0;100 'compresssaved_/vol/vol0/'=0%;;;0;100 'used_/vol/vol0/.snapshot'=417931264o;0:6871947673;0:7730941132;0;8589934592 'dedupsaved_/vol/vol0/.snapshot'=0%;;;0;100 'compresssaved_/vol/vol0/.snapshot'=0%;;;0;100
Filesys '/vol/vol0/' Total: 152.00 GB Used: 5.72 GB (3.76%) Free: 146.28 GB (96.24%) [type: flexibleVolume]
Filesys '/vol/vol0/.snapshot' Total: 8.00 GB Used: 398.57 MB (4.87%) Free: 7.61 GB (95.13%) [type: flexibleVolume]

Maybe the path names are clashing with OIDs??
Marcel

ces-plugins-Hardware-Storage-Netapp-Snmp-2.2-2.noarch

local process

can we get more information for processes plugin?

something like this:

count=348;10000;20000
runqueue=1
blocked=0
running=1
new=0.00

[os][linux][snmp][diskio] Add the sum of IO per second

Hello,

Is it possible to add a flag in order to get the sum of the I/O and IOPs (write + read) ?

Ex :

OK: Device 'sda' Read I/O : 1.65 KB/s, Read IOPs : 0.08, Write I/O : 43.29 KB/s, Write IOPs : 3.40,* Total I/O : xxxx, Total IOPs : xxxx* | 'read'=1692B/s;;;0; 'read-iops'=0.08iops;;;0; 'write'=44328B/s;;;0; 'write-iops'=3.40iops;;;0; 'total'=44328B/s;;;0; 'total-iops'=3.40iops;;;0;

In some setup (like virtal machines) there is some limits on the sum of IOPs. (you can't do more than X IOPs, sum of read/write)

need of critical/warning thresholds for theses totals (iops & bytes) o

Regard.

network::hp::procurve::plugin Environment mode output

Hi,

Would it be possible to modify the network::hp::procurve::plugin environment mode to show all the components in the output by default, like network::cisco::2900::plugin does. I noticed that the HP plugin gives me "OK: All sensors are ok" even if the actual output in command line is "All 0 components are ok". And because of that I have to check all the environments manually from command line first and then can add to Monitoring frontend.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.