You can edit the files directly, which are /etc/snmp/snmpd.conf and /etc/sipxpbx/mrtg/mrtg-t.cfg on your install.
Restart your snmpd: service snmpd restart Then, using sipXconfig interface, you need to unselect the target for the disk, save, then select again and save. This will regenerate the /etc/sipxpbx/mrtg/mrtg.cfg with the new changes. You might lose the changes if upgrading sipXecs or if running sipxecs-setup-system again; otherwise your good to go. - MM On Tue, Sep 29, 2009 at 2:36 AM, Nikolay Kondratyev <[email protected]> wrote: > Thanks for the info. > > But I suspect that this patch suits for changing source tree… And will not > work for the system installed from iso… > > Is it correct? > > > > So I should manually change > > /usr/bin/sipx-snmp-init, which creates /etc/snmp/snmpd.conf during startup > > And the second file I should change > > /etc/sipxpbx/mrtg/mrtg-t.cfg > > > > The above changes should correspond to the patch. Right? > > > > Thanks and regards, > > Nikolay. > > > > > > ________________________________ > > From: Carolyn Beeton [mailto:[email protected]] > Sent: Monday, September 28, 2009 9:12 PM > To: Nikolay Kondratyev; sipX developers > Subject: RE: [sipX-dev] 4.0.2 statistics: disk usage monitoring > > > > http://track.sipfoundry.org/browse/XX-5271 > > There is an old patch attached which would monitor / and /var (on some > systems they are the same partition, and then the patch does not work). > > > > Carolyn > > > > ________________________________ > > From: [email protected] > [mailto:[email protected]] On Behalf Of Nikolay > Kondratyev > Sent: Monday, September 28, 2009 12:37 PM > To: 'sipX developers' > Subject: [sipX-dev] 4.0.2 statistics: disk usage monitoring > > Hi all, > > I use 4.0.2 stable installed from iso. > > I found that “Diagnostics->Statistics->percentage disk usage” page only > monitors /root file system. > > But after installation from iso hard disk is partitioned as follows: > > [r...@sipx ~]# df -k > > Filesystem 1K-blocks Used Available Use% Mounted on > > /dev/sda2 6092388 1127132 4650784 20% / > > /dev/sda5 126456032 1564688 118364140 2% /var > > /dev/sda1 124427 11244 106759 10% /boot > > tmpfs 517516 0 517516 0% /dev/shm > > > > All actual data is stored in /var partition, I mean logs, backups, > voicemail, prompts, etc… > > It is /var, which must be monitored first of all… > > But I believe that all partitions (/root, /var, /boot) must be monitored…. I > think it is not too complicated to make appropriate mrtg config for that… > > > > Should I file an issue for this? > > Is there a workaround? I mean is there a way to configure sipxmrtg manually, > so that it’ll monitor all partitions? > > > > Thanks and regards, > > Nikolay. > > _______________________________________________ > sipx-dev mailing list [email protected] > List Archive: http://list.sipfoundry.org/archive/sipx-dev > Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev > sipXecs IP PBX -- http://www.sipfoundry.org/ > _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev sipXecs IP PBX -- http://www.sipfoundry.org/
