No sudo permission error- Linux discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2014 11:34 AM
Hi All,
I am getting no sudo permissions for Linux servers, it seems that those are related to disk probes
No sudo permission for this command: sh /tmp/snc-3995289024028623685-hd.sh
As per liux admin they have provided all sudo permissons.
Appreciate any help to fix this.
tthx
sm
- Labels:
-
Discovery
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2014 11:14 AM
Are all the unix commands in /tmp/snc-3995289024028623685-hd.sh in the sudo permissions file for the user ID logging into the server?
What specifically is in the .sh shell script?
Also, some times you need to specify 'cat *' and not just cat in the sudoers file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2014 10:13 AM
Thanks Wdlee.
Actually it is hd.sh script from Linux disk probe.
Fixed that issue by adding /bin/grep and /bin/sh to sudoers file.
But still I am facing issue like, I am seeing disk data collected in payload but not getting populated in cmdb.
I am using OOTB Linux disk probe & sensors. There are no errors in logs.
Appreciate if anyone can put resolutions if any.
Regards,
Sudhir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2014 10:23 AM
Sudhir:
Sometimes the sensor will just ignore things it can not correctly parse in the info returned via the probe output.
I sprinkle gs server log entries in the sensor code to see where the sensor is breaking down.
(You would be surprised at some of the stuff it may ignore - take a look at the OOTB Unix file systems sensor. It ignores remote FS entries that come back from the df cmd).