Replaced a firewall, host is now throwing errors
Posted: Mon Apr 08, 2019 4:07 pm
From reading into this I suspect it is possible that there was an SSH key that was used on the previous firewall, these are Pfsense firewalls. I had re-uploaded the pfsense config and got the network back up. I am just lacking the knowledge or know how to restore the functionality of these service checks. If someone has any pointers it would be appreciated.
Here is the host config
These are the errors on the GUI:
I only had added a few **** in the host I copy dumped above to protect anonymity. These are not present on the actual host config.
CPU
Notifications for this service have been disabled
UNKNOWN 04-08-2019 15:53:29 13d 7h 59m 19s 3/3 Remote command execution failed: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Snort Blocked IP
Notifications for this service have been disabled
UNKNOWN 04-08-2019 15:53:45 13d 7h 57m 21s 3/3 Remote command execution failed: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
State Table
Notifications for this service have been disabled
UNKNOWN 04-08-2019 15:55:44 0d 0h 25m 1s 3/3 Remote command execution failed: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Uptime
Notifications for this service have been disabled
UNKNOWN 04-08-2019 15:57:42 0d 0h 23m 3s 3/3 Remote command execution failed: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
VPN To Genesis
Notifications for this service have been disabled
UNKNOWN 04-08-2019 15:59:41 0d 0h 21m 4s 3/3 Remote command execution failed: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
VPN To IND
Notifications for this service have been disabled
UNKNOWN 04-08-2019 15:51:29 0d 0h 29m 16s 3/3 Remote command execution failed: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
VPN To STL
Notifications for this service have been disabled
UNKNOWN 04-08-2019 15:53:48 13d 7h 57m 18s 3/3 Remote command execution failed: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Version
Notifications for this service have been disabled
UNKNOWN 04-08-2019 15:55:46 13d 7h 55m 20s 3/3 Remote command execution failed: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Here is the host config
Code: Select all
define host{
use generic-firewall
host_name CHI_FW
alias CHI_FW
address 172.16.9.1
parents CHC2MAIN
# hostgroups firewalls
}
define service{
use generic-service
host_name CHI_FW
service_description Version
check_command check_by_ssh!-H 172.16.9.1 -C "/usr/local/libexec/nagios/check_pf_version"
notifications_enabled 1
# hostgroups firewalls
}
define service{
use generic-service
host_name CHI_FW
service_description Uptime
check_command check_by_ssh!-H 172.16.9.1 -C "/usr/local/libexec/nagios/check_pf_uptime"
notifications_enabled 1
# hostgroups firewalls
}
define service{
use generic-service
host_name CHI_FW
service_description CPU
check_command check_by_ssh!-H 172.16.9.1 -C "/usr/local/libexec/nagios/check_pf_cpu -w 80 -c 95"
notifications_enabled 1
# hostgroups firewalls
}
define service{
use generic-service
host_name CHI_FW
service_description State Table
check_command check_by_ssh!-H 172.16.9.1 -C "sudo /usr/local/libexec/nagios/check_pf_state_table -w 60 -c 90"
notifications_enabled 1
# hostgroups firewalls
}
define service{
use generic-service
host_name CHI_FW
service_description VPN To Genesis
check_command check_by_ssh!-H 172.16.9.1 -C "sudo /usr/local/libexec/nagios/check_pf_ipsec_tunnel -e ***.**.108.179 -name zCOLO>Genesis"
notifications_enabled 1
# hostgroups firewalls
}
define service{
use generic-service
host_name CHI_FW
service_description VPN To IND
check_command check_by_ssh!-H 172.16.9.1 -C "sudo /usr/local/libexec/nagios/check_pf_ipsec_tunnel -e **.**.219.130 -name zCOLO>IND"
notifications_enabled 1
# hostgroups firewalls
}
define service{
use generic-service
host_name CHI_FW
service_description VPN To STL
check_command check_by_ssh!-H 172.16.9.1 -C "sudo /usr/local/libexec/nagios/check_pf_ipsec_tunnel -e **.***.119.74 -name zCOLO>STL"
notifications_enabled 1
# hostgroups firewalls
}
define service{
use generic-service
host_name CHI_FW
service_description Snort Blocked IP
check_command check_by_ssh!-H 172.16.9.1 -C "sudo pfctl -t snort2c -Ts"
notifications_enabled 1
# hostgroups firewalls
}
I only had added a few **** in the host I copy dumped above to protect anonymity. These are not present on the actual host config.
CPU
Notifications for this service have been disabled
UNKNOWN 04-08-2019 15:53:29 13d 7h 59m 19s 3/3 Remote command execution failed: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Snort Blocked IP
Notifications for this service have been disabled
UNKNOWN 04-08-2019 15:53:45 13d 7h 57m 21s 3/3 Remote command execution failed: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
State Table
Notifications for this service have been disabled
UNKNOWN 04-08-2019 15:55:44 0d 0h 25m 1s 3/3 Remote command execution failed: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Uptime
Notifications for this service have been disabled
UNKNOWN 04-08-2019 15:57:42 0d 0h 23m 3s 3/3 Remote command execution failed: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
VPN To Genesis
Notifications for this service have been disabled
UNKNOWN 04-08-2019 15:59:41 0d 0h 21m 4s 3/3 Remote command execution failed: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
VPN To IND
Notifications for this service have been disabled
UNKNOWN 04-08-2019 15:51:29 0d 0h 29m 16s 3/3 Remote command execution failed: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
VPN To STL
Notifications for this service have been disabled
UNKNOWN 04-08-2019 15:53:48 13d 7h 57m 18s 3/3 Remote command execution failed: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Version
Notifications for this service have been disabled
UNKNOWN 04-08-2019 15:55:46 13d 7h 55m 20s 3/3 Remote command execution failed: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@