Provide restricted view to default users
Hi,
I would like to know if it's possible to provide a restricted view to my colleagues : for example only a couple of subpages. Is it possible ? Where I have to look ?
Thanks by advance,
On Tuesday 28 April 2009 13:38:00 L.M.J wrote:
Hi,
I would like to know if it's possible to provide a restricted view to my colleagues : for example only a couple of subpages. Is it possible ?
Sure.
Where I have to look ?
Documentation for your web server.
However, you asked about subpages, to which this does apply, but if users can guess hostnames, they may be able to see data for other servers via the CGIs.
Le Tue, 28 Apr 2009 14:35:32 +0200, Buchan Milne <bgmilne at staff.telkomsa.net> a écrit :
Documentation for your web server.
Wow, that's a nice useless answer! Well done Buchan but thanks anyway. My Hobbit runs with Kerberos restricted access, I know how to deal with web server restriction, this is clearly not the subject of my post. If Hobbit does not have a limited view option, then, just say it, I will deal with that and I will still use it...
Any smart help is still welcome! Thank you
Don't throw rocks at a valuable contributor if they do not lead you by the hand to the specific answer that you seek. This is not the Jedi way.
At present Hobbit/Xymon has no concept of "users" or "user restrictions". I guess you can take it from here?
GLH
-----Original Message----- From: L.M.J [mailto:linuxmasterjedi at free.fr] Sent: Tuesday, April 28, 2009 12:21 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Provide restricted view to default users
Le Tue, 28 Apr 2009 14:35:32 +0200, Buchan Milne <bgmilne at staff.telkomsa.net> a écrit :
Documentation for your web server.
Wow, that's a nice useless answer! Well done Buchan but thanks anyway. My Hobbit runs with Kerberos restricted access, I know how to deal with web server restriction, this is clearly not the subject of my post. If Hobbit does not have a limited view option, then, just say it, I will deal with that and I will still use it...
Any smart help is still welcome! Thank you
Don't throw rocks at a valuable contributor if they do not lead you by the hand to the specific answer that you seek. This is not the Jedi way.
At present Hobbit/Xymon has no concept of "users" or "user restrictions". I guess you can take it from here?
My response to such a rude individual as LMJ would be a big fat /dev/null. If he wants help then he should at least be civil!
Malcolm
-- Technical copy-editor & proofreader
KDE Proofreading Team KDE British English Translation Team
http://l10n.kde.org/team-infos.php?teamcode=en_GB
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01
Ditto for me!
Jim Smith
-----Original Message----- From: Malcolm Hunter [mailto:malcolm.hunter at gmx.co.uk] Sent: Tuesday, April 28, 2009 1:26 PM To: hobbit at hswn.dk Subject: Re: RE: [hobbit] Provide restricted view to default users
Don't throw rocks at a valuable contributor if they do not lead you by the hand to the specific answer that you seek. This is not the Jedi way.
At present Hobbit/Xymon has no concept of "users" or "user restrictions". I guess you can take it from here?
My response to such a rude individual as LMJ would be a big fat /dev/null. If he wants help then he should at least be civil!
Malcolm
-- Technical copy-editor & proofreader
KDE Proofreading Team KDE British English Translation Team
http://l10n.kde.org/team-infos.php?teamcode=en_GB
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Le Tue, 28 Apr 2009 20:25:31 +0200, "Malcolm Hunter" <malcolm.hunter at gmx.co.uk> a écrit :
My response to such a rude individual as LMJ would be a big fat /dev/null. If he wants help then he should at least be civil!
I guess I've been misunderstood (maybe my rusty English skills) but I don't see the yet-another-useless-answer interested, it's a waste of time and disk space for all of us. The Greg Hubbard answer looks perfect for me, don't you think?
Anyway, sorry for the rude attitude.
Best regards,
LMJ
I've been making some updates to the monitoring of our vmware ESX servers and wanted to monitor the disk usage of the datastores attached to the servers. So, I modified the hobbitclient-linux.sh file and changed the [df] section from using df to using the vmware command vdf.
Now, the 'client data' link for that host on the hobbit/xymon server displays the correct output:
[df] Filesystem Size Used Avail Use% Mounted on /dev/sda2 4.9G 1.7G 3.0G 36% / /dev/sda1 99M 28M 67M 30% /boot /dev/sda5 2.0G 364M 1.5G 20% /var/log /vmfs/devices 4.8T 0 4.8T 0% /vmfs/devices /vmfs/volumes/044c399a-7d915ca5 403G 223G 179G 55% /vmfs/volumes/Templates-NFS /vmfs/volumes/491c687d-e3ad8cc1-fd39-00188b4010b4 127G 561M 126G 0% /vmfs/volumes/esxhost.local /vmfs/volumes/49b9b542-21c7ce88-f87f-00188b4010b2 491G 354G 137G 72% /vmfs/volumes/DMZ-01-SAN8-128 /vmfs/volumes/49bebc3c-29931b02-3380-00188b4010b2 491G 353G 138G 71% /vmfs/volumes/DMZ-02-SAN8-97 /vmfs/volumes/49bfe3b7-3c37dcbc-65a2-00188b4010b2 491G 563M 491G 0% /vmfs/volumes/DMZ-03-SAN8-77
However, the actual page displaying the filesystem usage and rrd graph only displays local disk:
Tue Apr 28 14:56:51 PDT 2009 - Filesystems OK
Filesystem Size Used Avail Use% Mounted on /dev/sda2 4.9G 1.7G 3.0G 36% / /dev/sda1 99M 28M 67M 30% /boot /dev/sda5 2.0G 364M 1.5G 20% /var/log
What's also very odd is that I have roughly a dozen of these types of boxes and some of them report the full output on the web page but most don't.
Why would the text data be correct, but the web data be different or a sub-set? All the clients are getting their full data to the server. I haven't seen any errors on the server logs relating to specific clients.
Thoughts?
Thanks again...
No answer so far so here's another question then. How would I debug the server processing the 'client data'. Really just looking at the 'df' data. I've enabled both 'verbose' and 'debug' switches when starting the server and haven't found any issues. I do see the correct entries in the hobbit.chk file.
Any thoughts on why this data isn't be graphed/displayed on the web page?
-----Original Message----- From: Peters, Ron [mailto:rpeters at columbia.com] Sent: Tuesday, April 28, 2009 3:12 PM To: hobbit at hswn.dk Subject: [hobbit] Disk monitor issues
I've been making some updates to the monitoring of our vmware ESX servers and wanted to monitor the disk usage of the datastores attached to the servers. So, I modified the hobbitclient-linux.sh file and changed the [df] section from using df to using the vmware command vdf.
Now, the 'client data' link for that host on the hobbit/xymon server displays the correct output:
[df] Filesystem Size Used Avail Use% Mounted on /dev/sda2 4.9G 1.7G 3.0G 36% / /dev/sda1 99M 28M 67M 30% /boot /dev/sda5 2.0G 364M 1.5G 20% /var/log /vmfs/devices 4.8T 0 4.8T 0% /vmfs/devices /vmfs/volumes/044c399a-7d915ca5 403G 223G 179G 55% /vmfs/volumes/Templates-NFS /vmfs/volumes/491c687d-e3ad8cc1-fd39-00188b4010b4 127G 561M 126G 0% /vmfs/volumes/esxhost.local /vmfs/volumes/49b9b542-21c7ce88-f87f-00188b4010b2 491G 354G 137G 72% /vmfs/volumes/DMZ-01-SAN8-128 /vmfs/volumes/49bebc3c-29931b02-3380-00188b4010b2 491G 353G 138G 71% /vmfs/volumes/DMZ-02-SAN8-97 /vmfs/volumes/49bfe3b7-3c37dcbc-65a2-00188b4010b2 491G 563M 491G 0% /vmfs/volumes/DMZ-03-SAN8-77
However, the actual page displaying the filesystem usage and rrd graph only displays local disk:
Tue Apr 28 14:56:51 PDT 2009 - Filesystems OK
Filesystem Size Used Avail Use% Mounted on /dev/sda2 4.9G 1.7G 3.0G 36% / /dev/sda1 99M 28M 67M 30% /boot /dev/sda5 2.0G 364M 1.5G 20% /var/log
What's also very odd is that I have roughly a dozen of these types of boxes and some of them report the full output on the web page but most don't.
Why would the text data be correct, but the web data be different or a sub-set? All the clients are getting their full data to the server. I haven't seen any errors on the server logs relating to specific clients.
Thoughts?
Thanks again...
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Ron, if your volume names have spaces or other "special" characters in them you may need to modify the code to account for them. I am no Linux or regex guru, but here is what I did in the 'hobbitclient-linux.sh' file (located in your hobbit client bin directory):
echo "[df]" /usr/sbin/vdf | sed -e '/^[^ ][^ ]*$/{ N s/[ ]*\n[ ]*/ / s/SAN VM Storage 2/SAN_VM_Storage_2/g s/SAN VM Storage 3/SAN_VM_Storage_3/g s/SAN VM Storage 4/SAN_VM_Storage_4/g s/Poseidon Local Storage/Poseidon_Local_Storage/g s/SAN VM Storage/SAN_VM_Storage/g s/SAN Storage 3/SAN_Storage_3/g s/SAN Storage 2/SAN_Storage_2/g s/SAN Storage 1/SAN_Storage_1/g }'
Ray
-----Original Message----- From: Peters, Ron [mailto:rpeters at columbia.com] Sent: Thursday, April 30, 2009 12:32 PM To: hobbit at hswn.dk Subject: [hobbit] RE: Disk monitor issues
No answer so far so here's another question then. How would I debug the server processing the 'client data'. Really just looking at the 'df' data. I've enabled both 'verbose' and 'debug' switches when starting the server and haven't found any issues. I do see the correct entries in the hobbit.chk file.
Any thoughts on why this data isn't be graphed/displayed on the web page?
-----Original Message----- From: Peters, Ron [mailto:rpeters at columbia.com] Sent: Tuesday, April 28, 2009 3:12 PM To: hobbit at hswn.dk Subject: [hobbit] Disk monitor issues
I've been making some updates to the monitoring of our vmware ESX servers and wanted to monitor the disk usage of the datastores attached to the servers. So, I modified the hobbitclient-linux.sh file and changed the [df] section from using df to using the vmware command vdf.
Now, the 'client data' link for that host on the hobbit/xymon server displays the correct output:
[df] Filesystem Size Used Avail Use% Mounted on /dev/sda2 4.9G 1.7G 3.0G 36% / /dev/sda1 99M 28M 67M 30% /boot /dev/sda5 2.0G 364M 1.5G 20% /var/log /vmfs/devices 4.8T 0 4.8T 0% /vmfs/devices /vmfs/volumes/044c399a-7d915ca5 403G 223G 179G 55% /vmfs/volumes/Templates-NFS /vmfs/volumes/491c687d-e3ad8cc1-fd39-00188b4010b4 127G 561M 126G 0% /vmfs/volumes/esxhost.local /vmfs/volumes/49b9b542-21c7ce88-f87f-00188b4010b2 491G 354G 137G 72% /vmfs/volumes/DMZ-01-SAN8-128 /vmfs/volumes/49bebc3c-29931b02-3380-00188b4010b2 491G 353G 138G 71% /vmfs/volumes/DMZ-02-SAN8-97 /vmfs/volumes/49bfe3b7-3c37dcbc-65a2-00188b4010b2 491G 563M 491G 0% /vmfs/volumes/DMZ-03-SAN8-77
However, the actual page displaying the filesystem usage and rrd graph only displays local disk:
Tue Apr 28 14:56:51 PDT 2009 - Filesystems OK
Filesystem Size Used Avail Use% Mounted on /dev/sda2 4.9G 1.7G 3.0G 36% / /dev/sda1 99M 28M 67M 30% /boot /dev/sda5 2.0G 364M 1.5G 20% /var/log
What's also very odd is that I have roughly a dozen of these types of boxes and some of them report the full output on the web page but most don't.
Why would the text data be correct, but the web data be different or a sub-set? All the clients are getting their full data to the server. I haven't seen any errors on the server logs relating to specific clients.
Thoughts?
Thanks again...
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
CONFIDENTIALITY NOTICE: This email and any attachments are for the exclusive and confidential use of the intended recipient. If you are not the intended recipient, please do not read, distribute or take action in reliance upon this message. If you have received this in error, please notify us immediately by return email and promptly delete this message and its attachments from your computer system. We do not waive attorney-client or work product privilege by the transmission of this message.
Thanks. Aside from local storage, the datastores are shared between all the servers involved and are exactly the same. The odd part is that some clients display only local disk and others display all the disk. I have compared the 'client data' text output from one client to the next and there is no difference. All the disk is included in the text being sent to the hobbit server. I just don't understand why the hobbit server would display/process some and not others.
Ron.
-----Original Message----- From: Storer, Raymond [mailto:storerr at nibco.com] Sent: Thursday, April 30, 2009 10:59 AM To: hobbit at hswn.dk Cc: Peters, Ron Subject: RE: Disk monitor issues
Ron, if your volume names have spaces or other "special" characters in them you may need to modify the code to account for them. I am no Linux or regex guru, but here is what I did in the 'hobbitclient-linux.sh' file (located in your hobbit client bin directory):
echo "[df]" /usr/sbin/vdf | sed -e '/^[^ ][^ ]*$/{ N s/[ ]*\n[ ]*/ / s/SAN VM Storage 2/SAN_VM_Storage_2/g s/SAN VM Storage 3/SAN_VM_Storage_3/g s/SAN VM Storage 4/SAN_VM_Storage_4/g s/Poseidon Local Storage/Poseidon_Local_Storage/g s/SAN VM Storage/SAN_VM_Storage/g s/SAN Storage 3/SAN_Storage_3/g s/SAN Storage 2/SAN_Storage_2/g s/SAN Storage 1/SAN_Storage_1/g }'
Ray
-----Original Message----- From: Peters, Ron [mailto:rpeters at columbia.com] Sent: Thursday, April 30, 2009 12:32 PM To: hobbit at hswn.dk Subject: [hobbit] RE: Disk monitor issues
No answer so far so here's another question then. How would I debug the server processing the 'client data'. Really just looking at the 'df' data. I've enabled both 'verbose' and 'debug' switches when starting the server and haven't found any issues. I do see the correct entries in the hobbit.chk file.
Any thoughts on why this data isn't be graphed/displayed on the web page?
-----Original Message----- From: Peters, Ron [mailto:rpeters at columbia.com] Sent: Tuesday, April 28, 2009 3:12 PM To: hobbit at hswn.dk Subject: [hobbit] Disk monitor issues
I've been making some updates to the monitoring of our vmware ESX servers and wanted to monitor the disk usage of the datastores attached to the servers. So, I modified the hobbitclient-linux.sh file and changed the [df] section from using df to using the vmware command vdf.
Now, the 'client data' link for that host on the hobbit/xymon server displays the correct output:
[df] Filesystem Size Used Avail Use% Mounted on /dev/sda2 4.9G 1.7G 3.0G 36% / /dev/sda1 99M 28M 67M 30% /boot /dev/sda5 2.0G 364M 1.5G 20% /var/log /vmfs/devices 4.8T 0 4.8T 0% /vmfs/devices /vmfs/volumes/044c399a-7d915ca5 403G 223G 179G 55% /vmfs/volumes/Templates-NFS /vmfs/volumes/491c687d-e3ad8cc1-fd39-00188b4010b4 127G 561M 126G 0% /vmfs/volumes/esxhost.local /vmfs/volumes/49b9b542-21c7ce88-f87f-00188b4010b2 491G 354G 137G 72% /vmfs/volumes/DMZ-01-SAN8-128 /vmfs/volumes/49bebc3c-29931b02-3380-00188b4010b2 491G 353G 138G 71% /vmfs/volumes/DMZ-02-SAN8-97 /vmfs/volumes/49bfe3b7-3c37dcbc-65a2-00188b4010b2 491G 563M 491G 0% /vmfs/volumes/DMZ-03-SAN8-77
However, the actual page displaying the filesystem usage and rrd graph only displays local disk:
Tue Apr 28 14:56:51 PDT 2009 - Filesystems OK
Filesystem Size Used Avail Use% Mounted on /dev/sda2 4.9G 1.7G 3.0G 36% / /dev/sda1 99M 28M 67M 30% /boot /dev/sda5 2.0G 364M 1.5G 20% /var/log
What's also very odd is that I have roughly a dozen of these types of boxes and some of them report the full output on the web page but most don't.
Why would the text data be correct, but the web data be different or a sub-set? All the clients are getting their full data to the server. I haven't seen any errors on the server logs relating to specific clients.
Thoughts?
Thanks again...
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
CONFIDENTIALITY NOTICE: This email and any attachments are for the exclusive and confidential use of the intended recipient. If you are not the intended recipient, please do not read, distribute or take action in reliance upon this message. If you have received this in error, please notify us immediately by return email and promptly delete this message and its attachments from your computer system. We do not waive attorney-client or work product privilege by the transmission of this message.
Storer, Raymond wrote:
Ron, if your volume names have spaces or other "special" characters in them you may need to modify the code to account for them. I am no Linux or regex guru, but here is what I did in the 'hobbitclient-linux.sh' file (located in your hobbit client bin directory):
echo "[df]" /usr/sbin/vdf | sed -e '/^[^ ][^ ]*$/{ N s/[ ]*\n[ ]*/ / s/SAN VM Storage 2/SAN_VM_Storage_2/g s/SAN VM Storage 3/SAN_VM_Storage_3/g s/SAN VM Storage 4/SAN_VM_Storage_4/g s/Poseidon Local Storage/Poseidon_Local_Storage/g s/SAN VM Storage/SAN_VM_Storage/g s/SAN Storage 3/SAN_Storage_3/g s/SAN Storage 2/SAN_Storage_2/g s/SAN Storage 1/SAN_Storage_1/g }'
Ray
-----Original Message----- From: Peters, Ron [mailto:rpeters at columbia.com] Sent: Thursday, April 30, 2009 12:32 PM To: hobbit at hswn.dk Subject: [hobbit] RE: Disk monitor issues
No answer so far so here's another question then. How would I debug the server processing the 'client data'. Really just looking at the 'df' data. I've enabled both 'verbose' and 'debug' switches when starting the server and haven't found any issues. I do see the correct entries in the hobbit.chk file.
Any thoughts on why this data isn't be graphed/displayed on the web page?
-----Original Message----- From: Peters, Ron [mailto:rpeters at columbia.com] Sent: Tuesday, April 28, 2009 3:12 PM To: hobbit at hswn.dk Subject: [hobbit] Disk monitor issues
I've been making some updates to the monitoring of our vmware ESX servers and wanted to monitor the disk usage of the datastores attached to the servers. So, I modified the hobbitclient-linux.sh file and changed the [df] section from using df to using the vmware command vdf.
Now, the 'client data' link for that host on the hobbit/xymon server displays the correct output:
[df] Filesystem Size Used Avail Use% Mounted on /dev/sda2 4.9G 1.7G 3.0G 36% / /dev/sda1 99M 28M 67M 30% /boot /dev/sda5 2.0G 364M 1.5G 20% /var/log /vmfs/devices 4.8T 0 4.8T 0% /vmfs/devices /vmfs/volumes/044c399a-7d915ca5 403G 223G 179G 55% /vmfs/volumes/Templates-NFS /vmfs/volumes/491c687d-e3ad8cc1-fd39-00188b4010b4 127G 561M 126G 0% /vmfs/volumes/esxhost.local /vmfs/volumes/49b9b542-21c7ce88-f87f-00188b4010b2 491G 354G 137G 72% /vmfs/volumes/DMZ-01-SAN8-128 /vmfs/volumes/49bebc3c-29931b02-3380-00188b4010b2 491G 353G 138G 71% /vmfs/volumes/DMZ-02-SAN8-97 /vmfs/volumes/49bfe3b7-3c37dcbc-65a2-00188b4010b2 491G 563M 491G 0% /vmfs/volumes/DMZ-03-SAN8-77
However, the actual page displaying the filesystem usage and rrd graph only displays local disk:
Tue Apr 28 14:56:51 PDT 2009 - Filesystems OK
Filesystem Size Used Avail Use% Mounted on /dev/sda2 4.9G 1.7G 3.0G 36% / /dev/sda1 99M 28M 67M 30% /boot /dev/sda5 2.0G 364M 1.5G 20% /var/log
What's also very odd is that I have roughly a dozen of these types of boxes and some of them report the full output on the web page but most don't.
Why would the text data be correct, but the web data be different or a sub-set? All the clients are getting their full data to the server. I haven't seen any errors on the server logs relating to specific clients.
Thoughts?
Thanks again...
Looking at your disk values, the df command you use is probably not correct. Xymon need values in Kbytes in order to graph them correctly. Second point is that you need to tell vdf to unsplit its output.
We use this vdf command(through sudo) on our ESX3-servers:
echo "[df]" sudo /usr/sbin/vdf -P | egrep -v "\/vmfs\/devices|none|tmpfs|shmfs|unknown|iso9660"
Dominique
-----Original Message----- From: Dominique Frise [mailto:dominique.frise at unil.ch] Sent: Thursday, April 30, 2009 11:16 PM To: hobbit at hswn.dk Subject: Re: [hobbit] RE: Disk monitor issues
Storer, Raymond wrote:
Ron, if your volume names have spaces or other "special" characters in them you may need to modify the code to account for them. I am no Linux or regex guru, but here is what I did in the 'hobbitclient-linux.sh' file (located in your hobbit client bin directory):
echo "[df]" /usr/sbin/vdf | sed -e '/^[^ ][^ ]*$/{ N s/[ ]*\n[ ]*/ / s/SAN VM Storage 2/SAN_VM_Storage_2/g s/SAN VM Storage 3/SAN_VM_Storage_3/g s/SAN VM Storage 4/SAN_VM_Storage_4/g s/Poseidon Local Storage/Poseidon_Local_Storage/g s/SAN VM Storage/SAN_VM_Storage/g s/SAN Storage 3/SAN_Storage_3/g s/SAN Storage 2/SAN_Storage_2/g s/SAN Storage 1/SAN_Storage_1/g }'
Ray
-----Original Message----- From: Peters, Ron [mailto:rpeters at columbia.com] Sent: Thursday, April 30, 2009 12:32 PM To: hobbit at hswn.dk Subject: [hobbit] RE: Disk monitor issues
No answer so far so here's another question then. How would I debug the server processing the 'client data'. Really just looking at the 'df' data. I've enabled both 'verbose' and 'debug' switches when starting the server and haven't found any issues. I do see the correct entries in the hobbit.chk file.
Any thoughts on why this data isn't be graphed/displayed on the web page?
-----Original Message----- From: Peters, Ron [mailto:rpeters at columbia.com] Sent: Tuesday, April 28, 2009 3:12 PM To: hobbit at hswn.dk Subject: [hobbit] Disk monitor issues
I've been making some updates to the monitoring of our vmware ESX servers and wanted to monitor the disk usage of the datastores attached to the servers. So, I modified the hobbitclient-linux.sh file and changed the [df] section from using df to using the vmware command vdf.
Now, the 'client data' link for that host on the hobbit/xymon server displays the correct output:
[df] Filesystem Size Used Avail Use% Mounted on /dev/sda2 4.9G 1.7G 3.0G 36% / /dev/sda1 99M 28M 67M 30% /boot /dev/sda5 2.0G 364M 1.5G 20% /var/log /vmfs/devices 4.8T 0 4.8T 0% /vmfs/devices /vmfs/volumes/044c399a-7d915ca5 403G 223G 179G 55% /vmfs/volumes/Templates-NFS /vmfs/volumes/491c687d-e3ad8cc1-fd39-00188b4010b4 127G 561M 126G 0% /vmfs/volumes/esxhost.local /vmfs/volumes/49b9b542-21c7ce88-f87f-00188b4010b2 491G 354G 137G 72% /vmfs/volumes/DMZ-01-SAN8-128 /vmfs/volumes/49bebc3c-29931b02-3380-00188b4010b2 491G 353G 138G 71% /vmfs/volumes/DMZ-02-SAN8-97 /vmfs/volumes/49bfe3b7-3c37dcbc-65a2-00188b4010b2 491G 563M 491G 0% /vmfs/volumes/DMZ-03-SAN8-77
However, the actual page displaying the filesystem usage and rrd graph only displays local disk:
Tue Apr 28 14:56:51 PDT 2009 - Filesystems OK
Filesystem Size Used Avail Use% Mounted on /dev/sda2 4.9G 1.7G 3.0G 36% / /dev/sda1 99M 28M 67M 30% /boot /dev/sda5 2.0G 364M 1.5G 20% /var/log
What's also very odd is that I have roughly a dozen of these types of boxes and some of them report the full output on the web page but most don't.
Why would the text data be correct, but the web data be different or a sub-set? All the clients are getting their full data to the server. I haven't seen any errors on the server logs relating to specific clients.
Thoughts?
Thanks again...
Looking at your disk values, the df command you use is probably not correct. Xymon need values in Kbytes in order to graph them correctly. Second point is that you need to tell vdf to unsplit its output.
We use this vdf command(through sudo) on our ESX3-servers:
echo "[df]" sudo /usr/sbin/vdf -P | egrep -v "\/vmfs\/devices|none|tmpfs|shmfs|unknown|iso9660"
Dominique
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
The client isn't the problem here. The script is gathering the data correctly on all of my ESX hosts. The problem is that the server isn't displaying the datastore graphs for all the hosts, only some of them. This is odd since all of them are running the same script and are reporting the data the same.
Why would the server only process data for some hosts and not others?
Le Tue, 28 Apr 2009 13:16:03 -0500, "Hubbard, Greg L" <greg.hubbard at eds.com> a écrit :
At present Hobbit/Xymon has no concept of "users" or "user restrictions". I guess you can take it from here?
Well, thanks for this answer. Gonna forward the info to the concerned person.
Best regards,
LMJ
I would like to know if it's possible to provide a restricted view to my colleagues : for example only a couple of subpages. Is it possible ? Where I have to look ?
If you want true user separation: Since most of the things (e.g. the info column) are done with shared cgi's, this is hard to implement. You'd have to hack the CGI script to implement this kind of functionality.
If a predefined summary page of only a subset of hosts is what you want (so you don't mind that people could view information on hosts not on that page if they know the name), then you could take a look at 'BUILDING ALTERNATE PAGESETS' subsection of the bbgen manpage.
Joost
On Wed, 29 Apr 2009 09:33:38 +0200, <joost.deheer at getronics.com> wrote:
I would like to know if it's possible to provide a restricted view to my colleagues : for example only a couple of subpages. Is it possible ? Where I have to look ?
If you want true user separation: Since most of the things (e.g. the info column) are done with shared cgi's, this is hard to implement. You'd have to hack the CGI script to implement this kind of functionality.
If a predefined summary page of only a subset of hosts is what you want (so you don't mind that people could view information on hosts not on that page if they know the name), then you could take a look at 'BUILDING ALTERNATE PAGESETS' subsection of the bbgen manpage.
Thanks, I will definitely check on the Alternate pagesets if it could do the trick.
Best regards,
LMJ
participants (9)
-
bgmilne@staff.telkomsa.net
-
dominique.frise@unil.ch
-
greg.hubbard@eds.com
-
JMSmith@stvincenthealth.com
-
joost.deheer@getronics.com
-
linuxmasterjedi@free.fr
-
malcolm.hunter@gmx.co.uk
-
rpeters@columbia.com
-
storerr@nibco.com