How to Install Nagios NSClient++ Monitoring Agent on Windows System<\/a><\/li>\n<\/ol>\n\n\n\nTest the Plugins<\/h3>\n\n\n\n Once you are done with the installation of the Nagios agents on the hosts, run the commands below to verify that NRPE is executing plugins correctly.<\/p>\n\n\n\n
Linux Hosts<\/h4>\n\n\n\n For Linux Server, test for the load, logged in users, total running processes, swap by running the commands below.<\/p>\n\n\n\n
\/usr\/lib\/nagios\/plugins\/check_nrpe -H 192.168.43.63 -c check_load<\/code><\/pre>\n\n\n\nOK - load average per CPU: 0.00, 0.01, 0.03|load1=0.000;8.000;11.000;0; load5=0.015;7.500;10.000;0; load15=0.025;7.000;9.000;0;<\/code><\/pre>\n\n\n\n\/usr\/lib\/nagios\/plugins\/check_nrpe -H 192.168.43.63 -c check_users<\/code><\/pre>\n\n\n\nUSERS OK - 2 users currently logged in |users=2;5;10;0<\/code><\/pre>\n\n\n\n\/usr\/lib\/nagios\/plugins\/check_nrpe -H 192.168.43.63 -c check_swap <\/code><\/pre>\n\n\n\nSWAP OK - 100% free (1022 MB out of 1023 MB) |swap=1022MB;0;0;0;1023<\/code><\/pre>\n\n\n\n\/usr\/lib\/nagios\/plugins\/check_nrpe -H 192.168.43.63 -c check_procs<\/code><\/pre>\n\n\n\nPROCS OK: 113 processes | procs=113;300;400;0;<\/code><\/pre>\n\n\n\nWindows Hosts<\/h4>\n\n\n\n For Windows systems, run the tests as follows;<\/p>\n\n\n\n
\/usr\/lib\/nagios\/plugins\/check_nt -H 192.168.43.218 -p 12489 -s STRONGPASSWORD -v CPULOAD -l 5,80,90<\/code><\/pre>\n\n\n\nCPU Load 0% (5 min average) | '5 min avg Load'=0%;80;90;0;100<\/code><\/pre>\n\n\n\n\/usr\/lib\/nagios\/plugins\/check_nt -H 192.168.43.218 -p 12489 -s STRONGPASSWORD -v USEDDISKSPACE -l c -w 80 -c 90<\/code><\/pre>\n\n\n\nc:\\ - total: 34.08 Gb - used: 32.89 Gb (96%) - free 1.19 Gb (4%) | 'c:\\ Used Space'=32.89Gb;27.26;30.67;0.00;34.08<\/code><\/pre>\n\n\n\n\/usr\/lib\/nagios\/plugins\/check_nt -H 192.168.43.218 -p 12489 -s STRONGPASSWORD -v MEMUSE -w 80 -c 90 <\/code><\/pre>\n\n\n\nMemory usage: total:2047.57 MB - used: 1079.53 MB (53%) - free: 968.04 MB (47%) | 'Memory usage'=1079.53MB;1638.06;1842.81;0.00;2047.57<\/code><\/pre>\n\n\n\nPerfect, you are doing great.<\/p>\n\n\n\n
Restart Nagios on OSSIM<\/h3>\n\n\n\n Before you can restart Nagios, run the command below to check for any errors in the configuration files.<\/p>\n\n\n\n
If you encounter any error, fix it before you can restart Nagios.<\/p>\n\n\n\n
nagios3 -v \/etc\/nagios3\/nagios.cfg<\/code><\/pre>\n\n\n\nIf everything is okay, you should see the sample output below;<\/p>\n\n\n\n
...output cut...<\/strong>\n\nTotal Warnings: 0<\/strong>\nTotal Errors: 0<\/strong>\n\nThings look okay - No serious problems were detected during the pre-flight check<\/strong><\/code><\/pre>\n\n\n\nRun the command below to restart nagios service<\/p>\n\n\n\n
\/etc\/init.d\/nagios3 restart<\/code><\/pre>\n\n\n\nVerify Nagios Availability Monitoring on AlienVault USM\/OSSIM<\/h3>\n\n\n\n Login to AlienVault UI and navigate to Availability monitoring page to check the status of the hosts. After a few minutes, you should be able to see status of each host.<\/p>\n\n\n\n <\/figure>\n\n\n\nYou can click on the specific server to see service status details.<\/p>\n\n\n\n
Linux Server status details<\/p>\n\n\n\n <\/figure>\n\n\n\nWindows Server status details<\/p>\n\n\n\n <\/figure>\n\n\n\nPhew!!, that is all about how to configure availability monitoring on AlienVault USM or OSSIM using Nagios.<\/p>\n","protected":false},"excerpt":{"rendered":"
In this guide, we are going to learn how to configure availability Monitoring on AlienVault USM\/OSSIM using Nagios. AlienVault OSSIM is a feature-rich, open-source security<\/p>\n","protected":false},"author":1,"featured_media":16630,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[121,103,72,73],"tags":[104,6682,143,6683,75,6684],"class_list":["post-709","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","category-alienvault","category-monitoring","category-nagios","tag-alienvault","tag-alienvault-nagios-monitoring","tag-availability-monitoring","tag-linux-monitoring-using-nagios","tag-nagios","tag-windows-monitoring-using-nagios","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","resize-featured-image"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/709"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=709"}],"version-history":[{"count":24,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/709\/revisions"}],"predecessor-version":[{"id":20979,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/709\/revisions\/20979"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media\/16630"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=709"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=709"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}