Für einen Noob gar nicht mal schlecht ;)
Und danke für den Beitrag im Monit How-To :)
Und danke für den Beitrag im Monit How-To :)
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu# grep -lr 82599 /usr/src/sys/
/usr/src/sys/conf/files
/usr/src/sys/modules/ixv/Makefile
/usr/src/sys/modules/ix/Makefile
/usr/src/sys/dev/ixgbe/ixgbe_common.c
/usr/src/sys/dev/ixgbe/ixgbe_api.h
/usr/src/sys/dev/ixgbe/ixgbe.h
/usr/src/sys/dev/ixgbe/if_ixv.c
/usr/src/sys/dev/ixgbe/ixgbe_phy.c
/usr/src/sys/dev/ixgbe/ixgbe_type.h
/usr/src/sys/dev/ixgbe/ixgbe_dcb.c
/usr/src/sys/dev/ixgbe/ixgbe_82599.c
/usr/src/sys/dev/ixgbe/ixgbe_dcb_82599.c
/usr/src/sys/dev/ixgbe/ix_txrx.c
/usr/src/sys/dev/ixgbe/if_ix.c
/usr/src/sys/dev/ixgbe/ixgbe_mbx.c
/usr/src/sys/dev/ixgbe/ixgbe_common.h
/usr/src/sys/dev/ixgbe/ixgbe_vf.c
/usr/src/sys/dev/ixgbe/ixgbe_api.c
/usr/src/sys/dev/ixgbe/ixgbe_dcb_82599.h
/usr/src/sys/dev/ixgbe/ixgbe_82599.hQuoteHARDWARE
The ixgbe driver supports the following cards:
o Intel(R) 10 Gigabit XF SR/AF Dual Port Server Adapter
o Intel(R) 10 Gigabit XF SR/LR Server Adapter
o Intel(R) 82598EB 10 Gigabit AF Network Connection
o Intel(R) 82598EB 10 Gigabit AT CX4 Network Connection
Quote from: circlenaut on April 09, 2018, 08:55:13 PM
Mail: Mailserver response error -- 553 Relaying disallowed as monit@subdomina.example.com
Quote from: elektroinside on February 12, 2018, 10:04:04 AMMonit is a monitoring software and the os-monit plugin is a UI to the Monit configuration.
Monit itself is a great plugin, but the OPNsense implementation has some inconsistencies IMO.
Let's start with this: if it cannot notify the user, the plugin is almost useless (I'm sorry if it sounds harsh).
Quote from: elektroinside on February 12, 2018, 10:04:04 AMAs you know it's already in progress.
1. The alerting (general settings) page has features specific to a general email client (like "Secure Connection"), but it cannot take hostnames, making it unusable with most public email servers.
Quote from: elektroinside on February 12, 2018, 10:04:04 AMThe OPNsense notification system has nothing to do with the os-monit plugin.
2. There is no easy way to select the OPNsense notification system. Once you have edited the Monit server settings (with plugin-validated settings - but inexistent email servers -> because of a misspelling for example), and you want to get back to the OPNsense notification system, according to https://forum.opnsense.org/index.php?topic=7103.msg32293#msg32293, you have to uninstall the plugin, export the entire OPNsense backup, edit the xml and delete the monit section, then import the backup. Just not practical and also dangerous.
#!/bin/csh
set MaxCPUTemp = 75
set NumCPUs = `sysctl -n kern.smp.cpus`
set CurrentCPU = 0
while ( $CurrentCPU < $NumCPUs )
set CPUTemp = `sysctl dev.cpu.$CurrentCPU.temperature | awk '{print $2}' | awk -F. '{print $1}'`
echo "CPU $CurrentCPU temp: $CPUTemp"
if ( $CPUTemp >= $MaxCPUTemp ) then
exit 1
endif
@ CurrentCPU = $CurrentCPU + 1
end
exit 0#!/bin/csh
set MaxLeaseCount = 500
set LeaseCount = `grep -c "binding state active" /var/dhcpd/var/db/dhcpd.leases`
echo "LeaseCount: $LeaseCount"
if ( $LeaseCount >= $MaxLeaseCount ) then
exit 1
endif
exit 0