[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Differences with bb/bbgen



Hi Henrik,

Henrik Stoerner wrote:

I recently migrated from bb with bbgen to Hobbit 4.02, but i found some differences between bb/bbgen and Hobbit. I don't know if this is by design or something has broken in the meantime.


Most likely I broke some things.



- The nodisp tag doesn't seem to work anymore. I use this to show some hosts on a differen pageset, but not on the main interface.


This has had a tumultuous migration from bbgen to Hobbit. At one point
it disappeared completely, and it seems I never got it correctly re-
implemented. Right now I cannot even remember why I took it out :-)

Fix at http://www.hswn.dk/hobbitsw/nodisp.patch

I had some time to spend after the migration yes, but I expected some extra work...
The patch works like a charm.


I actually can't find any reference to this (and also the dialup tag) in the man-pages. Perhaps something to add ? I at least think they're useful additions.


- The dialup tag (as a tag behind an entry, not as a separate entry) also doesn't work as i expected. With the bb/bbgen combination the cpu, disk, svcs and msgs tests on hosts with the dialup tag didn't go purple if fping was clear, but now it does. I worked around this with the NOPROPPURPLE tag, but i would rather see them also become clear.


That's a bug. It would work if the ping-column had gone red, but it
doesn't do that for "dialup" hosts.

Fix at http://www.hswn.dk/hobbitsw/dialup-notpurple.patch

This patch doesn't seem to work yet. I've tested it fully from green to puple.



I also found one small copy-paste error in the man-page of hobbit-alerts.cfg (and also the web-version) :

EXSERVICE=targetstring Rule excluding an alert by matching the hostname.

hostname should ofcourse be service.


Fixed, thanks for noticing.

Glad to help.


I'm also missing a netstat entry for Darwin (for creating the graphs). Perhaps this can be added too ? Ofcourse i can supply the output of this test on Darwin.


"netstat -s" - and "vmstat 2 10" - sample outputs would be nice. I suspect they are a lot like the BSD outputs.

netstat -s output is attached.
vmstat is not installed. I do however have vm_stat, but it looks entirely different, so it's probably not useful. It's attached anyway.



Thanks,

Sven
tcp:
	5175014 packets sent
		1185975 data packets (439551907 bytes)
		5 data packets (50 bytes) retransmitted
		0 resends initiated by MTU discovery
		1842702 ack-only packets (50491 delayed)
		0 URG only packets
		0 window probe packets
		808076 window update packets
		1338260 control packets
	8268298 packets received
		2915867 acks (for 440867496 bytes)
		555066 duplicate acks
		0 acks for unsent data
		5779251 packets (1152494359 bytes) received in-sequence
		76 completely duplicate packets (40868 bytes)
		0 old duplicate packets
		28 packets with some dup. data (2072 bytes duped)
		58 out-of-order packets (71584 bytes)
		1006 packets (1006 bytes) of data after window
		1006 window probes
		2109 window update packets
		6 packets received after close
		0 discarded for bad checksums
		0 discarded for bad header offset fields
		0 discarded because packet too short
	470551 connection requests
	425039 connection accepts
	6 bad connection attempts
	0 listen queue overflows
	895489 connections established (including accepts)
	895584 connections closed (including 9 drops)
		207 connections updated cached RTT on close
		207 connections updated cached RTT variance on close
		0 connections updated cached ssthresh on close
	69 embryonic connections dropped
	2902155 segments updated rtt (of 2678876 attempts)
	126 retransmit timeouts
		0 connections dropped by rexmit timeout
	0 persist timeouts
		0 connections dropped by persist timeout
	4660 keepalive timeouts
		0 keepalive probes sent
		2 connections dropped by keepalive
	41918 correct ACK header predictions
	4337350 correct data packet header predictions
udp:
	7939483 datagrams received
	0 with incomplete header
	0 with bad data length field
	0 with bad checksum
	799 dropped due to no socket
	4195233 broadcast/multicast datagrams dropped due to no socket
	1208 dropped due to full socket buffers
	0 not for hashed pcb
	3742243 delivered
	3726217 datagrams output
ip:
	16438990 total packets received
	0 bad header checksums
	0 with size smaller than minimum
	0 with data size < data length
	0 with ip length > max ip packet size
	0 with header length < data size
	0 with data length < header length
	0 with bad options
	0 with incorrect version number
	0 fragments received
	0 fragments dropped (dup or out of space)
	0 fragments dropped after timeout
	0 packets reassembled ok
	16245154 packets for this host
	136176 packets for unknown/unsupported protocol
	0 packets forwarded (0 packets fast forwarded)
	57660 packets not forwardable
	0 packets received for unknown multicast group
	0 redirects sent
	8972952 packets sent from this host
	0 packets sent with fabricated ip header
	0 output packets dropped due to no bufs, etc.
	5 output packets discarded due to no route
	0 output datagrams fragmented
	0 fragments created
	0 datagrams that can't be fragmented
	0 tunneling packets that can't find gif
	0 datagrams with bad address in header
icmp:
	798 calls to icmp_error
	0 errors not generated 'cuz old message was icmp
	Output histogram:
		echo reply: 37365
		destination unreachable: 798
	0 messages with bad code fields
	0 messages < minimum length
	0 bad checksums
	0 messages with bad length
	0 multicast echo requests ignored
	0 multicast timestamp requests ignored
	Input histogram:
		echo reply: 8
		destination unreachable: 2
		echo: 37365
		router advertisement: 10
	37365 message responses generated
	ICMP address mask responses are disabled
igmp:
	136164 messages received
	0 messages received with too few bytes
	0 messages received with bad checksum
	66530 membership queries received
	0 membership queries received with invalid field(s)
	69634 membership reports received
	0 membership reports received with invalid field(s)
	69634 membership reports received for groups to which we belong
	3902 membership reports sent
ipsec:
	0 inbound packets processed successfully
	0 inbound packets violated process security policy
	0 inbound packets with no SA available
	0 invalid inbound packets
	0 inbound packets failed due to insufficient memory
	0 inbound packets failed getting SPI
	0 inbound packets failed on AH replay check
	0 inbound packets failed on ESP replay check
	0 inbound packets considered authentic
	0 inbound packets failed on authentication
	0 outbound packets processed successfully
	0 outbound packets violated process security policy
	0 outbound packets with no SA available
	0 invalid outbound packets
	0 outbound packets failed due to insufficient memory
	0 outbound packets with no route
ip6:
	0 total packets received
	0 with size smaller than minimum
	0 with data size < data length
	0 with bad options
	0 with incorrect version number
	0 fragments received
	0 fragments dropped (dup or out of space)
	0 fragments dropped after timeout
	0 fragments that exceeded limit
	0 packets reassembled ok
	0 packets for this host
	0 packets forwarded
	0 packets not forwardable
	0 redirects sent
	2 packets sent from this host
	0 packets sent with fabricated ip header
	0 output packets dropped due to no bufs, etc.
	0 output packets discarded due to no route
	0 output datagrams fragmented
	0 fragments created
	0 datagrams that can't be fragmented
	0 packets that violated scope rules
	0 multicast packets which we don't join
	Mbuf statistics:
		0 one mbuf
		0 one ext mbuf
		0 two or more ext mbuf
	0 packets whose headers are not continuous
	0 tunneling packets that can't find gif
	0 packets discarded due to too may headers
	0 failures of source address selection
	0 forward cache hit
	0 forward cache miss
icmp6:
	0 calls to icmp_error
	0 errors not generated because old message was icmp error or so
	0 errors not generated because rate limitation
	Output histogram:
		multicast listener report: 2
	0 messages with bad code fields
	0 messages < minimum length
	0 bad checksums
	0 messages with bad length
	Histogram of error messages to be generated:
		0 no route
		0 administratively prohibited
		0 beyond scope
		0 address unreachable
		0 port unreachable
		0 packet too big
		0 time exceed transit
		0 time exceed reassembly
		0 erroneous header field
		0 unrecognized next header
		0 unrecognized option
		0 redirect
		0 unknown
	0 message responses generated
	0 messages with too many ND options
	0 messages with bad ND options
	0 bad neighbor solicitation messages
	0 bad neighbor advertisement messages
	0 bad router solicitation messages
	0 bad router advertisement messages
	0 bad redirect messages
	0 path MTU changes
ipsec6:
	0 inbound packets processed successfully
	0 inbound packets violated process security policy
	0 inbound packets with no SA available
	0 invalid inbound packets
	0 inbound packets failed due to insufficient memory
	0 inbound packets failed getting SPI
	0 inbound packets failed on AH replay check
	0 inbound packets failed on ESP replay check
	0 inbound packets considered authentic
	0 inbound packets failed on authentication
	0 outbound packets processed successfully
	0 outbound packets violated process security policy
	0 outbound packets with no SA available
	0 invalid outbound packets
	0 outbound packets failed due to insufficient memory
	0 outbound packets with no route
pfkey:
	0 requests sent to userland
	0 bytes sent to userland
	0 messages with invalid length field
	0 messages with invalid version field
	0 messages with invalid message type field
	0 messages too short
	0 messages with memory allocation failure
	0 messages with duplicate extension
	0 messages with invalid extension type
	0 messages with invalid sa type
	0 messages with invalid address extension
	0 requests sent from userland
	0 bytes sent from userland
	0 messages toward single socket
	0 messages toward all sockets
	0 messages toward registered sockets
	0 messages with memory allocation failure
Mach Virtual Memory Statistics: (page size of 4096 bytes)
Pages free:                    22750.
Pages active:                  20764.
Pages inactive:                43573.
Pages wired down:              11217.
"Translation faults":      214635631.
Pages copy-on-write:       367674549.
Pages zero filled:        1431336604.
Pages reactivated:            367906.
Pageins:                       48109.
Pageouts:                     256610.
Object cache: 40563058 hits of 43487488 lookups (-5% hit rate)