How can I get NFS file systems included in the Discovery process?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2010 07:54 AM
The question says it all. We have lots of Virtual Machines which make heavy use of NFS mounted file systems and we need to track it through Service Now. But our Discovery doesn't appear to look for NFS filesystems ( it sure checks alot of things though! ).
How can I get NFS file systems included?
- Labels:
-
Discovery
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2010 10:56 AM
We do look for all disks that are on the machine and do that uniquely through each OS's disks probe. I've seen the NFS mounts so you might want to confirm that. If its not what you are looking for you have the absolute capability to create your own custom probe/sensor to gather the info you're looking for!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2010 02:48 PM
I looked further into this and it looks like we are missing many of our filesystems.
One system has 81 file systems mounted, but only 17 show up in our discovery.
While I'm very new at this, I did look around at the probes and I found a probe "UNIX - OS Filesystems" which runs a command
"df -kP". I ran this command on the system in question and ALL file systems responded. Including the NFS mounts.
So I looked further and I noticed that there is a sensor associated with this probe. The sensor is named "UNIX - OS Filesystems".
Not too tricky, Eh! 🙂
I looked at the sensor and I noticed these lines in the parsing area:
if (!line.startsWith("/dev/"))
continue;
So it appears to skip all the records ( file systems ) which do NOT start with /dev/. Our NFS filesystems start witht he system name, NOT /dev/. So I'm thinking of commenting these lines out and rerunning the discovery.
Any comments? Am I going to regret this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2010 02:55 PM
Very good work! And no there is no issue commenting that line out or tweaking it or the probe to do your bidding. But remember if you do then you own the probe/sensor. Its usually a best practice to create your own probe/sensor using the same moving parts so to ensure you always get the latest and greatest updates as they come out...
Let us know what you are able to accomplish I'm sure there's others here that might have the same need...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2010 03:02 PM
Oops! I wish I had read this before I tore into the sensor.
I'll slow down for now and make sure I do things according to Hoyle.
Thanks again!