Hello,

The bash works under Cent OS 5.9 x86 :

[root@xxx observium]# ./scripts/distro
CentOS 5.9

And under Debian Wheezy x86 :

root@xxx:/opt/observium# ./scripts/distro
Debian 7.1

Regards,

Le 05/08/2013 21:25, Adam Armstrong a écrit :
Hi All,

We're testing a new version of the old 'distro' script used to detect distribution.

Please run :

./scripts/os

From inside your observium directory on updated installation (you may need to chmod 755 it first).

I get:

root@alpha:/home/observium/dev# scripts/os
Linux|3.8.0-19-generic|amd64|Ubuntu|13.04
root@alpha:/home/observium/dev#

The final part is the distro release. Please reply to this post if your distro release is returned as empty.

The script might not return a distribution value for non-Linux OSes, this is normal. We're trying to make sure it can always ascertain the distro version and type.

Thanks,
adam.
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium