Skip to content

Commit

Permalink
Merge pull request #115 from ccztux/devel
Browse files Browse the repository at this point in the history
Release 2.2.5
  • Loading branch information
ccztux authored Dec 6, 2020
2 parents 23d7322 + fbbeefe commit f241817
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# Last Modification: Christian Zettel (ccztux)
# 2020-12-06
#
# Version 2.2.4
# Version 2.2.5
#
# Description: Makefile for the modpd NEB module
#
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ service nagios status
Check if the modpd NEB module was loaded by Nagios®:
```bash
[root@lab01]:~# grep -i modpd /usr/local/nagios/var/nagios.log
[1582272717] modpd: Copyright © 2017-2020 Christian Zettel (ccztux), all rights reserved, Version: 2.2.4
[1582272717] modpd: Copyright © 2017-2020 Christian Zettel (ccztux), all rights reserved, Version: 2.2.5
[1582272717] modpd: Starting...
[1582272717] Event broker module '/usr/local/nagios/include/modpd.o' initialized successfully.
```
Expand Down Expand Up @@ -297,7 +297,7 @@ Usage: modpd OPTIONS
Author: Christian Zettel (ccztux)
Last modification: 2020-12-06
Version: 2.2.4
Version: 2.2.5
Description: modpd (Monitoring Obsessing Data Processor Daemon)
Expand Down Expand Up @@ -327,7 +327,7 @@ OPTIONS:
# Last Modification: Christian Zettel (ccztux)
# 2020-12-06
#
# Version 2.2.4
# Version 2.2.5
#
# Description: Config file for modpd (Monitoring Obsessing Data Processor Daemon)
#
Expand Down Expand Up @@ -614,7 +614,7 @@ Stopping modpd [ OK ]
## modpd NEB module log snippet
```
[root@lab01]:~# grep -i modpd /usr/local/nagios/var/nagios.log
[1607079032] modpd: Copyright © 2017-2020 Christian Zettel (ccztux), all rights reserved, Version: 2.2.4
[1607079032] modpd: Copyright © 2017-2020 Christian Zettel (ccztux), all rights reserved, Version: 2.2.5
[1607079032] modpd: Starting...
[1607079032] Event broker module '/usr/local/nagios/include/modpd.o' initialized successfully.
[1607079332] modpd: The modpd NEB module is running 0d 0h 5m 0s
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.2.4
2.2.5
2 changes: 1 addition & 1 deletion etc/init.d/modpd
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# Last Modification: Christian Zettel (ccztux)
# 2020-12-06
#
# Version 2.2.4
# Version 2.2.5
#
# Description: init script for modpd (Monitoring Obsessing Data Processor Daemon)
#
Expand Down
2 changes: 1 addition & 1 deletion etc/logrotate.d/modpd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# Last Modification: Christian Zettel (ccztux)
# 2020-12-06
#
# Version 2.2.4
# Version 2.2.5
#
# Description: logrotate config file for modpd (Monitoring Obsessing Data Processor Daemon)
#
Expand Down
2 changes: 1 addition & 1 deletion etc/sysconfig/modpd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# Last Modification: Christian Zettel (ccztux)
# 2020-12-06
#
# Version 2.2.4
# Version 2.2.5
#
# Description: Config parameters for the init script of the modpd daemon
# (Monitoring Obsessing Data Processor Daemon)
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# Last Modification: Christian Zettel (ccztux)
# 2020-12-06
#
# Version 2.2.4
# Version 2.2.5
#
# Description: Makefile for the modpd NEB module
#
Expand Down
6 changes: 3 additions & 3 deletions src/modpd.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Last Modification: Christian Zettel (ccztux)
* 2020-12-06
*
* Version 2.2.4
* Version 2.2.5
*
* Description: NEB module to write obsessing data to unix socket
* Based on example: nagioscore/module/helloworld.c
Expand Down Expand Up @@ -83,12 +83,12 @@ int nebmodule_init(int flags, char *args, nebmodule *handle)
neb_set_module_info(modpd_module_handle, NEBMODULE_MODINFO_TITLE, "modpd");
neb_set_module_info(modpd_module_handle, NEBMODULE_MODINFO_AUTHOR, "Christian Zettel (ccztux)");
neb_set_module_info(modpd_module_handle, NEBMODULE_MODINFO_TITLE, "Copyright © 2017-2020 Christian Zettel (ccztux), all rights reserved");
neb_set_module_info(modpd_module_handle, NEBMODULE_MODINFO_VERSION, "2.2.4");
neb_set_module_info(modpd_module_handle, NEBMODULE_MODINFO_VERSION, "2.2.5");
neb_set_module_info(modpd_module_handle, NEBMODULE_MODINFO_LICENSE, "GPL v2");
neb_set_module_info(modpd_module_handle, NEBMODULE_MODINFO_DESC, "Obsessing NEB Module.");

/* log module info to the Nagios log file */
write_to_all_logs("modpd: Copyright © 2017-2020 Christian Zettel (ccztux), all rights reserved, Version: 2.2.4", NSLOG_INFO_MESSAGE);
write_to_all_logs("modpd: Copyright © 2017-2020 Christian Zettel (ccztux), all rights reserved, Version: 2.2.5", NSLOG_INFO_MESSAGE);

/* log a message to the Nagios log file */
snprintf(temp_buffer, sizeof(temp_buffer) - 1, "modpd: Starting...\n");
Expand Down
4 changes: 2 additions & 2 deletions usr/local/modpd/bin/modpd
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# Last Modification: Christian Zettel (ccztux)
# 2020-12-06
#
# Version 2.2.4
# Version 2.2.5
#
# Description: modpd (Monitoring Obsessing Data Processor Daemon)
#
Expand Down Expand Up @@ -1518,7 +1518,7 @@ _main()
script_pid="${$}"
script_argc="${#}"
script_name="${0##*/}"
script_version="2.2.4"
script_version="2.2.5"
script_author="Christian Zettel (ccztux)"
script_copyright="Copyright © 2017-2020 ${script_author}, all rights reserved"
script_project_website="https://github.com/ccztux/modpd"
Expand Down
2 changes: 1 addition & 1 deletion usr/local/modpd/etc/modpd.sample.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# Last Modification: Christian Zettel (ccztux)
# 2020-12-06
#
# Version 2.2.4
# Version 2.2.5
#
# Description: Config file for modpd (Monitoring Obsessing Data Processor Daemon)
#
Expand Down
Empty file removed usr/local/modpd/libexec/.gitkeep
Empty file.
2 changes: 1 addition & 1 deletion usr/local/modpd/libexec/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Here you can place your obsessing script like send_nrdp, send_nsca and so on...
In this directory you should place the client script of your choice (send_nrdp.php or send_nsca).

0 comments on commit f241817

Please sign in to comment.