Can we create an alert for any server(Linux/Windows) that becomes Read-Only File System ?
I got the another way to monitor Linux File System status in Solarwinds using SNMP. Please find attached DOC for the same.
Yes you can using Linux/Unix script monitor (SAM) - you can use the default message/statistics (0/1) and fire an alert.
But then would you be using the same username/password on SAM monitor that is being used to login into the server?
Thanks Vinay,
Is there any way to get this info with out SSH, mgmt is asking to check with SNMP/OID. We have several linux servers, so can not provide direct access to servers.
or is there any chance by using SNMP trap, not sure....
Maybe something like this?
Linux Read-Only File Check
How Bashing !!
Thanks aLTeReGo, this template is monitoring file system using SSH. Do we have any other way like SNMP trap or using any OID.
raje.vijay@eclinicalworks.com the only way to do that would require you to be able to write extensions for the SNMP agent.
Depending on the agent, that may or may not be possible.
Now on that note, it would be great if we had the orion unix/linux agent so we could run this check locally via cron and pick up the status from the syslog or have the script trigger an event via the Orion agent.
Thanks for your reply. Will check on this.
I just want to second Jfrazier's idea. by adding the script commands within the snmpd.conf file to respond to OID 9.9.9.9.9.9.9 (or whatever), you keep all the processing local and you also only execute the check whenever you poll that value.
You can also control which user executes that script command and ensure it ONLY has permission to do that operation (via sudo, or whatever).
Alternatively, you can run this script via cron, output the results to a log, and just read the log each time you execute the SNMP poll. If the initial script is intense or time consuming (which scanning ALL file systems for permissions may be), this may be a better way to go.
Hope that helps.
- Leon
What version of NPM are you using? Plus how did you find that MIB, has nothing to do with any LINUX MIB I'm searching for.
I'm hitting HP LINUX. I'm not getting version 1.3.6.1.2.1.1.4. I'm using 1.3.6.1.4.1.8072.3.2.10