Hi
the FreeBSD agent (using FreeBSD 6.1) crashes on the first "Agent active"
check.
The last line in the log is "JSON", obviously after creating the message to
send to the ZABBIX-Server.
I'll send the part of the logfile (DebugLevel=4) later - it's at home.
Passive checks (Agent) work fine modulo some well-known problems with proc.num[any process].
Regards
Norbert.
Content of logfile:
-----------------
3209:20080324:152343 Requested [system.cpu.load[,avg5]]
3209:20080324:152343 Sending back [0.207520]
3212:20080324:152343 In send_buffer('127.0.0.1','10051')
3212:20080324:152343 Values in the buffer 0 Max 100
3212:20080324:152343 Sleeping for 1 seconds
3212:20080324:152344 In send_buffer('127.0.0.1','10051')
3212:20080324:152344 Values in the buffer 0 Max 100
3212:20080324:152344 refresh_active_checks('127.0.0.1',10051)
3212:20080324:152344 Sending [{
"request":"active checks",
"host":"ZABBIXServer"}]
3212:20080324:152344 Before read
3212:20080324:152344 Got [{
"response":"success",
"data":[
{
"key":"vfs.fs.size[\/,pfree]",
"delay":"600",
"lastlogsize":"0"}]}]
3212:20080324:152344 In parse_list_of_checks() [{
"response":"success",
"data":[
{
"key":"vfs.fs.size[\/,pfree]",
"delay":"600",
"lastlogsize":"0"}]}]
3212:20080324:152344 In disable_all_metrics()
3212:20080324:152344 In add_check('vfs.fs.size[/,pfree]', 600, 0)
3212:20080324:152344 In process_active_checks('127.0.0.1',10051)
3212:20080324:152344 For key [vfs.fs.size[/,pfree]] received value [73.266046] 3212:20080324:152344 In process_value('ZABBIXServer','vfs.fs.size[/,pfree]','73.266046')
3212:20080324:152344 In send_buffer('127.0.0.1','10051')
3212:20080324:152344 Values in the buffer 0 Max 100
3212:20080324:152344 Buffer: first allocation for 100 elements
3212:20080324:152344 Buffer: new element 0
3212:20080324:152344 BUFFER
3212:20080324:152344 Host ZABBIXServer Key vfs.fs.size[/,pfree] Values 73.266046
3212:20080324:152344 In get_min_nextcheck()
3212:20080324:152344 Sleeping for 1 seconds
3212:20080324:152345 In send_buffer('127.0.0.1','10051')
3212:20080324:152345 Values in the buffer 1 Max 100
3212:20080324:152345 JSON before sending [{
"request":"sender data",
"clock":1206368625,
"data":[
{
"host":"ZABBIXServer",
"key":"vfs.fs.size[\/,pfree]",
"clock":1206368624,
"value":"73.266046"}]}]
3212:20080324:152346 JSON back []
3207:20080324:152346 One child process died. Exiting ...
3208:20080324:152346 Got signal. Exiting ...
3209:20080324:152346 Got signal. Exiting ...
3210:20080324:152346 Got signal. Exiting ...
3211:20080324:152346 Got signal. Exiting ...
3207:20080324:152346 zbx_on_exit() called.
3207:20080324:152348 ZABBIX Agent stopped
the FreeBSD agent (using FreeBSD 6.1) crashes on the first "Agent active"
check.
The last line in the log is "JSON", obviously after creating the message to
send to the ZABBIX-Server.
I'll send the part of the logfile (DebugLevel=4) later - it's at home.
Passive checks (Agent) work fine modulo some well-known problems with proc.num[any process].
Regards
Norbert.
Content of logfile:
-----------------
3209:20080324:152343 Requested [system.cpu.load[,avg5]]
3209:20080324:152343 Sending back [0.207520]
3212:20080324:152343 In send_buffer('127.0.0.1','10051')
3212:20080324:152343 Values in the buffer 0 Max 100
3212:20080324:152343 Sleeping for 1 seconds
3212:20080324:152344 In send_buffer('127.0.0.1','10051')
3212:20080324:152344 Values in the buffer 0 Max 100
3212:20080324:152344 refresh_active_checks('127.0.0.1',10051)
3212:20080324:152344 Sending [{
"request":"active checks",
"host":"ZABBIXServer"}]
3212:20080324:152344 Before read
3212:20080324:152344 Got [{
"response":"success",
"data":[
{
"key":"vfs.fs.size[\/,pfree]",
"delay":"600",
"lastlogsize":"0"}]}]
3212:20080324:152344 In parse_list_of_checks() [{
"response":"success",
"data":[
{
"key":"vfs.fs.size[\/,pfree]",
"delay":"600",
"lastlogsize":"0"}]}]
3212:20080324:152344 In disable_all_metrics()
3212:20080324:152344 In add_check('vfs.fs.size[/,pfree]', 600, 0)
3212:20080324:152344 In process_active_checks('127.0.0.1',10051)
3212:20080324:152344 For key [vfs.fs.size[/,pfree]] received value [73.266046] 3212:20080324:152344 In process_value('ZABBIXServer','vfs.fs.size[/,pfree]','73.266046')
3212:20080324:152344 In send_buffer('127.0.0.1','10051')
3212:20080324:152344 Values in the buffer 0 Max 100
3212:20080324:152344 Buffer: first allocation for 100 elements
3212:20080324:152344 Buffer: new element 0
3212:20080324:152344 BUFFER
3212:20080324:152344 Host ZABBIXServer Key vfs.fs.size[/,pfree] Values 73.266046
3212:20080324:152344 In get_min_nextcheck()
3212:20080324:152344 Sleeping for 1 seconds
3212:20080324:152345 In send_buffer('127.0.0.1','10051')
3212:20080324:152345 Values in the buffer 1 Max 100
3212:20080324:152345 JSON before sending [{
"request":"sender data",
"clock":1206368625,
"data":[
{
"host":"ZABBIXServer",
"key":"vfs.fs.size[\/,pfree]",
"clock":1206368624,
"value":"73.266046"}]}]
3212:20080324:152346 JSON back []
3207:20080324:152346 One child process died. Exiting ...
3208:20080324:152346 Got signal. Exiting ...
3209:20080324:152346 Got signal. Exiting ...
3210:20080324:152346 Got signal. Exiting ...
3211:20080324:152346 Got signal. Exiting ...
3207:20080324:152346 zbx_on_exit() called.
3207:20080324:152348 ZABBIX Agent stopped