How to view all the Mount Points on Linux

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: How to view all the Mount Points on Linux

Post by eloyd »

I AM A GIANT SPARKLY RUBY!!!
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: How to view all the Mount Points on Linux

Post by tmcdonald »

Please don't type so loudly, it's hurting my eyes.
Former Nagios employee
systemali
Posts: 23
Joined: Tue Feb 02, 2016 5:55 am

Re: How to view all the Mount Points on Linux

Post by systemali »

Hey Eric,

I ran the SNMP walk command and this is the output on my screen :-
[root@fan-sa-server ~]# /usr/bin/snmpwalk -v 2c -c public -H 10.24.66.130 .1.3.6.1.4.1.2021.9
Configuration directives understood:
No log handling enabled - turning on stderr logging
In snmpwalk.conf and snmpwalk.local.conf:
includeRequested (1|yes|true|0|no|false)
excludeRequested (1|yes|true|0|no|false)
printStatistics (1|yes|true|0|no|false)
dontCheckOrdering (1|yes|true|0|no|false)
timeResults (1|yes|true|0|no|false)
In snmp.conf and snmp.local.conf:
doDebugging (1|0)
debugTokens token[,token...]
logTimestamp (1|yes|true|0|no|false)
mibdirs [mib-dirs|+mib-dirs|-mib-dirs]
mibs [mib-tokens|+mib-tokens]
mibfile mibfile-to-read
showMibErrors (1|yes|true|0|no|false)
strictCommentTerm (1|yes|true|0|no|false)
mibAllowUnderline (1|yes|true|0|no|false)
mibWarningLevel integerValue
mibReplaceWithLatest (1|yes|true|0|no|false)
printNumericEnums (1|yes|true|0|no|false)
printNumericOids (1|yes|true|0|no|false)
escapeQuotes (1|yes|true|0|no|false)
dontBreakdownOids (1|yes|true|0|no|false)
quickPrinting (1|yes|true|0|no|false)
numericTimeticks (1|yes|true|0|no|false)
oidOutputFormat integerValue
suffixPrinting integerValue
extendedIndex (1|yes|true|0|no|false)
printHexText (1|yes|true|0|no|false)
printValueOnly (1|yes|true|0|no|false)
dontPrintUnits (1|yes|true|0|no|false)
hexOutputLength integerValue
dumpPacket (1|yes|true|0|no|false)
reverseEncodeBER (1|yes|true|0|no|false)
defaultPort integerValue
defCommunity string
noTokenWarnings (1|yes|true|0|no|false)
noRangeCheck (1|yes|true|0|no|false)
persistentDir string
tempFilePattern string
noDisplayHint (1|yes|true|0|no|false)
16bitIDs (1|yes|true|0|no|false)
clientaddr string
clientaddrUsesPort (1|yes|true|0|no|false)
serverSendBuf integerValue
serverRecvBuf integerValue
clientSendBuf integerValue
clientRecvBuf integerValue
noPersistentLoad (1|yes|true|0|no|false)
noPersistentSave (1|yes|true|0|no|false)
defSecurityModel string
defSecurityName string
defContext string
defPassphrase string
defAuthPassphrase string
defPrivPassphrase string
defAuthMasterKey string
defPrivMasterKey string
defAuthLocalizedKey string
defPrivLocalizedKey string
defVersion 1|2c|3
defAuthType MD5|SHA
defPrivType DES|AES
defSecurityLevel noAuthNoPriv|authNoPriv|authPriv
In snmpapp.conf and snmpapp.local.conf:
engineID string
engineIDType num
engineIDNic string

Does everything look ok here ?

Thank you
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: How to view all the Mount Points on Linux

Post by tgriep »

I think you want to run the snmpwalk like below.

Code: Select all

/usr/bin/snmpwalk -v 2c -c public 10.24.66.130 .1.3.6.1.4.1.2021.9
The -H option is for displaying configuration file directives understood which I don't think you wanted.
Post the output of the walk so we can view it.
Be sure to check out our Knowledgebase for helpful articles and solutions!
systemali
Posts: 23
Joined: Tue Feb 02, 2016 5:55 am

Re: How to view all the Mount Points on Linux

Post by systemali »

Thank you for your response,

This is what i get when i run the command as per your direction :-
[root@fan-sa-server ~]# /usr/bin/snmpwalk -v 2c -c public 10.24.66.130 .1.3.6.1.4.1.2021.9

UCD-SNMP-MIB::dskTable = No Such Object available on this agent at this OID
Please suggest a recourse !!

Thank you
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: How to view all the Mount Points on Linux

Post by tgriep »

It seems that the remote system isn't returning the information for that OID.
Try running the command like below and post the /tmp/walk.txt file.

Code: Select all

 /usr/bin/snmpwalk -v 2c -c public 10.24.66.130 >/tmp/walk.txt
Can you give some details about the remote systems you need to monitor?
What OS and version are they running, etc...
Be sure to check out our Knowledgebase for helpful articles and solutions!
systemali
Posts: 23
Joined: Tue Feb 02, 2016 5:55 am

Re: How to view all the Mount Points on Linux

Post by systemali »

Appreciate your inputs,

I shall have the command run and pasted tomorrow from the office.

My target servers are all Linux servers

Thank you
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: How to view all the Mount Points on Linux

Post by rkennedy »

Sounds good we will await your response, can you provide more information about the target servers specifically to OS/version as well?
Former Nagios Employee
systemali
Posts: 23
Joined: Tue Feb 02, 2016 5:55 am

Re: How to view all the Mount Points on Linux

Post by systemali »

Hello rkennedy,

Thank you for your response.

Anything that i need to watch out for, as i did not pay attention to the version of the linux distribution...i guess i was too lazy to check that out :(, My bad

I'll post everything in the next 10hrs time.

Thank you everyone !!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: How to view all the Mount Points on Linux

Post by lmiltchev »

Noted.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked