how to use check_mrtg for mod-gearman(private environment)
Posted: Fri Mar 15, 2019 5:53 am
Hi ,
we are using below plugin to monitor public network devices bandwidth.
1. check_mrtg
we are not able to add devices in monitoring which are in private environment using Nagiosxi wizard .As check_mrtg require *.rrd binary file to get data ,Please let us know how to create rrd file manually for devices which are in private environment(monitoring through mod-gearman).
Note:-currently we are using Mod-gearman worker to monitor devices in different private environment .
Thanks,
we are using below plugin to monitor public network devices bandwidth.
1. check_mrtg
we are not able to add devices in monitoring which are in private environment using Nagiosxi wizard .As check_mrtg require *.rrd binary file to get data ,Please let us know how to create rrd file manually for devices which are in private environment(monitoring through mod-gearman).
Note:-currently we are using Mod-gearman worker to monitor devices in different private environment .
Code: Select all
[nagios@monitoring ~]$ /usr/local/nagios/libexec/check_rrdtraf -f /var/lib/mrtg/[b]*.*.*.*.rrd[/b] -w 50.00,50.00 -c 80.00,80.00 -l M
OK - Current BW in: 4.64Mbps Out: 1.63Mbps|in=4.644943Mb/s;50.00;80.00 out=1.638407Mb/s;50.00;80.00