Page 3 of 5

Re: How to view all the Mount Points on Linux

Posted: Mon Mar 07, 2016 2:14 pm
by eloyd
I AM A GIANT SPARKLY RUBY!!!

Re: How to view all the Mount Points on Linux

Posted: Mon Mar 07, 2016 2:17 pm
by tmcdonald
Please don't type so loudly, it's hurting my eyes.

Re: How to view all the Mount Points on Linux

Posted: Mon Mar 07, 2016 11:29 pm
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

Re: How to view all the Mount Points on Linux

Posted: Tue Mar 08, 2016 1:40 pm
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.

Re: How to view all the Mount Points on Linux

Posted: Tue Mar 08, 2016 10:57 pm
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

Re: How to view all the Mount Points on Linux

Posted: Wed Mar 09, 2016 9:26 am
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...

Re: How to view all the Mount Points on Linux

Posted: Wed Mar 09, 2016 11:29 am
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

Re: How to view all the Mount Points on Linux

Posted: Wed Mar 09, 2016 11:35 am
by rkennedy
Sounds good we will await your response, can you provide more information about the target servers specifically to OS/version as well?

Re: How to view all the Mount Points on Linux

Posted: Wed Mar 09, 2016 12:13 pm
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 !!

Re: How to view all the Mount Points on Linux

Posted: Wed Mar 09, 2016 12:35 pm
by lmiltchev
Noted.