Question

why is my global-disk template skipping partitions?


Badge +3

 my global-disk snmp template doesnt show all the disk partitions of the server

 

Centreon output
Server output

 


14 replies

Userlevel 5
Badge +16

Hello @pooja ,

By default the plugin have some filter on the storage type (--help):

    --filter-storage-type
Filter storage types with a regexp (Default:
'^(hrStorageFixedDisk|hrStorageNetworkDisk|hrFSBerkeleyFFS)$').

So you can first try to add --filter-storage-type=’.*’ in first time to be sure that you can see all your disk.

A snmpwalk like this:

snmpwalk -v 2c -c your_community -ObentU -Cc -On x.x.x.x .1.3.6.1.2.1.25

could help us to see what kind of storage your disks are.

Here all the storage types supported by the plugin:

https://github.com/centreon/centreon-plugins/blob/83d0852bb975fff46bd0af889b04982c7e70257a/snmp_standard/mode/storage.pm#L36

Badge +3

@Kriko 

 

i am able to see all mount points using this branch .1.3.6.1.2.1.25.3.8.1.2  how do i see those in my dashboard? Please help

 

Userlevel 5
Badge +16

Could you try the option -oid-filter=’hrFSMountPoint’ --oid-display=’hrFSMountPoint’ ?

Badge +3

@Kriko can you tell me how to do that? Command or something

Badge +3

@Kriko @sims24 

 

using options -oid-filter=’hrFSMountPoint’

-oid-display=’hrFSMountPoint’

 

Userlevel 5
Badge +16

Sorry wrong copy/past.

 

You need to use these 2 options in the same time and with 2 dash:

--oid-filter=’hrFSMountPoint’ --oid-display=’hrFSMountPoint’ 

 

Badge +3

Hi @Kriko 

 

I tried doing this it gets stuck and doesnt return any output

 

Userlevel 5
Badge +16

The quotes of the 2 options --oid-filter look like ` or back quote no ?

Badge +3

sorry my bad but thanks for pointing that out. still no luck

 

Userlevel 5
Badge +16

Ok I see the ‘issue’ now.

But I don’t know why at the moment.

The FS missing in the output of the plugins is the one with no SNMP index:

As you can see, for hrFSStorageIndex.17 to 23, the INTERGER is to 0. It means no index, so the plugin cannot do the link between the FS and the index SNMP. All the missing FS are 17 to 23:

 

Badge +3

@Kriko not only that when i hit this branch it tells me these are remote mount points i want to monitor those how can i do that?

 

Userlevel 5
Badge +16

All these FS are some network/remote FS ?

Because the plugin doesn’t support this kind of FS.

Badge +3

@Kriko yes these are remote GPFS vfs=mmfs fs, is their any possible way we can monitor these

Userlevel 5
Badge +16

Using SNMP i’m not sure.
Using SSH and os::linux::local::plugin I guess we can.

Reply