Ad Widget

Collapse

system.uname truncated on FreeBSD?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SirDice
    Junior Member
    • Aug 2013
    • 5

    #1

    system.uname truncated on FreeBSD?

    It appears that the system.uname gets truncated on FreeBSD. My inventory shows:
    Code:
    FreeBSD w9.xxxx.xxx 9.1-RELEASE-p5 FreeBSD 9.1-RELEASE-p5 #0:
    When it should show:
    Code:
    FreeBSD w9.xxxx.xxx 9.1-RELEASE-p5 FreeBSD 9.1-RELEASE-p5 #0: Sat Jul 27 01:14:23 UTC 2013     [email protected]:/usr/obj/usr/src/sys/GENERIC  amd64
    (output of 'uname -a')

    Similarly if I create a UserParameter like so:
    Code:
    UserParameter=specOSshort,uname -r
    Only 9.1-RELEASE gets added instead of 9.1-RELEASE-p5.
  • SirDice
    Junior Member
    • Aug 2013
    • 5

    #2
    I forgot:
    Code:
     # zabbix_agentd -V
    Zabbix Agent (daemon) v2.0.6 (revision 35158) (22 April 2013)
    Compilation time: Aug  8 2013 09:22:55
    Oddly enough, after running during the weekend the UserParameter started showing the full text. Why this didn't happen the first few hours is beyond me.

    In any case, system.uname is still truncated.

    Comment

    Working...